Promote alternative model providers in llm --help

This commit is contained in:
Simon Willison 2024-11-06 06:38:53 -08:00
parent 3352eb9f57
commit 98d2c19876
2 changed files with 14 additions and 4 deletions

View file

@ -41,11 +41,16 @@ cog.out(all_help(cli))
```
Usage: llm [OPTIONS] COMMAND [ARGS]...
Access large language models from the command-line
Access Large Language Models from the command-line
Documentation: https://llm.datasette.io/
To get started, obtain an OpenAI key and set it like this:
LLM can run models from many different providers. Consult the plugin directory
for a list of available models:
https://llm.datasette.io/en/stable/plugins/directory.html
To get started with OpenAI, obtain an API key from them and:
$ llm keys set openai
Enter key: ...

View file

@ -121,11 +121,16 @@ def _validate_metadata_json(ctx, param, value):
@click.version_option()
def cli():
"""
Access large language models from the command-line
Access Large Language Models from the command-line
Documentation: https://llm.datasette.io/
To get started, obtain an OpenAI key and set it like this:
LLM can run models from many different providers. Consult the
plugin directory for a list of available models:
https://llm.datasette.io/en/stable/plugins/directory.html
To get started with OpenAI, obtain an API key from them and:
\b
$ llm keys set openai