About the Project

The project aims to build a multi-agent Retrieval Augmented Generation (RAG) system designed to answer questions about documents while minimizing hallucinations through a reflection pattern. The system processes uploaded documents and uses a multi-agent architecture to fact-check and verify the generated answers.

Architecture

The system is built using LangGraph and employs a workflow with the following agents:

The retrieval process involves converting PDF documents to Markdown using Docling and splitting the Markdown into semantic chunks usingĀ MarkdownHeaderTextSplitter. A hybrid retriever is then built using Chroma (for vector search) and BM25.

image.png

Achievement

Successfully implemented and integrated the following components:

Further Developement

Potential areas for further development include: