lmcli
is a (Large) Language Model CLI
Matt Low
9c9b8fa412
Renamed initialize functions from `Initialize*` to `New*`, return an error from them instead of using Fatal. |
||
---|---|---|
pkg/cli | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
lmcli
lmcli
is a (Large) Language Model (and maybe other types of models) CLI.
It currently allows you to perform one-shot prompts with lmcli prompt <message>
, and persisted conversations are underway.
Install
$ go install git.mlow.ca/mlow/lmcli@latest
Usage
Invoke lmcli
at least once:
$ lmcli help
Edit ~/.config/lmcli/config.yaml
and set openai.apiKey
to your API key.
Refer back to the output of lmcli help
for usage.
Enjoy!