AI and Deep Learning Community Question

What are the primary challenges when deploying Large Language Models for enterprise-scale RAG?

Posted on 2025-06-09 • In AI and Deep Learning • By Alice Henderson

We are building a Retrieval-Augmented Generation (RAG) system using LLMs to query our internal documentation. However, we are seeing high latency and occasional "hallucinations" where the model ignores the provided context. What are the best practices for chunking strategies and vector database selection to ensure we get high-accuracy, low-latency responses for our users?

3 Answers 17,589 Views

All answers to this question 3 Answers

Pamela Simmons Answered on 2025-06-12
Answered

Hallucinations in RAG usually stem from poor retrieval quality or the model's "temperature" being set too high. First, look at your chunking strategy; using a "Recursive Character Text Splitter" with an overlap of about 10-15% helps maintain context between chunks. Second, consider a "Re-ranking" step. After your vector database (like Pinecone or Milvus) returns the top results, use a smaller, faster model to re-score those documents for relevance before passing them to the LLM. This significantly reduces the noise and improves the overall accuracy of the final generated answer.

Daniel Ortiz Answered on 2025-06-15
Answered

Are you currently using a semantic cache to reduce latency for common queries, and what is your average retrieval time from the vector store?

Kevin Murphy Commented on 2025-06-18
Commented

Daniel, we just implemented Redis for caching, and it cut our response time in half for frequent HR policy questions. However, the retrieval time from the vector store is still around 200ms, which feels a bit sluggish. We are experimenting with different embedding models to see if a smaller vector dimension can speed things up without sacrificing too much semantic meaning.

Susan Gray Answered on 2025-06-20
Answered

Evaluation is the hardest part. I recommend using a framework like RAGAS to quantify your system's faithfulness and relevance. You can't improve what you don't measure.

Alice Henderson Commented on 2025-06-22
Commented

Totally agree, Susan. Using RAGAS helped us identify that our "context precision" was low, leading us to fix our metadata tagging, which made a world of difference.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.