Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 Advanced RAG Chat with PDF Assistant

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.

✨ Features

  • 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

🛠️ Tech Stack

  • Python
  • Streamlit
  • LangChain
  • Google Gemini API
  • FAISS
  • Hugging Face Embeddings (all-MiniLM-L6-v2)
  • PyMuPDF
  • Git & GitHub

📸 Screenshots

🏠 Home Page

Home Page

💬 Chat Interface

Chat Interface

📂 Project Structure

advanced-rag-chat/
│── app.py
│── requirements.txt
│── README.md
│── config/
│── prompts/
│── src/
│── data/
└── logs/

🚀 Installation

Clone the repository:

git clone https://github.com/Abhilasha45/advanced-rag-chat-pdf.git

Move into the project directory:

cd advanced-rag-chat-pdf

Install dependencies:

pip install -r requirements.txt

Create a .env file and add your Google Gemini API key.

Run the application:

streamlit run app.py

🚀 Roadmap

  • PDF Upload
  • Semantic Search
  • Gemini Integration
  • Conversation History
  • PDF Summarization
  • Premium UI
  • FAISS Caching
  • Confidence Score
  • Multi-PDF Comparison

👩‍💻 Project By

Abhilasha Mishra

B.Tech in Computer Science & Engineering (Artificial Intelligence)

About

AI-powered Retrieval-Augmented Generation (RAG) application for intelligent PDF question answering using Streamlit, FAISS, Hugging Face Embeddings, and Google Gemini.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages