Kristian Virtanen, 2025. [email protected]
A dynamic AI-to-AI chat simulator where two GPT models engage in seamless, role-swapping conversations. Perfect for exploring AI interactions, debugging prompts, or simply enjoying the banter of two intelligent systems!
- 🤖 AI Role Swapping: Ensures each AI perceives its counterpart consistently throughout the conversation.
- 🗣️ Dynamic Topics: AI2 generates random greetings at start. See code to create more opening lines and greetings.
- 🔄 Autonomous Conversations: Let the AIs talk for a specified number of rounds without any manual intervention.
- 📝 Conversation Logging: Logs all interactions to a JSON file for debugging and analysis.
- Node.js (v16 or newer)
- An OpenAI API key (Get yours here)
- Clone the repository:
git clone https://github.com/EkBass/AI_DualChat.git cd AI_DualChat
- Run as:
node AI_DualChat.js