Let two AI talks automatically.
A side project of Aoi
You can download aitalk from the GitHub release page. Alternatively, you can use Go to install aitalk on your system:
go install github.com/aitalk-app/aitalk@latestSet your OpenAI API key as an environment variable.
export OPENAI_API_KEY=<your_api_key>
# Set a custom OpenAI API host url if needed
export OPENAI_API_HOST=<your_custom_api_host_url>aitalk --topic "Is PHP the best programming language?" --role "A C++ programmer who think C++ is best" --role "A PHP programmer who believe PHP is best"# show supported languages
aitalk lang
# specify language
aitalk --lang {lang} --topic "Is PHP the best programming language?" --role "A C++ programmer who think C++ is best" --role "A PHP programmer who believe PHP is best"aitalk --topic "Will AI replace human?"If you want to manage your talks on https://ai-talk.app, you need to authenticate. Run the following command and open the displayed URL in your web browser:
aitalk authIf you skip this step now, you can run the above command later and all previously created talks will automatically get assigned to your profile.