Skip to content

Commit

Permalink
add mistral-large 2407
Browse files Browse the repository at this point in the history
  • Loading branch information
okamoto-aws committed Jul 24, 2024
1 parent 0fb949e commit 783131d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/DEPLOY_OPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,16 @@ Knowledge base プロンプト例: キーワードで検索し情報を取得し
"anthropic.claude-3-sonnet-20240229-v1:0",
"anthropic.claude-3-haiku-20240307-v1:0",
"amazon.titan-text-premier-v1:0",
"meta.llama3-1-8b-instruct-v1:0",
"meta.llama3-1-70b-instruct-v1:0",
"meta.llama3-1-405b-instruct-v1:0",
"meta.llama3-1-70b-instruct-v1:0",
"meta.llama3-1-8b-instruct-v1:0",
"meta.llama3-70b-instruct-v1:0",
"meta.llama3-8b-instruct-v1:0",
"cohere.command-r-plus-v1:0",
"cohere.command-r-v1:0",
"mistral.mistral-small-2402-v1:0",
"mistral.mistral-large-2407-v1:0",
"mistral.mistral-large-2402-v1:0",
"mistral.mistral-small-2402-v1:0",
"anthropic.claude-v2:1",
"anthropic.claude-v2",
"anthropic.claude-instant-v1",
Expand Down Expand Up @@ -330,7 +331,7 @@ Knowledge base プロンプト例: キーワードで検索し情報を取得し
"meta.llama3-1-8b-instruct-v1:0",
"cohere.command-r-plus-v1:0",
"cohere.command-r-v1:0",
"mistral.mistral-large-2402-v1:0"
"mistral.mistral-large-2407-v1:0"
],
"imageGenerationModelIds": [
"amazon.titan-image-generator-v1",
Expand Down
8 changes: 8 additions & 0 deletions packages/cdk/lambda/utils/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,14 @@ export const BEDROCK_TEXT_GEN_MODELS: {
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'mistral.mistral-large-2407-v1:0': {
defaultParams: MISTRAL_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
createConverseCommandInput: createConverseCommandInput,
createConverseStreamCommandInput: createConverseStreamCommandInput,
extractConverseOutputText: extractConverseOutputText,
extractConverseStreamOutputText: extractConverseStreamOutputText,
},
'cohere.command-r-v1:0': {
defaultParams: COMMANDR_DEFAULT_PARAMS,
usecaseParams: USECASE_DEFAULT_PARAMS,
Expand Down
1 change: 1 addition & 0 deletions packages/cdk/lib/construct/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class Api extends Construct {
'mistral.mixtral-8x7b-instruct-v0:1',
'mistral.mistral-small-2402-v1:0',
'mistral.mistral-large-2402-v1:0',
'mistral.mistral-large-2407-v1:0',
'cohere.command-r-v1:0',
'cohere.command-r-plus-v1:0',
];
Expand Down

0 comments on commit 783131d

Please sign in to comment.