Upload any PDF and ask questions about it in plain English. Answers are generated using retrieval-augmented generation (RAG), grounded directly in the document's content rather than the model's general knowledge.
- Document ingestion — uploaded PDF is parsed and split into chunks
- Embedding — each chunk is converted into a vector embedding
- Retrieval — on a user query, the most relevant chunks are retrieved via similarity search using FAISS
- Generation — retrieved context is passed to an LLM, which generates an answer grounded in the document
- Python
- LangChain — orchestrates the RAG pipeline
- FAISS — vector similarity search
- Groq — LLM inference
pip install -r requirements.txt
python app.pyBuilt to understand how RAG pipelines work end-to-end — chunking strategy, embedding, retrieval, and grounded generation — rather than just calling an LLM API directly.