{"id":25983900,"url":"https://github.com/shubham-bendre/chat-with-multiple-pdfs","last_synced_at":"2026-04-20T06:34:05.689Z","repository":{"id":263961952,"uuid":"891922157","full_name":"Shubham-Bendre/Chat-with-multiple-pdfs","owner":"Shubham-Bendre","description":"Effortlessly interact with your PDF files using the power of Google Generative AI! This app enables users to upload PDF files, process them into a searchable format, and ask detailed questions based on the PDF content.","archived":false,"fork":false,"pushed_at":"2024-11-21T09:40:42.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T10:45:57.565Z","etag":null,"topics":["faiss-vector-database","gemini","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shubham-Bendre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-21T07:42:27.000Z","updated_at":"2025-02-20T21:17:47.000Z","dependencies_parsed_at":"2024-11-21T08:39:40.646Z","dependency_job_id":null,"html_url":"https://github.com/Shubham-Bendre/Chat-with-multiple-pdfs","commit_stats":null,"previous_names":["shubham-bendre/chat-with-multiple-pdfs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Shubham-Bendre/Chat-with-multiple-pdfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham-Bendre%2FChat-with-multiple-pdfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham-Bendre%2FChat-with-multiple-pdfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham-Bendre%2FChat-with-multiple-pdfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham-Bendre%2FChat-with-multiple-pdfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shubham-Bendre","download_url":"https://codeload.github.com/Shubham-Bendre/Chat-with-multiple-pdfs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham-Bendre%2FChat-with-multiple-pdfs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32036506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faiss-vector-database","gemini","streamlit"],"created_at":"2025-03-05T10:35:20.024Z","updated_at":"2026-04-20T06:34:05.673Z","avatar_url":"https://github.com/Shubham-Bendre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Chat with PDF using Gemini 💁\n\nEffortlessly interact with your PDF files using the power of **Google Generative AI**! This app enables users to upload PDF files, process them into a searchable format, and ask detailed questions based on the PDF content.\n\n---\n\n## 🚀 Features\n\n- 📄 **Upload Multiple PDFs**: Seamlessly process one or more PDF files.\n- 🧠 **AI-Powered QA**: Get answers to your questions based on the PDF content using **Gemini Pro**.\n- 🗂️ **FAISS Indexing**: Efficient text chunking and embedding storage for rapid responses.\n- 🔐 **Secure Access**: Integrated with environment variables for secure API key handling.\n\n---\n\n## 📂 File Structure\n\n- `main.py`: Core Streamlit app logic.\n- `requirements.txt`: All dependencies required for the project.\n- `.env`: Stores your `GOOGLE_API_KEY` for secure API access.\n- `faiss_index/`: Directory where FAISS indexing data is stored locally.\n\n---\n\n## 🤝 How It Works\n\n1. **Upload PDFs**: Drag and drop your PDF files in the sidebar.\n2. **Process PDFs**: Click on **Submit \u0026 Process** to extract text and create searchable embeddings.\n3. **Ask Questions**: Enter your query in the input box and get detailed responses powered by Gemini AI.\n\n---\n\n## 🧩 Key Technologies\n\n- **Streamlit**: Interactive and user-friendly web interface.\n- **PyPDF2**: Extracts text from PDF documents.\n- **LangChain**: Manages conversational chains and embeddings.\n- **Google Generative AI**: Provides embeddings and conversational capabilities.\n- **FAISS**: Fast and efficient similarity search.\n\n---\n\n## 💡 Usage Tips\n\n- For best results, ensure your PDF documents contain searchable text (scanned images may not work well).\n- Questions unrelated to the PDF context will result in: _\"Answer is not available in the context.\"_.\n\n---\n\n## 📸 Screenshots\n\n### 1️⃣ Main Task Window\n![Main Task Window](./screenshots/1.png)\n\n## 🚀 Usage\n\nTo run the **app.py**,  execute the following command in your terminal:\n\n```bash\nstreamlit run app.py\n```\n\n---\nFeel free to 🌟 star this repo if you find it helpful! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham-bendre%2Fchat-with-multiple-pdfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubham-bendre%2Fchat-with-multiple-pdfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham-bendre%2Fchat-with-multiple-pdfs/lists"}