Skip to content

Meet AskMyPDF πŸ€– Chat AI App! πŸš€ Chat seamlessly with Multiple PDFs using Langchain, Google Gemini Pro & FAISS Vector DB with Seamless Streamlit Deployment. Get instant, accurate responses from Awesome Google Gemini OpenSource language Model. πŸ“šπŸ’¬ Transform your PDF experience now! πŸ”₯✨

Notifications You must be signed in to change notification settings

yashkusumkar02/AskMyPdf_Multi_PDF_ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š AskMyPDF - AI Chatbot πŸ€–

Chat Seamlessly with Multiple PDFs!

Transform how you interact with PDFs using Langchain, Google Gemini Pro, and FAISS Vector DB!
Upload multiple PDFs, extract insights, and chat with them in real-time. πŸš€βœ¨

πŸ”— Try the Demo on Streamlit!


πŸ“ About AskMyPDF

AskMyPDF is a Streamlit-powered AI chatbot that lets you upload multiple PDF files and engage in conversations with their content.
Using advanced AI models, it extracts, processes, and understands PDF data, providing instant and accurate responses to your questions.


🎯 How It Works

πŸ“Œ Step-by-Step Process

1️⃣ Upload PDFs – Drag and drop multiple PDF files into the app.
2️⃣ Text Extraction – The app extracts text from all uploaded files.
3️⃣ Text Chunking – Documents are divided into meaningful, searchable chunks.
4️⃣ AI Processing – Google's Gemini Pro generates vector embeddings.
5️⃣ Similarity Search – The app finds the most relevant text chunks.
6️⃣ Response Generation – AI formulates an intelligent response to your query!

πŸ–ΌοΈ Architecture Overview:
AskMyPDF Chatbot Diagram


πŸš€ Key Features

βœ… Multi-Document Conversational AI – Chat with multiple PDFs at once.
βœ… Supports PDF & TXT Files – Upload and process documents easily.
βœ… Smart Adaptive Chunking – Dynamic text segmentation for improved accuracy.
βœ… Powered by AI – Uses Google Gemini Pro, OpenAI GPT-3, Anthropic Claude, and Llama2.
βœ… Instant Answers – AI retrieves context-based answers from your PDFs.
βœ… Easy-to-Use Interface – A clean and responsive UI powered by Streamlit.

πŸ“Œ Example AI Output:
AskMyPDF Response


πŸ”§ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/YOUR_GITHUB_USERNAME/AskMyPDF.git
cd AskMyPDF

2️⃣ Install Required Dependencies

pip install -r requirements.txt

3️⃣ Set Up API Key

Get a Google API key from Google MakerSuite.
Create a .env file in the root directory and add:

GOOGLE_API_KEY=<your-api-key-here>

4️⃣ Run the Application

streamlit run app.py

πŸ’‘ How to Use

1️⃣ Launch the App – Run streamlit run app.py to start the chatbot.
2️⃣ Upload PDFs – Drag and drop multiple PDF files into the sidebar.
3️⃣ Process Files – Click "Process Documents" to extract and prepare data.
4️⃣ Ask Questions – Type your queries in the chatbox and get AI-powered responses.
5️⃣ Enjoy AI-Powered Insights! πŸš€

πŸ–ΌοΈ Example Conversation:
AskMyPDF Chat


πŸ“Œ Requirements

πŸ“¦ Dependency πŸ”Ή Purpose
Streamlit Web UI framework
Google Generative AI AI-powered responses
Langchain Conversational AI processing
FAISS Vector search for document retrieval
PyPDF2 Extract text from PDF files
python-dotenv Manage API keys securely

🎯 Demo & Deployment

Want to try AskMyPDF without setup? πŸš€

πŸ”— Try the Live App on Streamlit!


πŸ› οΈ Future Enhancements

πŸ”Ή Support for DOCX & PPTX files πŸ“„
πŸ”Ή Integration with Voice Assistants πŸŽ™οΈ
πŸ”Ή Advanced Summarization & Report Generation πŸ“Š


πŸ“œ License

This project is licensed under the MIT License. See LICENSE for details.


πŸš€ Connect with Me!

πŸ“Œ If you find this project useful, drop a ⭐ on GitHub!

GitHub
LinkedIn


πŸ”₯ Ready to Chat with Your PDFs? Try AskMyPDF Now! πŸš€

Let me know if you'd like any further customization! 😊

About

Meet AskMyPDF πŸ€– Chat AI App! πŸš€ Chat seamlessly with Multiple PDFs using Langchain, Google Gemini Pro & FAISS Vector DB with Seamless Streamlit Deployment. Get instant, accurate responses from Awesome Google Gemini OpenSource language Model. πŸ“šπŸ’¬ Transform your PDF experience now! πŸ”₯✨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages