An advanced Retrieval Augmented Generation (RAG) application that allows users to upload multiple PDF documents and interact with them using natural language.
Built using LangChain, FAISS Vector Database, Sentence Transformers, Groq Llama 3, and Streamlit.
Try the Application: [https://ai-powered-rag-pdf-chatbot-fesbska7gdduc2ebns6dlk.streamlit.app/]
This project enables users to upload one or more PDF documents and ask questions about their contents. The application uses semantic search and vector embeddings to retrieve relevant information before generating context-aware responses using Groq Llama 3.
Unlike traditional keyword search, this chatbot understands the meaning of queries and retrieves the most relevant content from uploaded documents.
Upload and analyze multiple PDF documents simultaneously.
Retrieve information based on meaning rather than exact keywords.
Generate intelligent answers using a state-of-the-art Large Language Model.
Store and retrieve document embeddings efficiently.
Ask questions naturally and receive contextual answers.
View the document and page references used to generate answers.
Export conversations for future reference.
Modern UI with metrics, document tracking, and interactive components.
PDF Upload ↓ PDF Text Extraction ↓ Document Chunking ↓ Sentence Transformer Embeddings ↓ FAISS Vector Database ↓ Semantic Retrieval ↓ Groq Llama 3 ↓ Answer Generation
- Python
- LangChain
- Sentence Transformers
- Groq Llama 3
- FAISS
- Streamlit
- PyPDF
AI-Powered-RAG-PDF-Chatbot
├── app.py
├── requirements.txt
├── README.md
├── .gitignore
├── data/
└── utils/
├── chatbot.py
├── pdf_loader.py
└── vector_store.py
Clone the repository:
git clone https://github.com/ayushsankhyan/AI-Powered-RAG-PDF-Chatbot.gitMove into the project directory:
cd AI-Powered-RAG-PDF-ChatbotInstall dependencies:
pip install -r requirements.txtRun the application:
streamlit run app.py- Research Paper Analysis
- Resume Screening
- Job Description Comparison
- Academic Question Answering
- Business Document Analysis
- Technical Documentation Search
- Report Summarization
- PDF Preview Panel
- Voice-Based Question Answering
- Multi-Session Chat History
- OCR Support for Scanned PDFs
- Cloud Vector Database Integration
- Resume Analyzer Mode
Ayush Sankhyan
BE CSE (Hons) Artificial Intelligence & Machine Learning
Chandigarh University