RAG Evaluation Pipeline
Implements a retrieval-augmented question answering system over PDF documents, featuring a custom evaluation harness for precise measurement of retrieval quality.
This project provides a comprehensive solution for retrieval-augmented question answering, specifically designed for PDF corpuses like research papers. Its core innovation is a from-scratch retrieval evaluation harness that meticulously measures metrics such as recall@k, hit-rate@k, and Mean Reciprocal Rank (MRR), offering deep insights into retrieval performance beyond mere answer generation. The pipeline leverages AWS S3 for document storage, Qdrant for vector indexing, and Amazon Bedrock for answer generation, all exposed via a FastAPI service, an MCP server as agent tools, and orchestrated as a LangGraph agent with a self-correction loop.