Before replacing your LLM, take a closer look at your retrieval pipeline.
My work on enterprise RAG with LobeHub reinforced a lesson that I think is still underestimated: improving the model won't necessarily improve the information it receives.
Vector search works well for semantic similarity, but enterprise documents are full of product identifiers, internal terminology, error codes, and exact references.
Those aren't always handled well by semantic search alone.
Combining PostgreSQL full-text search with pgvector is one approach that can address both semantic and lexical retrieval without introducing another database into the infrastructure.
But retrieval quality also depends on chunking, ranking, document freshness, and access control.
Before spending more money on a stronger model, I would measure whether the correct information is actually reaching the existing one.
For anyone maintaining a production RAG system, where have you seen the biggest improvements: better embeddings, hybrid retrieval, reranking, or document preprocessing?






Comments
0 comments