Multimodelselector / README.markdown
Ganesh Chintalapati
Add persistent chat history and context retention
e71d648
raw
history blame contribute delete
821 Bytes
# Multimodelselector
A Gradio-based chat application that allows querying multiple AI models (OpenAI, Anthropic, Gemini) with a ChatGPT-like interface, including persistent conversation history, context retention, and streaming responses (for OpenAI).
## Usage
- Open the Space URL in your browser.
- Select a provider (OpenAI, Anthropic, Gemini) from the dropdown.
- Type a query and click "Submit" to chat.
- Conversation history is preserved across queries, and OpenAI responses stream in real-time.
- Click "Clear History" to start a new conversation.
## Setup
- Set `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and `GEMINI_API_KEY` as secrets in Hugging Face Space settings.
- Runs on Python 3.8+ with dependencies listed in `requirements.txt`.
- Framework: Gradio