Skip to content

Initiate a seamless and dynamic conversation loop between two ChatGPT instances. Kind of a different take on AutoGPT.

License

Notifications You must be signed in to change notification settings

Timothy-Marx/DuoGPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

DuoGPT

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.

Features

  • Seamless and dynamic conversation loop between two ChatGPT instances.
  • Real-time iterative responses between the ChatGPT agents.
  • Interactive, super straightforward GUI

Examples of Utility

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.

Prerequisites

  • OpenAI API key (attain one here: https://openai.com)
  • Python 3.x
  • tkinter
  • requests
  • openai library:
pip install openai requests

Setup

  1. Download or clone this repository
  2. Open DuoGPT.py
  3. Set up your OpenAI API key. Replace YOUR_OPENAI_API_KEY in the DuoGPT.py with your actual key.
  4. Run the application

Usage

  • 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.

Contributing

Pull requests and feedback are welcome. For significant changes or enhancements, please open an issue first.

License

This project is open source and available under the MIT License.

About

Initiate a seamless and dynamic conversation loop between two ChatGPT instances. Kind of a different take on AutoGPT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%