command
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 28, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

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

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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.