mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-02 20:50:39 +00:00
1.4 KiB
1.4 KiB
LLM
A command-line utility for interacting with Large Language Models, such as OpenAI's GPT series.
Quick start
You'll need an OpenAI API key for this:
# Install LLM
pip install llm
# Or use: brew install simonw/llm/llm
# Paste your OpenAI API key into this:
llm keys set openai
# Run a prompt
llm "Ten fun names for a pet pelican"
# Run a system prompt against a file
cat myfile.py | llm -s "Explain this code"
You can also install plugins to access models by other providers, including models that can be installed and run on your own device.
Contents
---
maxdepth: 3
---
setup
usage
python-api
templates
logging
plugins/index
help
contributing
changelog