Skip to content

Commit

Permalink
docs: DOC-278: Add Anthropic to Prompts model list (#7117)
Browse files Browse the repository at this point in the history
Co-authored-by: caitlinwheeless <[email protected]>
  • Loading branch information
caitlinwheeless and caitlinwheeless authored Feb 24, 2025
1 parent 667432a commit e86a522
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/source/guide/prompts_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ There are two approaches to adding a model provider API key.
* OpenAI
* Vertex AI
* Gemini
* Anthropic

* In the second scenario, you add a separate API key per model. Examples include:

Expand Down Expand Up @@ -58,6 +59,14 @@ The JSON credentials are required. You can also optionally provide the project I

Once added, all supported models will appear in the base model drop-down when you [draft your prompt](prompts_draft).

## Anthropic API key

You can only have one Anthropic key per organization. This grants you access to set of whitelisted models. For a list of these models, see [Supported base models](prompts_overview#Supported-base-models).

For information on getting an Anthropic API key, see [Anthropic - Accessing the API](https://docs.anthropic.com/en/api/getting-started#accessing-the-api).

Once added, all supported models will appear in the base model drop-down when you [draft your prompt](prompts_draft).

## Azure OpenAI key

Each Azure OpenAI key is tied to a specific deployment, and each deployment comprises a single OpenAI model. So if you want to use multiple models through Azure, you will need to create a deployment for each model and then add each key to Label Studio.
Expand Down
3 changes: 2 additions & 1 deletion docs/source/guide/prompts_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ With Prompts, you can:

| Provider | Supported models |
| --- | --- |
| **OpenAI** | gpt-3.5-turbo-16k* <br>gpt-3.5-turbo* <br>gpt-4 <br>gpt-4-turbo <br>gpt-4o <br>gpt-4o-mini <br>o3-mini<br><br>**Note:** We recommend against using GPT 3.5 models, as these can sometimes be prone to rate limit errors and are not compatible with Image data. |
| **OpenAI** | gpt-3.5-turbo-16k* <br>gpt-3.5-turbo* <br>gpt-4 <br>gpt-4-turbo <br>gpt-4o <br>gpt-4o-mini <br>o3-mini <br>o1<br><br>**Note:** We recommend against using GPT 3.5 models, as these can sometimes be prone to rate limit errors and are not compatible with Image data. |
| **Gemini** | gemini-2.0-flash-exp <br>gemini-1.5-flash <br>gemini-1.5-flash-8b <br>gemini-1.5-pro |
| **Vertex AI** | gemini-2.0-flash-exp <br>gemini-1.5-flash <br>gemini-1.5-pro |
| **Anthropic** | claude-3-5-haiku <br>claude-3-5-sonnet |
| **Azure OpenAI** | [Azure OpenAI chat-based models](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) <br><br>**Note:** We recommend against using GPT 3.5 models, as these can sometimes be prone to rate limit errors and are not compatible with Image data. |
| **Custom** | [Custom LLM](prompts_create#Add-OpenAI-Azure-OpenAI-or-a-custom-model) |

Expand Down

0 comments on commit e86a522

Please sign in to comment.