This is an intelligent document chatbot built using Streamlit and LlamaIndex. The application allows users to upload documents and interact with them through a conversational AI interface, supporting multiple large language models.
-
🤖 Multi-LLM Support
- GPT-4o
- Claude Sonnet
- Gemini 1.5 Pro
- OpenAI Models
-
📄 Document Processing
- Upload and index PDF, TXT, and CSV files
- Intelligent document embedding
- Semantic search capabilities
-
💬 Interactive Chatbot
- Context-aware responses
- Model selection
- Chat history tracking
- Python 3.8+
- Streamlit
- LlamaIndex
- OpenAI API Key
- Anthropic API Key
- Google API Key
- The keys should be added in a file config.json with the below format: { "my_api": { "deepseek": "value", "openai": "value", "anthropic":"value", "google":"value" } }
- Clone the repository:
git clone https://github.com/chryd/Compare-LLMs.git
cd document-chatbot
pip3 install -r requirements.txt
streamlit run app.py