Status: [UNTESTED] Endpoints found: http://localhost:8000/api/query http://localhost:8000/api/export Source: https://github.com/Mahreen-Ahmed/RAG-Model-for-pdfbased--answers # Grounded PDF RAG Platform > High-concurrency, strictly grounded Retrieval-Augmented Generation (RAG) system for PDF-based question answering — with expert review, live terminal logging, a full web UI, and a ChromaDB visual inspector. --- ## Features | Feature | Description | |---|---| | PDF Ingestion Pipeline | Upload PDFs via drag-and-drop; text is extracted, chunked, embedded & indexed automatically | | Strictly Grounded Q&A | Answers are sourced exclusively from uploaded PDFs — no hallucinations | | Page-Level Citations | Every answer includes exact source document + page number references | | Rich Terminal Logging | Color-coded, timestamped console output for every pipeline stage | | Expert Review System | Users can rate answers and escalate to an admin review queue | | ChromaDB Vector Store | Persistent 384-dimensional dense embeddings via offline semantic hashing | | Modern Web UI | Dark-mode glassmorphic Next.js frontend with real-time backend status | | ChromaDB Admin UI | Visual inspection of all vector collections at http://localhost:3434 | | Standalone Export | Export entire knowledge base (ChromaDB + SQLite + PDFs) as a portable .zip | | Multi-LLM Support | Supports OpenAI GPT-4o, Anthropic Claude, or fully offline extractive generation | --- ## Architecture ``` User (Browser) http://localhost:3001 (Next.js Frontend) | | REST API calls v FastAPI Backend (:8000) POST /api/upload --> PDFParser --> TextChunker --> VectorStore POST /api/query --> VectorStore.query --> RAGEngine GET /api/admin/reviews --> ReviewDB (SQLite) | | v v ChromaDB (:8001) SQLite Review DB pdf_knowledge_base (data/rag_app.db) ^ | Admin UI proxy chromadb-admin (:3434) ``` --- ## Project Structure ``` RAG-Model-for-pdfbased-answers/ | +-- api/ | +-- main.py # FastAPI app - all REST endpoints | +-- export_import.py