lmcli is a (Large) Language Model CLI
Go to file
2023-11-14 04:33:24 +00:00
pkg/cli Renamed lmcli view to lmcli show 2023-11-14 02:10:37 +00:00
.gitignore Update .gitignore 2023-11-04 13:35:23 -06:00
go.mod Update go.mod to go 1.21 2023-11-13 06:33:47 +00:00
go.sum Add config file handling, get OpenAPI API key using it 2023-11-04 18:49:01 +00:00
main.go Project restructure 2023-11-04 13:35:23 -06:00
README.md Update README.md 2023-11-14 04:33:24 +00:00

lmcli

lmcli is a (Large) Language Model CLI.

Current features:

  • Perform one-shot prompts with lmcli prompt <message>
  • Manage persistent conversations with the new, reply, view, and rm sub-commands.

Planned features:

  • Ask questions about content received on stdin
  • "functions" to allow reading (and possibly writing) to local files

Maybe features:

  • Natural language image generation, iterative editing

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!