Skip to content

Commit

Permalink
Update prompts.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
sharanshirodkar7 committed Apr 23, 2024
1 parent 4d0f803 commit 84f3b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fern/docs/pages/models/prompts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { Callout } from "nextra-theme-docs";
<Callout type="info" emoji="ℹ️">
**Note on Chat model prompts** - For your convenience, we automatically apply
the right prompt formats when you supply a `messages` object to our
`/chat/completions` endpoint or via the `pg.Chat.create()` method in the
`/chat/completions` endpoint or via the `client.chat.completions.create()` method in the
Python client. You don't have to add in special tokens or apply the below
prompt formats as this will duplicate the formatting. However, if you want to
use chat-tuned models in the `/completions` endpoint or via the
`pg.Completions.create()` method, you should apply the appropriate one of the
`client.completions.create()` method, you should apply the appropriate one of the
below prompt formats.
</Callout>

Expand Down

0 comments on commit 84f3b63

Please sign in to comment.