--- title: Universal Document Intelligence Chatbot emoji: 📚 colorFrom: blue colorTo: purple sdk: streamlit sdk_version: 1.28.0 app_file: app.py pinned: false license: mit --- # 📚 Universal Document Intelligence Chatbot [![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B?style=for-the-badge&logo=streamlit&logoColor=white)](https://streamlit.io) [![HuggingFace](https://img.shields.io/badge/🤗-Hugging%20Face-yellow?style=for-the-badge)](https://huggingface.co) [![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge&logo=python)](https://python.org) A simple, private, and powerful chatbot that can answer your questions using both your own documents and the web. ## ✨ Features - **🔒 Runs locally**: Uses Hugging Face Transformers, so your data stays private - **⚡ Quick search**: Finds answers fast with Sentence Transformers and FAISS - **🧠 Smart routing**: Decides when to pull from your documents or from the web - **📄 Handles PDFs**: Upload PDFs and ask questions directly - **🌐 Stay up to date**: Can use web search for the latest information - **📦 No setup hassle**: Downloads models automatically the first time you use them ## 🚀 Quick Start ### Local Setup ```bash # Create a virtual environment python -m venv venv # Activate it (Windows) venv\Scripts\activate.bat # Activate it (Mac/Linux) source venv/bin/activate # Install dependencies pip install -r requirements.txt # Launch the app streamlit run app.py