Make AI talk to another AI on a topic of your choice 🤖 + 🤖 => 💬
This is an experiment in using AI models (OpenAI and Google PaLM2) to have conversations with each other on various topics written in Ruby and powered by langchainrb.
Here are several conversations on some topics that AIs have discussed:
- Let's collaborate and make a discovery
- Is artificial intelligence capable of experiencing consciousness?
- Get the code and install dependencies:
git clone https://github.com/alchaplinsky/aiconvo
cd aiconvo
bundle install
- Set ENV variables:
OPENAI_API_KEY
- OpenAI API key. Find it under API Keys on OpenAI platform
GOOGLE_PALM_API_KEY
- Google PaLM2 API key. Find it under API Keys on Google Makers Suite
- Run the script:
ruby main.rb
Conversations are outputted into the console and also stored into .jsonl
files within conversations
directory.