Skip to content
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

add bedrock system cross-region inference profiles #537

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/thick-spies-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/data-schema': minor
---

add bedrock system cross-region inference profiles
29 changes: 29 additions & 0 deletions packages/data-schema/src/ai/ModelType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,35 @@ const supportedModelsLookup = {
'Mistral Large': 'mistral.mistral-large-2402-v1:0',
'Mistral Large 2': 'mistral.mistral-large-2407-v1:0',
'Mistral Small': 'mistral.mistral-small-2402-v1:0',

// Cross-region inference profiles

// us-east-1 us-west-2
'US Anthropic Claude 3 Sonnet': 'us.anthropic.claude-3-sonnet-20240229-v1:0',
'US Anthropic Claude 3 Opus': 'us.anthropic.claude-3-opus-20240229-v1:0',
'US Anthropic Claude 3 Haiku': 'us.anthropic.claude-3-haiku-20240307-v1:0',

// us-east-1 us-east-2 us-west-2
'US Anthropic Claude 3.5 Sonnet': 'us.anthropic.claude-3-5-sonnet-20240620-v1:0',
'US Anthropic Claude 3.5 Haiku': 'us.anthropic.claude-3-5-haiku-20241022-v1:0',
'US Anthropic Claude 3.5 Sonnet v2': 'us.anthropic.claude-3-5-sonnet-20241022-v2:0',
'US Anthropic Claude 3.7 Sonnet': 'us.anthropic.claude-3-7-sonnet-20250219-v1:0',

// us-east-1 us-east-2 us-west-2
'US Nova Lite': 'us.amazon.nova-lite-v1:0',
'US Nova Pro': 'us.amazon.nova-pro-v1:0',
'US Nova Micro': 'us.amazon.nova-micro-v1:0',

// eu-central-1 eu-west-1 eu-west-3
'EU Anthropic Claude 3 Sonnet': 'eu.anthropic.claude-3-sonnet-20240229-v1:0',
'EU Anthropic Claude 3.5 Sonnet': 'eu.anthropic.claude-3-5-sonnet-20240620-v1:0',
'EU Anthropic Claude 3 Haiku': 'eu.anthropic.claude-3-haiku-20240307-v1:0',

// ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2
'APAC Anthropic Claude 3 Sonnet': 'apac.anthropic.claude-3-sonnet-20240229-v1:0',
'APAC Anthropic Claude 3.5 Sonnet': 'apac.anthropic.claude-3-5-sonnet-20240620-v1:0',
'APAC Anthropic Claude 3 Haiku': 'apac.anthropic.claude-3-haiku-20240307-v1:0',
'APAC Anthropic Claude 3.5 Sonnet v2': 'apac.anthropic.claude-3-5-sonnet-20241022-v2:0',
} as const;

export interface InferenceConfiguration {
Expand Down