Skip to content

Commit

Permalink
Update help for GPT-4o, closes #490
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 13, 2024
1 parent 73bbbec commit 8171c9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/openai-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instru
See [the OpenAI models documentation](https://platform.openai.com/docs/models) for details of each of these.
The best balance of price and capacity are the `-turbo` models. `gpt-3.5-turbo` (aliased to `3.5`) is the least expensive. `gpt-4-turbo-preview` (aliased to `4t`) is the cheapest of the GPT-4 models.
`gpt-3.5-turbo` (aliased to `3.5`) is the least expensive model. `gpt-4o` (aliased to `4o`) is the newest, cheapest and fastest of the GPT-4 family of models.
The `gpt-3.5-turbo-instruct` model is a little different - it is a completion model rather than a chat model, described in [the OpenAI completions documentation](https://platform.openai.com/docs/api-reference/completions/create).
Expand Down
6 changes: 3 additions & 3 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ To disable streaming and only return the response once it has completed:
```bash
llm 'Ten names for cheesecakes' --no-stream
```
To switch from ChatGPT 3.5 (the default) to GPT-4 Turbo:
To switch from ChatGPT 3.5 (the default) to GPT-4o:
```bash
llm 'Ten names for cheesecakes' -m gpt-4-turbo
llm 'Ten names for cheesecakes' -m gpt-4o
```
You can use `-m 4t` as an even shorter shortcut.

Expand Down Expand Up @@ -361,6 +361,6 @@ OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instru

When running a prompt you can pass the full model name or any of the aliases to the `-m/--model` option:
```bash
llm -m chatgpt-16k \
llm -m 4o \
'As many names for cheesecakes as you can think of, with detailed descriptions'
```

0 comments on commit 8171c9a

Please sign in to comment.