2 releases
0.1.1 | Jun 19, 2024 |
---|---|
0.1.0 | Jun 19, 2024 |
#555 in Web programming
14KB
198 lines
Groq-Cli
Groq-Cli rewritten in Rust.
Downloads
- From crates.io:
cargo install groq-cli
- From releases (Binary File) click here
- Instructions to use the binary file is mentioned with the file
- Or build it yourself:
- Download the source code.
cd
into the directory- In your terminal run
cargo build && cargo install --path .
- Note: Building requires Rust to be installed and configured
Usage
- Run the cmd
gcli
after installing the package. - It will ask the Api key. (You can get the api key from GroqCloud after registering for free)
- After entering the Api Key, select the model in the later step.
Commands
gcli [-s | --setup | -h | --help]
-s | --setup
: Runs the setup config again to change the api key or model.-h | --help
: Runs the help command.
Just runninggcli
will prompt for user query
Dependencies
~6–17MB
~247K SLoC