/go-llm

A CLI tool for quickly interacting with various LLMs

Primary LanguageGo

Go LLM

A CLI tool for quickly interacting with various LLMs

Note: This project was heavily inspired by Simon Willison's blog post and project.

Installation

go install github.com/bcdxn/go-llm
llm -v
# 1.0.0-rc.1

Installing Plugins

llm install openai

You can list the plugins that you have installed and see which one is currently in use:

llm list plugins

You can list the supported models available to you after installing plugins:

llm list models

Using Models

You can select the model to use:

llm use gpt-3.5-turbo

Send a prompt to the model

llm 'hello there'
# Hi! how can I help you today?

Start an interactive session

llm
>