An AI-powered Retrieval-Augmented Generation (RAG) application that allows users to upload PDF documents and interact with them through a conversational interface. The system retrieves relevant information from uploaded PDFs using semantic search and generates context-aware responses using Google Gemini.
- Upload and chat with PDF documents
- AI-powered question answering
- PDF summarization and short notes generation
- Semantic search using FAISS vector database
- Context-aware responses using Google Gemini
- Page-wise source citations
- Conversation history
- Interactive Streamlit interface
- Robust API error handling
- Python
- Streamlit
- LangChain
- Google Gemini API
- FAISS
- Hugging Face Embeddings (all-MiniLM-L6-v2)
- PyMuPDF
- Git & GitHub
advanced-rag-chat/
│── app.py
│── requirements.txt
│── README.md
│── config/
│── prompts/
│── src/
│── data/
└── logs/
Clone the repository:
git clone https://github.com/Abhilasha45/advanced-rag-chat-pdf.gitMove into the project directory:
cd advanced-rag-chat-pdfInstall dependencies:
pip install -r requirements.txtCreate a .env file and add your Google Gemini API key.
Run the application:
streamlit run app.py- PDF Upload
- Semantic Search
- Gemini Integration
- Conversation History
- PDF Summarization
- Premium UI
- FAISS Caching
- Confidence Score
- Multi-PDF Comparison
Abhilasha Mishra
B.Tech in Computer Science & Engineering (Artificial Intelligence)

