Skip to content

Commit

Permalink
docs: add documentation for mistral/chat (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Jul 11, 2024
1 parent e4ce0c5 commit de1368c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions website/docs/administration/model.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,14 @@ model_name = "deepseek-chat"
api_endpoint = "https://api.deepseek.com/v1"
api_key = "secret-api-key"
```

#### [mistral / codestral](https://docs.mistral.ai/api/#operation/createFIMCompletion) (since 0.14)

Configure the `mistral/codestral` model as follows:

```toml
[model.completion.http]
kind = "mistral/chat"
api_endpoint = "https://api.mistral.ai"
api_key = "secret-api-key"
```

0 comments on commit de1368c

Please sign in to comment.