Back to Projects
RAG-based GenAI Systems
GenAI / LLMs202395% Hallucination Reduction

RAG-based GenAI Systems

Production RAG chatbots with 95% hallucination reduction.

About This Project

Led development of RAG-based GenAI systems at Darwinbox. Built production-ready chatbots with vector databases and LangChain, achieving 95% hallucination reduction. Integrated observability pipelines and real-time dashboards.

Technologies Used

PythonLangChainRAGVector DatabasesFastAPI

Technical Deep-Dive: RAG Pipeline & Hallucination Reduction

Achieved 95% hallucination reduction through:

  • Semantic chunking with overlap to preserve context boundaries
  • Hybrid retrieval combining dense vectors (embeddings) and sparse (BM25) for better recall
  • Re-ranking pipeline to prioritize most relevant chunks
  • Strict prompt engineering with context window management
  • Post-generation validation against source documents

The system integrates with enterprise knowledge bases and provides real-time observability through custom dashboards.