CmdID

CmdID / Commands

llm

Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Set up an OpenAI API Key

llm keys set openaiIdentify

Run a prompt

llm "Ten fun names for a pet pelican"Identify

Run a system prompt against a file

cat path/to/file.py | llm --system "Explain this code"Identify

Install packages from PyPI into the same environment as LLM

llm install package1 package2 ...Identify

Download and run a prompt against a model

llm --model orca-mini-3b-gguf2-q4_0 "What is the capital of France?"Identify

Create a system prompt and save it with a template name

llm --system 'You are a sentient cheesecake' --save sentient_cheesecakeIdentify

Have an interactive chat with a specific model using a specific template

llm chat --model chatgpt --template sentient_cheesecakeIdentify