llm/docs/index.md

41 lines
949 B
Markdown
Raw Normal View History

# LLM
2023-06-17 17:03:05 +00:00
[![PyPI](https://img.shields.io/pypi/v/llm.svg)](https://pypi.org/project/llm/)
[![Changelog](https://img.shields.io/github/v/release/simonw/llm?include_prereleases&label=changelog)](https://llm.datasette.io/en/stable/changelog.html)
[![Tests](https://github.com/simonw/llm/workflows/Test/badge.svg)](https://github.com/simonw/llm/actions?query=workflow%3ATest)
2023-07-03 20:11:33 +00:00
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm/blob/main/LICENSE)
2023-06-17 17:03:05 +00:00
A command-line utility for interacting with Large Language Models, such as OpenAI's GPT series.
2023-06-17 17:01:48 +00:00
## Quick start
2023-06-17 17:01:48 +00:00
```bash
# Install LLM
pip install llm
2023-06-17 17:01:48 +00:00
# Or use: brew install simonw/llm/llm
# Paste your OpenAI API key into this:
llm keys set openai
2023-06-17 17:01:48 +00:00
# Run a prompt
llm "Ten fun names for a pet pelican"
```
2023-06-17 17:01:48 +00:00
## Contents
```{toctree}
---
maxdepth: 3
---
setup
usage
python-api
2023-06-17 07:40:46 +00:00
templates
logging
2023-06-17 17:01:48 +00:00
plugins
2023-07-07 03:38:12 +00:00
tutorial-model-plugin
help
contributing
2023-06-16 08:06:30 +00:00
changelog
```