Skip to content

Multi-LLM Chat Playground is an interactive tool designed to compare responses from multiple Large Language Models (LLMs) in real time. Built using LiteLLM, this app provides a unified interface to interact with different AI models, making it easy to experiment with various prompts and understand model behaviors.

Notifications You must be signed in to change notification settings

Aish-p/Multi-LLM-Chat-Playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Multi-LLM-Chat-Playground

Welcome to the Multi-LLM Chat Playground! ๐ŸŽ‰ This interactive app lets you compare responses from multiple Large Language Models (LLMs) in real-time using LiteLLM โ€” a lightweight, unified API for interacting with different LLM providers.

โœจ Supported Models

  • GPT-4o
  • Claude 3.5 Sonnet
  • Cohere Command R Plus

Whether youโ€™re experimenting with creative prompts or exploring the models' different styles, this app provides a fun, easy way to see how each model handles the same input.

Why Use This? ๐Ÿค”

  • Instantly compare responses from GPT-4o, Claude 3.5 Sonnet, and Cohere Command R Plus.

  • Explore how different prompts shape model responses.

  • Test different types of prompts, from technical to creative.

  • Gain insights into how models interpret the same input differently.

Key Features

๐Ÿค– Multi-Model Comparison: Compare responses from multiple LLMs in real time.

๐Ÿ”ง Custom Prompts: Define your own prompts to tailor responses.

๐Ÿ‘€ Side-by-Side View: Instantly see how each model interprets and responds to the same input.

๐Ÿ”Œ Powered by LiteLLM: A simple, unified interface to access multiple LLMs with ease.

๐ŸŽจ Creative Experimentation: Test various prompts, from simple questions to creative tasks like writing poetry.

How It Works

  1. Enter your API Keys ๐Ÿ”‘

    Provide API keys for OpenAI, Anthropic, and Cohere to access the models.

  2. Test Your Prompts โœ๏ธ

    Enter a custom prompt or use the default one to see how it shapes the models' responses.

  3. Enter Your Message ๐Ÿ’ฌ

    Type a message or question youโ€™d like to send to all models.

  4. View Responses ๐Ÿ‘€

    See how each model responds side-by-side!

Getting Started

  1. Clone this repository.
  2. Install the required dependencies:
    pip install -r requirements.txt
    
  3. Start the app:
    streamlit run multi-llm-pg.py
    
  4. Begin experimenting and have fun! ๐ŸŽ‰

๐ŸŽฎ Demo

Hereโ€™s a quick look at how the Multi-LLM Chat Playground works!

Screenshots

Enter API Keys

Enter API Keys

Enter a Prompt & Message

Enter a Prompt & Message

๐ŸŒ Explore and Share!

Feel free to explore and test various creative prompts, compare model behaviors, and see how different instructions impact the outputs. Share your experiences and discoveries with the community! ๐Ÿš€

๐Ÿ“ Contributing:

Want to improve the app? Fork the repo, submit a PR, or open an issue. All contributions are welcome! ๐Ÿค

Happy experimenting! ๐ŸŽ‰โœจ

About

Multi-LLM Chat Playground is an interactive tool designed to compare responses from multiple Large Language Models (LLMs) in real time. Built using LiteLLM, this app provides a unified interface to interact with different AI models, making it easy to experiment with various prompts and understand model behaviors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages