Skip to content

michalswi/ai2ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai2ai

GO app to chat with ChatGPT (OpenAI) and Grok (X) simultaneously.

# run

You need API keys for both ChatGPT and Grok:

export API_KEY=<api_key> \
export XAI_API_KEY=<api_key>

There are two options to run app:

> interactive discussion with AI models
$ go run .

> automatic discussion between AI models
$ go run . -auto

Using env variable AI_TURNS (default set to 3) you can limit the number of responses from the AI models (limit the discussion itself).

# example

example

About

dual-model AI chat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published