Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🤖 AI-Powered Multi-Document Chatbot

An AI-powered chatbot that allows users to upload multiple PDF documents and ask questions based on their content. The system uses LangChain, Large Language Models (LLMs), and Retrieval-Augmented Generation (RAG) to provide accurate, context-aware responses.


🚀 Features

  • 📄 Upload and process multiple PDF documents
  • 🤖 Ask questions and get intelligent answers
  • 🧠 Context-aware responses using LLMs
  • 🔍 Efficient document retrieval using embeddings
  • 💬 Interactive chatbot interface
  • ⚡ Fast and scalable architecture

🛠️ Tech Stack

  • Programming Language: Python
  • Frameworks & Libraries: LangChain, OpenAI / HuggingFace
  • Concepts Used:
    • Generative AI
    • Large Language Models (LLMs)
    • Retrieval-Augmented Generation (RAG)
    • Text Embeddings
  • Frontend (if applicable): HTML, CSS, JavaScript
  • Version Control: Git, GitHub

AI-Powered-Multi-Document-Chatbot/ │── app.py │── requirements.txt │── templates/ │── static/ │── pdfs/ │── utils/



⚙️ Installation & Setup

1️⃣ Clone the repository

https://github.com/Bhumika805/AI-Powered-Multi-Document-Chatbot.git
cd AI-Powered-Multi-Document-Chatbot
2️⃣ Create virtual environment
python -m venv venv
source venv/bin/activate   # for Linux/Mac
venv\Scripts\activate      # for Windows
3️⃣ Install dependencies
pip install -r requirements.txt
4️⃣ Add API Key

Create a .env file and add your API key:

OPENAI_API_KEY=your_api_key_here
5️⃣ Run the application
python app.py
📸 Screenshots

Add screenshots of your project here (UI, chatbot interaction, etc.)

🧠 How It Works

Upload PDF documents

Text is extracted and split into chunks

Embeddings are created for each chunk

Relevant chunks are retrieved based on user query

LLM generates accurate answers using retrieved context

🎯 Use Cases

📚 Document analysis

🏢 Business reports Q&A

🎓 Study material assistance

📄 Resume or research paper analysis

📌 Future Improvements

Add chat history memory

Improve UI/UX

Support more file formats (Word, TXT)

Deploy on cloud (AWS/Azure)

👩‍💻 Author

Bhumika Sharma

Aspiring AI Developer

Skilled in Generative AI, LangChain, and Machine Learning

⭐ Acknowledgements

This project is inspired by open-source contributions and learning resources from the AI community.

## 📂 Project Structure

About

AI-powered chatbot that processes multiple PDFs and answers user queries using LangChain and Retrieval-Augmented Generation (RAG).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages