Initiate seamless and dynamic conversations between two ChatGPT instances! DuoGPT is a simple yet powerful GUI application built in Python that facilitates dynamic conversations between two instances of OpenAI's ChatGPT. Experience the unique interplay of two AI conversationalists as they interact and build upon each other's responses.
- Seamless and dynamic conversation loop between two ChatGPT instances.
- Real-time iterative responses between the ChatGPT agents.
- Interactive, super straightforward GUI
Having two ChatGPT instances communicate can be transformative:
- Brainstorming: One instance introduces an idea, and the other expands upon it, allowing for rapid ideation.
- Debate Simulation: The instances can present opposing viewpoints, helping to explore multifaceted arguments.
- Quality Assurance: One instance produces content, while the other critiques or edits it, ensuring optimal output.
- Role-playing: In gaming or storytelling, instances can adopt characters, crafting rich narratives.
- Learning and Tutoring: One poses as a student, the other as a tutor, crafting an interactive Q&A.
- Problem Solving: With complex issues, two agents collaboratively dissect and address challenges.
- OpenAI API key (attain one here: https://openai.com)
- Python 3.x
- tkinter
- requests
- openai library:
pip install openai requests
- Download or clone this repository
- Open DuoGPT.py
- Set up your OpenAI API key. Replace
YOUR_OPENAI_API_KEY
in the DuoGPT.py with your actual key. - Run the application
- Launch the application using the command above.
- Type your prompt into the text field at the top of the GUI. DuoGPT works best by assigning it a multi-step objective.
- Press "Start" to send your prompt and initiate conversation.
- Via the GUI, witness the real-time conversation between the ChatGPT agents.
- Whenever you'd like to intervene, conclude with "Stop".
- Click "Save" if youd like to save a conversation as a .txt file to your computer.
Pull requests and feedback are welcome. For significant changes or enhancements, please open an issue first.
This project is open source and available under the MIT License.