0.0.46 • Published 9 months ago

@ai-sdk/mistral v0.0.46

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

AI SDK - Mistral Provider

The Mistral provider for the AI SDK contains language model support for the Mistral chat API.

Setup

The Mistral provider is available in the @ai-sdk/mistral module. You can install it with

npm i @ai-sdk/mistral

Provider Instance

You can import the default provider instance mistral from @ai-sdk/mistral:

import { mistral } from '@ai-sdk/mistral';

Example

import { mistral } from '@ai-sdk/mistral';
import { generateText } from 'ai';

const { text } = await generateText({
  model: mistral('mistral-large-latest'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});

Documentation

Please check out the Mistral provider for more information.

0.0.46

9 months ago

0.0.44

9 months ago

0.0.43

9 months ago

0.0.42

10 months ago

0.0.40

10 months ago

0.0.41

10 months ago

0.0.39

10 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

12 months ago

0.0.24

12 months ago

0.0.25

12 months ago

0.0.37

11 months ago

0.0.15

1 year ago

0.0.38

11 months ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.30

11 months ago

0.0.31

11 months ago

0.0.32

11 months ago

0.0.33

11 months ago

0.0.34

11 months ago

0.0.12

1 year ago

0.0.35

11 months ago

0.0.13

1 year ago

0.0.36

11 months ago

0.0.14

1 year ago

0.0.26

12 months ago

0.0.27

11 months ago

0.0.28

11 months ago

0.0.29

11 months ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.5

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.4

1 year ago

0.0.1

1 year ago

0.0.2

1 year ago

0.0.0

1 year ago