/Chat_Bot

ChatOrbit is a Streamlit-powered AI chatbot that allows users to interact with multiple cutting-edge language models including Gemini 2.0, DeepSeek R1, Meta-LLaMA 3.1, and Mixtral-8x7B from Together AI. Users can switch between models in real-time, ask questions, and get high-quality answers through a clean and interactive UI.

Primary LanguagePythonMIT LicenseMIT

๐Ÿ’ฌ ChatOrbit

ChatOrbit is a versatile and interactive AI chatbot built with Streamlit. It enables users to chat with various powerful large language models (LLMs) โ€” including Gemini 2.0, DeepSeek R1, Meta-LLaMA 3.1, and Mixtral-8x7B โ€” all from one clean interface. Choose your preferred model, ask anything, and get smart, fast answers.


๐Ÿš€ Features

  • ๐Ÿง  Multi-Model Support: Switch between Gemini and Together AI models seamlessly.
  • ๐Ÿ’ฌ Chat History: Preserves chat messages per session.
  • ๐Ÿ” Reset Chat: Clear the conversation with a single click.
  • ๐ŸŽจ Streamlit UI: Clean, reactive UI built with Streamlit for simplicity and speed.
  • โš™๏ธ Async Execution: Uses asyncio for efficient handling of AI requests.

๐Ÿ› ๏ธ Tech Stack

  • Python 3.10+
  • Streamlit
  • AsyncOpenAI wrapper
  • Together AI & Gemini API
  • Dotenv for API key management

๐Ÿ”‘ Requirements

Make sure you have the following API keys:

  • GEMINI_API_KEY โ€“ for accessing Gemini models
  • AI_TOGETHER_API_KEY โ€“ for accessing Together AI models

Create a .env file in the root directory:

`env GEMINI_API_KEY=your_gemini_api_key AI_TOGETHER_API_KEY=your_together_ai_key

๐Ÿงช Models Included Model Name Provider Description Gemini 2.0 Flash Google Gemini Fast, general-purpose model DeepSeek R1 Together AI LLaMA-based distillation Meta-LLaMA 3.1 8B Together AI Instruction-tuned Meta model Mixtral-8x7B Instruct Together AI Sparse mixture-of-experts model

๐Ÿท๏ธ Topics streamlit chatbot llm openai together-ai gemini-api python conversational-ai asyncio

๐Ÿ“„ License MIT License ยฉ 2025 [MuhammadUsmanGM]

๐Ÿ™Œ Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what youโ€™d like to change.

๐Ÿ“ธ Model Output Screenshots

๐Ÿค– Gemini 2.0 Output

Gemini Output

๐Ÿ” DeepSeek R1 Output

DeepSeek Output

๐Ÿฆ™ Meta-LLaMA 3.1 Output

Meta-Llama Output

๐Ÿ”€ Mixtral-8x7B Output

Mixtral Output