RhythrosaLabs / DuoGPT

A versatile application that integrates OpenAI's GPT models and DALL-E for enhanced conversations, automated content creation, and graphic design. This app is designed to facilitate various team-based and solo tasks, leveraging AI capabilities to assist in development, marketing, business strategy, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

A versatile application that integrates OpenAI's GPT models and DALL-E for enhanced conversations, automated content creation, and graphic design. This app is designed to facilitate various team-based and solo tasks, leveraging AI capabilities to assist in development, marketing, business strategy, and more.

License:MIT License


Languages

Language:Python 100.0%