Skip to content

Commit

Permalink
feat: DIA-1802: Anthropic support in Prompts (#407)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Nikita Belonogov <[email protected]>
Co-authored-by: Matt Bernstein <[email protected]>
  • Loading branch information
4 people authored Feb 6, 2025
1 parent 7328142 commit c539a97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2342,6 +2342,7 @@ types:
- AzureOpenAI
- VertexAI
- Gemini
- Anthropic
- Custom
inline: true
source:
Expand Down Expand Up @@ -2550,6 +2551,7 @@ types:
- AzureOpenAI
- VertexAI
- Gemini
- Anthropic
- Custom
inline: true
source:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import typing

ModelProviderConnectionProvider = typing.Union[
typing.Literal["OpenAI", "AzureOpenAI", "VertexAI", "Gemini", "Custom"], typing.Any
typing.Literal["OpenAI", "AzureOpenAI", "VertexAI", "Gemini", "Anthropic", "Custom"], typing.Any
]
2 changes: 1 addition & 1 deletion src/label_studio_sdk/types/prompt_version_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import typing

PromptVersionProvider = typing.Union[
typing.Literal["OpenAI", "AzureOpenAI", "VertexAI", "Gemini", "Custom"], typing.Any
typing.Literal["OpenAI", "AzureOpenAI", "VertexAI", "Gemini", "Anthropic", "Custom"], typing.Any
]

0 comments on commit c539a97

Please sign in to comment.