Skip to content

Commit 4e249b9

Browse files
author
AWS
committed
Amazon Bedrock Update: Add support for Cross Region Inference in Bedrock Model Evaluations.
1 parent 3a47fd7 commit 4e249b9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock",
4+
"contributor": "",
5+
"description": "Add support for Cross Region Inference in Bedrock Model Evaluations."
6+
}

services/bedrock/src/main/resources/codegen-resources/service-2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@
10841084
},
10851085
"inferenceConfig":{
10861086
"shape":"EvaluationInferenceConfig",
1087-
"documentation":"<p>Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.</p>"
1087+
"documentation":"<p>Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>, and model evaluation job that use human workers support two models or inference profiles.</p>"
10881088
},
10891089
"outputDataConfig":{
10901090
"shape":"EvaluationOutputDataConfig",
@@ -1676,14 +1676,14 @@
16761676
"members":{
16771677
"modelIdentifier":{
16781678
"shape":"EvaluationModelIdentifier",
1679-
"documentation":"<p>The ARN of the Amazon Bedrock model specified.</p>"
1679+
"documentation":"<p>The ARN of the Amazon Bedrock model or inference profile specified.</p>"
16801680
},
16811681
"inferenceParams":{
16821682
"shape":"EvaluationModelInferenceParams",
16831683
"documentation":"<p>Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.</p>"
16841684
}
16851685
},
1686-
"documentation":"<p>Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p> <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>\"temperature\":\"0.25\"</code> key value pair would need to be formatted as <code>\\\"temperature\\\":\\\"0.25\\\"</code> to successfully accepted in the request.</p>"
1686+
"documentation":"<p>Contains the ARN of the Amazon Bedrock model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p> <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>\"temperature\":\"0.25\"</code> key value pair would need to be formatted as <code>\\\"temperature\\\":\\\"0.25\\\"</code> to successfully accepted in the request.</p>"
16871687
},
16881688
"EvaluationConfig":{
16891689
"type":"structure",
@@ -1848,7 +1848,7 @@
18481848
"members":{
18491849
"bedrockModel":{
18501850
"shape":"EvaluationBedrockModel",
1851-
"documentation":"<p>Defines the Amazon Bedrock model and inference parameters you want used.</p>"
1851+
"documentation":"<p>Defines the Amazon Bedrock model or inference profile and inference parameters you want used.</p>"
18521852
}
18531853
},
18541854
"documentation":"<p>Defines the models used in the model evaluation job.</p>",
@@ -1864,7 +1864,7 @@
18641864
"type":"string",
18651865
"max":2048,
18661866
"min":1,
1867-
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)"
1867+
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))"
18681868
},
18691869
"EvaluationModelIdentifiers":{
18701870
"type":"list",

0 commit comments

Comments
 (0)