Skip to content

chrys/Compare-LLMs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document Chatbot with LlamaIndex

Overview

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.

Features

  • 🤖 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

Prerequisites

  • 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" } }

Installation

  1. Clone the repository:
git clone https://github.com/chryd/Compare-LLMs.git
cd document-chatbot
pip3 install -r requirements.txt
streamlit run app.py 

About

A simple way to compare LLMs on your own data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages