A beginner-friendly AI chatbot that allows users to upload a PDF and ask questions about its content using a Retrieval-Augmented Generation (RAG) approach.
- Upload a PDF and ask questions
- Extracts text from PDFs
- Uses embeddings and FAISS for document retrieval
- Generates answers using an LLM
- Simple UI built with Streamlit
- Python
- Streamlit
- LangChain
- FAISS
- OpenAI API
- Install dependencies
- Add your OpenAI API key in a
.envfile - Run:
streamlit run app.py