Skip to content

Commit 56c16de

Browse files
authored
Merge pull request #397 from drpebcak/mistral-provider
2 parents 1fe500f + f4e2c04 commit 56c16de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/docs/04-alternative-model-providers.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@
44

55
GPTScript can be used against alternative models that expose an OpenAI compatible API or have a provider shim available.
66

7-
To use a model with an OpenAI compatible API:
7+
### Using a model with an OpenAI compatible API
88

99
```gptscript
1010
model: mistral-large-latest from https://api.mistral.ai/v1
1111
1212
Say hello world
1313
```
1414

15-
To use a model that requires a provider shim:
15+
#### Note
16+
Mistral's La Plateforme has an OpenAI compatible API, but the model does not behave identically to gpt-4. For that reason, we also have a provider for it that might get better results in some cases.
1617

18+
19+
### Using a model that requires a provider
1720
```gptscript
1821
model: claude-3-haiku-20240307 from github.com/gptscript-ai/claude3-anthropic-provider
1922
@@ -40,6 +43,7 @@ The following shims are currently available:
4043
* [github.com/gptscript-ai/claude3-bedrock-provider](https://github.com/gptscript-ai/claude3-bedrock-provider)
4144
* [github.com/gptscript-ai/gemini-aistudio-provider](https://github.com/gptscript-ai/gemini-aistudio-provider)
4245
* [github.com/gptscript-ai/gemini-vertexai-provider](https://github.com/gptscript-ai/gemini-vertexai-provider)
46+
* [github.com/gptscript-ai/mistral-laplateforme-provider](https://github.com/gptscript-ai/mistral-laplateforme-provider)
4347

4448
## Listing available models
4549

0 commit comments

Comments
 (0)