A simple GO CLI tool using GROQ API and Charm.sh libraries
go mod tidy
go run .
OR use the binary in the repo
OR go build .
-
Rename .env.example to .env and configure the values
-
OR configure GROQ_API_KEY, GROQ_MODEL and GROQ_MODELS env variables
-
For windows:
grog-cli.exe
groq-cli.exe -f File.md # reads the prompt from the file
groq-cli.exe -A -f File.md # uses all the available models (GROQ_MODELS env var) and saves the responses to a file