{"id":25267342,"url":"https://github.com/fantasy-python-guru/document-buddy-app","last_synced_at":"2026-05-10T05:04:06.762Z","repository":{"id":277027684,"uuid":"931118343","full_name":"fantasy-python-guru/Document-Buddy-App","owner":"fantasy-python-guru","description":"Built using Open Source Stack (Llama 3.2 Model, BGE Embeddings, and Qdrant running locally within a Docker Container)","archived":false,"fork":false,"pushed_at":"2025-02-11T18:42:57.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T18:53:07.050Z","etag":null,"topics":["ai","bgee","docker","llama"],"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/fantasy-python-guru.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}},"created_at":"2025-02-11T18:41:56.000Z","updated_at":"2025-02-11T18:44:16.000Z","dependencies_parsed_at":"2025-02-11T19:03:33.021Z","dependency_job_id":null,"html_url":"https://github.com/fantasy-python-guru/Document-Buddy-App","commit_stats":null,"previous_names":["fantasy-python-guru/document-buddy-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasy-python-guru%2FDocument-Buddy-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasy-python-guru%2FDocument-Buddy-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasy-python-guru%2FDocument-Buddy-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasy-python-guru%2FDocument-Buddy-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fantasy-python-guru","download_url":"https://codeload.github.com/fantasy-python-guru/Document-Buddy-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247428677,"owners_count":20937522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","bgee","docker","llama"],"created_at":"2025-02-12T09:26:42.166Z","updated_at":"2026-05-10T05:04:06.661Z","avatar_url":"https://github.com/fantasy-python-guru.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 Document Buddy App\n\n![Document Buddy App](sct.png)\n\n**Document Buddy App** is a powerful Streamlit-based application designed to simplify document management. Upload your PDF documents, create embeddings for efficient retrieval, and interact with your documents through an intelligent chatbot interface. 🚀\n\n## 🛠️ Features\n\n- **📂 Upload Documents**: Easily upload and preview your PDF documents within the app.\n- **🧠 Create Embeddings**: Generate embeddings for your documents to enable efficient search and retrieval.\n- **🤖 Chatbot Interface**: Interact with your documents using a smart chatbot that leverages the created embeddings.\n- **📧 Contact**: Get in touch with the developer or contribute to the project on GitHub.\n- **🌟 User-Friendly Interface**: Enjoy a sleek and intuitive UI with emojis and responsive design for enhanced user experience.\n\n## 🖥️ Tech Stack\n\nThe Document Buddy App leverages a combination of cutting-edge technologies to deliver a seamless and efficient user experience. Here's a breakdown of the technologies and tools used:\n\n- **[LangChain](https://langchain.readthedocs.io/)**: Utilized as the orchestration framework to manage the flow between different components, including embeddings creation, vector storage, and chatbot interactions.\n  \n- **[Unstructured](https://github.com/Unstructured-IO/unstructured)**: Employed for robust PDF processing, enabling the extraction and preprocessing of text from uploaded PDF documents.\n  \n- **[BGE Embeddings from HuggingFace](https://huggingface.co/BAAI/bge-small-en)**: Used to generate high-quality embeddings for the processed documents, facilitating effective semantic search and retrieval.\n  \n- **[Qdrant](https://qdrant.tech/)**: A vector database running locally via Docker, responsible for storing and managing the generated embeddings for fast and scalable retrieval.\n  \n- **[LLaMA 3.2 via Ollama](https://ollama.com/)**: Integrated as the local language model to power the chatbot, providing intelligent and context-aware responses based on the document embeddings.\n  \n- **[Streamlit](https://streamlit.io/)**: The core framework for building the interactive web application, offering an intuitive interface for users to upload documents, create embeddings, and interact with the chatbot.\n\n## 📁 Directory Structure\n\ndocument_buddy_app/\n```\n│── logo.png\n├── new.py\n├── vectors.py\n├── chatbot.py\n├── requirements.txt\n```\n\n## 🚀 Getting Started\n\nFollow these instructions to set up and run the Document Buddy App on your local machine.\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/AIAnytime/Document-Buddy-App.git\ncd Document-Buddy-App\n\n2. Create a Virtual Environment\n\nYou can either use Python’s venv or Anaconda to create a virtual environment for managing dependencies.\n\nOption 1: Using venv\n\nOn Windows:\n\npython -m venv venv\nvenv\\Scripts\\activate\n\nOn macOS and Linux:\n\npython3 -m venv venv\nsource venv/bin/activate\n\nOption 2: Using Anaconda\n\nFollow these steps to create a virtual environment using Anaconda:\n\n\t1.\tOpen the Anaconda Prompt.\n\t2.\tCreate a new environment:\n\nconda create --name document_buddy python=3.9\n\n(Replace document_buddy with your preferred environment name if desired).\n\n\t3.\tActivate the newly created environment:\n\nconda activate document_buddy\n\n\n\n3. Install Dependencies\n\nOnce the environment is set up (whether venv or Conda), install the required dependencies using requirements.txt:\n\npip install -r requirements.txt\n\n4. Run the App\n\nStart the Streamlit app using the following command:\n\nstreamlit run new.py\n\nNote: If your main application file is named differently, replace new.py with your actual file name (e.g., app.py).\n\nThis command will launch the app in your default web browser. If it doesn’t open automatically, navigate to the URL provided in the terminal (usually http://localhost:8501).\n```\n\n### 🤝 Contributing\n\nContributions are welcome! Whether it’s reporting a bug, suggesting a feature, or submitting a pull request, your input is highly appreciated. Follow these steps to contribute:\n\n1.\tFork the Repository: Click on the “Fork” button at the top-right corner of the repository page.\n2.\tClone Your Fork\n3.\tCreate a New Branch:\n\n```\ngit checkout -b feature/YourFeatureName\n```\n\n\n4.\tMake Your Changes: Implement your feature or fix.\n5.\tCommit Your Changes:\n\n```\ngit commit -m \"Add Your Feature Description\"\n```\n\n\n6.\tPush to Your Fork:\n\n```\ngit push origin feature/YourFeatureName\n```\n\n\n7.\tCreate a Pull Request: Navigate to the original repository and create a pull request from your fork.\n\n### 📄 License\n\nThis project is licensed under the MIT License.\n\n### 📫 Contact\n\n•\tEmail: aianytime07@gmail.com ✉️\n\nFeel free to reach out for any queries, suggestions, or contributions. Your feedback is invaluable!\n\n© 2024 Document Buddy App by AI Anytime. All rights reserved. 🛡️\n\n### 🔗 Useful Links\n\n\n•\tStreamlit Documentation: https://docs.streamlit.io/\n\n•\tLangChain Documentation: https://langchain.readthedocs.io/\n\n•\tQdrant Documentation: https://qdrant.tech/documentation/\n\n•\tChatOllama Documentation: https://github.com/langchain-ai/langchain-llms#ollama\n\nHappy coding! 🚀✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasy-python-guru%2Fdocument-buddy-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantasy-python-guru%2Fdocument-buddy-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasy-python-guru%2Fdocument-buddy-app/lists"}