Skip to content

chavdim/gollm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

GoLLM

Cli wrapper for LLM apis. (currently only supports openAIs chat API)

t-rec_1

Notes

  • Expects OpenAIs api key to be set as an environment variable OPENAI_API_KEY. see https://platform.openai.com/account/api-keys
  • Model, token limits and interactions limits are currently hardcoded. respectively 1000, 100
    • Interactions are currently limited for safety. (loops and billed apis are a scary combination)

Installation

homebrew

brew install chavdim/taps/gollm   

go

go get github.com/chavdim/gollm

Setup

  • If no config file exists gollm will ask you to run the config.
  • Choose the model to be used and a persona if you want to choose one.
  • Configs are stored in a file ~/.gollm_config.json.

Usage

start chat

gollm

redo config

gollm -clean

start chat with question

gollm how to assign a variable in golang

gollm "hello can you tell when will AI overtake humans in intelligence?"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages