File size: 1,494 Bytes
0789a7f
01728c5
 
 
 
 
 
 
0789a7f
8879e07
0789a7f
 
01728c5
0789a7f
01728c5
 
 
0789a7f
01728c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
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