ulasdilek/gpt_claude_dialogue
10
GPT-3.5 Turbo and Claude-v1.3 Dialogue
This app uses the OpenAI API and the Anthropic API to generate responses between the two AI models. The user can type in a context and see GPT-3.5 Turbo and Claude-v1.3 have a generated conversation with each other.
Enjoy the chaos! Let me know if you have any issues running the app.
To run this app locally:
- Clone this repository
- Install the requirements:
pip install -r requirements.txt- Obtain API keys for:
- OpenAI's API
- Anthropic's API
- Add the API keys to a file called
.envwith the variables:
OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
CLAUDE_API_KEY="YOUR_CLAUDE_API_KEY" - Run the gradio app:
gradio run app.py- The gradio app will launch in your browser. Type a context to start a conversation between GPT-3.5 Turbo and Claude-v1.3!
- To close the app, stop the process in your terminal.
