mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-26 09:20:25 +00:00
40 lines
949 B
Markdown
40 lines
949 B
Markdown
# LLM
|
|
|
|
[](https://pypi.org/project/llm/)
|
|
[](https://llm.datasette.io/en/stable/changelog.html)
|
|
[](https://github.com/simonw/llm/actions?query=workflow%3ATest)
|
|
[](https://github.com/simonw/llm/blob/main/LICENSE)
|
|
|
|
A command-line utility for interacting with Large Language Models, such as OpenAI's GPT series.
|
|
|
|
## Quick start
|
|
|
|
```bash
|
|
# 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"
|
|
```
|
|
|
|
## Contents
|
|
|
|
```{toctree}
|
|
---
|
|
maxdepth: 3
|
|
---
|
|
setup
|
|
usage
|
|
python-api
|
|
templates
|
|
logging
|
|
plugins
|
|
tutorial-model-plugin
|
|
help
|
|
contributing
|
|
changelog
|
|
```
|