gollm

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: MIT Imports: 5 Imported by: 0

README

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 GPT3.5, 500, 5
    • Interactions are currently limited to 5 for safety. (loops and billed apis are a scary combination)

Installation

homebrew

brew install chavdim/taps/gollm   

go

go get github.com/chavdim/gollm

Usage

start chat

gollm

start chat with question

gollm how to assign a variable in golang

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL