Skip to content

chore: update docs to include info about mistral la-plateforme provider #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/docs/04-alternative-model-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@

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

To use a model with an OpenAI compatible API:
### Using a model with an OpenAI compatible API

```gptscript
model: mistral-large-latest from https://api.mistral.ai/v1

Say hello world
```

To use a model that requires a provider shim:
#### Note
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.


### Using a model that requires a provider
```gptscript
model: claude-3-haiku-20240307 from github.com/gptscript-ai/claude3-anthropic-provider

Expand All @@ -40,6 +43,7 @@ The following shims are currently available:
* [github.com/gptscript-ai/claude3-bedrock-provider](https://github.com/gptscript-ai/claude3-bedrock-provider)
* [github.com/gptscript-ai/gemini-aistudio-provider](https://github.com/gptscript-ai/gemini-aistudio-provider)
* [github.com/gptscript-ai/gemini-vertexai-provider](https://github.com/gptscript-ai/gemini-vertexai-provider)
* [github.com/gptscript-ai/mistral-laplateforme-provider](https://github.com/gptscript-ai/mistral-laplateforme-provider)

## Listing available models

Expand Down