Retrieval-Augmented Generation system for intelligent document Q & A. We're implementing 3 different approaches using a shared backend interface. React + TypeScript for frontend, Python at the backend for retrieval, orchestration, and LLM-based answer generation.
Build a document Q&A system that:
- supports document upload and querying,
- compares multiple retrieval strategies fairly,
- returns grounded answers with citations,
- and provides an evaluation area for benchmarking retrieval quality.
frontend/— React + TypeScript user interfacebackend/— Python backend and integrated RAG pipelinevector_retrieval/— vector retrieval research and implementationkeyword_retrieval/— keyword/BM25 retrieval research & implementationclara_retrieval/— CLaRa retrieval research and implementationshared_data/— shared schemas, prompts, evaluation assets, API contracts, and docs
User → Frontend → Backend API → Retrieval Method → Top-k Chunks → LLM Generation → Answer + Citations
- React
- TypeScript
- Vite
- Axios
- Tailwind / Material UI
- Python
- FastAPI
- SentenceTransformers
- FAISS or ChromaDB
- BM25
- OpenAI API or another LLM
This repository is structured to support both independent team development and final system integration.