A Streamlit app that lets you upload a PDF and ask natural language questions about its content. It uses LangChain, OpenAI, and Qdrant to provide accurate answers based solely on the uploaded document.
- Upload and parse PDFs
- Split PDF text into smart chunks
- Embed and store content using Qdrant
- Ask context-aware questions powered by GPT-4
- Answers grounded in the uploaded PDF only
- Streamlit β Interactive Web UI
- LangChain β Text splitting, Vector store handling, QA chain
- OpenAI β Embeddings + LLM (GPT-4)
- Qdrant β High-performance vector database
- PyMuPDF (
fitz) β PDF parsing and text extraction
Install the dependencies using pip:
pip install -r requirements.txt