lmcli is a (Large) Language Model CLI
Go to file
Matt Low b87c3ffc53 Implement `lmcli view [conversation]` with completions
Separate out logic to retrieve a message's "friendly" role (System,
User, Assistant)
2023-11-12 23:33:16 +00:00
pkg/cli Implement `lmcli view [conversation]` with completions 2023-11-12 23:33:16 +00:00
.gitignore Update .gitignore 2023-11-04 13:35:23 -06:00
README.md Add README.md 2023-11-05 09:22:09 +00:00
go.mod Add config file handling, get OpenAPI API key using it 2023-11-04 18:49:01 +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

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!