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 {{[-s|--system]}} "{{Explain this code}}"

llm install {{package1 package2 ...}}

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

llm {{[-s|--system]}} '{{You are a sentient cheesecake}}' --save {{sentient_cheesecake}}

llm chat {{[-m|--model]}} {{chatgpt}} {{[-t|--template]}} {{sentient_cheesecake}}