Skip to content

Commit

Permalink
Docs for completion prompts, closes #284
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Sep 19, 2023
1 parent b4ec54e commit bb99186
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ Some models support options. You can pass these using `-o/--option name value` -
llm 'Ten names for cheesecakes' -o temperature 1.5
```

(usage-completion-prompts)=
## Completion prompts

Some models are completion models - rather than being tuned to respond to chat style prompts, they are designed to complete a sentence or paragraph.

An example of this is the `gpt-3.5-turbo-instruct` OpenAI model.

You can prompt that model the same way as the chat models, but be aware that the prompt format that works best is likely to differ.

```bash
llm -m gpt-3.5-turbo-instruct 'Reasons to tame a wild beaver:'
```

(conversation)=
## Continuing a conversation

Expand Down

0 comments on commit bb99186

Please sign in to comment.