Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Dec 29, 2023
1 parent d2c2cc9 commit 0fa709b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/integration/model-provider/mistral.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const embeddings = await embedMany(

#### Text prompt

[MistralPrompt.text()](/api/namespaces/MistralPrompt) lets you use basic text prompts with Mistral text generation models. It is available as a shorthand method:
[MistralChatprompt.text()](/api/namespaces/MistralChatprompt) lets you use basic text prompts with Mistral text generation models. It is available as a shorthand method:

```ts
const textStream = await streamText(
Expand All @@ -118,7 +118,7 @@ const textStream = await streamText(

#### Instruction prompt

[MistralPrompt.instruction()](/api/namespaces/MistralPrompt) lets you use [instruction prompts](/api/interfaces/InstructionPrompt) with Mistral text generation models. It is available as a shorthand method:
[MistralChatprompt.instruction()](/api/namespaces/MistralChatprompt) lets you use [instruction prompts](/api/interfaces/InstructionPrompt) with Mistral text generation models. It is available as a shorthand method:

```ts
const textStream = await streamText(
Expand All @@ -136,7 +136,7 @@ const textStream = await streamText(

#### Chat prompt

[MistralPrompt.chat()](/api/namespaces/MistralPrompt) lets you use [chat prompts](/api/interfaces/ChatPrompt) with Mistral text generation models. It is available as a shorthand method:
[MistralChatprompt.chat()](/api/namespaces/MistralChatprompt) lets you use [chat prompts](/api/interfaces/ChatPrompt) with Mistral text generation models. It is available as a shorthand method:

```ts
const textStream = await streamText(
Expand Down

1 comment on commit 0fa709b

@vercel
Copy link

@vercel vercel bot commented on 0fa709b Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.