llm Command Examples

Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine. More information: https://llm.datasette.io/en/stable/help.html.

llm keys set openai

llm "{{Ten fun names for a pet pelican}}"

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

llm install {{package1 package2 ...}}

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

llm --system '{{You are a sentient cheesecake}}' --save {{sentient_cheesecake}}

llm chat --model {{chatgpt}} --template {{sentient_cheesecake}}