Skip to content

Logonotobscurity/aitalk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Talk CLI

中文说明

Let two AI talks automatically.

A side project of Aoi

Install

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@latest

Set 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>

Usage

To create a talk with two AI automatically

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"

Use a different language

# 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"

To create a talk with AI interactively

aitalk --topic "Will AI replace human?"

Manage your talks (optional)

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 auth

If you skip this step now, you can run the above command later and all previously created talks will automatically get assigned to your profile.

About

AI Talk CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%