Skip to content

Commit

Permalink
Add Claude CRI on APAC
Browse files Browse the repository at this point in the history
  • Loading branch information
watany-dev committed Nov 6, 2024
1 parent acdb8d8 commit a3d902e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/DEPLOY_OPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ PromptFlow チャットユースケースでは、作成済みの Prompt Flow
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
"eu.anthropic.claude-3-sonnet-20240229-v1:0",
"eu.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-sonnet-20240229-v1:0",
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0",
"us.meta.llama3-2-90b-instruct-v1:0",
"us.meta.llama3-2-11b-instruct-v1:0",
```
Expand All @@ -395,6 +398,9 @@ PromptFlow チャットユースケースでは、作成済みの Prompt Flow
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
"eu.anthropic.claude-3-sonnet-20240229-v1:0",
"eu.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-sonnet-20240229-v1:0",
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0",
"us.meta.llama3-2-90b-instruct-v1:0",
"us.meta.llama3-2-11b-instruct-v1:0",
]
Expand Down Expand Up @@ -426,6 +432,9 @@ PromptFlow チャットユースケースでは、作成済みの Prompt Flow
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
"eu.anthropic.claude-3-sonnet-20240229-v1:0",
"eu.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-haiku-20240307-v1:0",
"apac.anthropic.claude-3-sonnet-20240229-v1:0",
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0",
"amazon.titan-text-premier-v1:0",
"us.meta.llama3-2-90b-instruct-v1:0",
"us.meta.llama3-2-11b-instruct-v1:0",
Expand Down
24 changes: 24 additions & 0 deletions packages/cdk/lambda/utils/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,14 @@ export const BEDROCK_TEXT_GEN_MODELS: {
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'apac.anthropic.claude-3-5-sonnet-20240620-v1:0': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
createConverseCommandInput: createConverseCommandInput,
createConverseStreamCommandInput: createConverseStreamCommandInput,
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'anthropic.claude-3-opus-20240229-v1:0': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
Expand Down Expand Up @@ -666,6 +674,14 @@ export const BEDROCK_TEXT_GEN_MODELS: {
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'apac.anthropic.claude-3-sonnet-20240229-v1:0': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
createConverseCommandInput: createConverseCommandInput,
createConverseStreamCommandInput: createConverseStreamCommandInput,
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'anthropic.claude-3-haiku-20240307-v1:0': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
Expand All @@ -690,6 +706,14 @@ export const BEDROCK_TEXT_GEN_MODELS: {
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'apac.anthropic.claude-3-haiku-20240307-v1:0': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
createConverseCommandInput: createConverseCommandInput,
createConverseStreamCommandInput: createConverseStreamCommandInput,
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'anthropic.claude-v2:1': {
defaultParams: CLAUDE_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
Expand Down
6 changes: 6 additions & 0 deletions packages/cdk/lib/construct/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ export class Api extends Construct {
'eu.anthropic.claude-3-5-sonnet-20240620-v1:0',
'eu.anthropic.claude-3-sonnet-20240229-v1:0',
'eu.anthropic.claude-3-haiku-20240307-v1:0',
'apac.anthropic.claude-3-5-sonnet-20240620-v1:0',
'apac.anthropic.claude-3-sonnet-20240229-v1:0',
'apac.anthropic.claude-3-haiku-20240307-v1:0',
'anthropic.claude-v2:1',
'anthropic.claude-v2',
'anthropic.claude-instant-v1',
Expand Down Expand Up @@ -131,6 +134,9 @@ export class Api extends Construct {
'eu.anthropic.claude-3-5-sonnet-20240620-v1:0',
'eu.anthropic.claude-3-sonnet-20240229-v1:0',
'eu.anthropic.claude-3-haiku-20240307-v1:0',
'apac.anthropic.claude-3-5-sonnet-20240620-v1:0',
'apac.anthropic.claude-3-sonnet-20240229-v1:0',
'apac.anthropic.claude-3-haiku-20240307-v1:0',
'us.meta.llama3-2-11b-instruct-v1:0',
'us.meta.llama3-2-90b-instruct-v1:0',
];
Expand Down

0 comments on commit a3d902e

Please sign in to comment.