Skip to content

Commit 5825cb9

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience.
1 parent 49c31a1 commit 5825cb9

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
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": "Agents for Amazon Bedrock",
4+
"contributor": "",
5+
"description": "Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience."
6+
}

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@
23132313
},
23142314
"foundationModel":{
23152315
"shape":"ModelIdentifier",
2316-
"documentation":"<p>The foundation model to be used for orchestration by the agent you create.</p>"
2316+
"documentation":"<p>The Amazon Resource Name (ARN) of the foundation model to be used for orchestration by the agent you create.</p>"
23172317
},
23182318
"guardrailConfiguration":{
23192319
"shape":"GuardrailConfiguration",
@@ -5190,8 +5190,8 @@
51905190
"documentation":"<p>The unique identifier of the knowledge base to query.</p>"
51915191
},
51925192
"modelId":{
5193-
"shape":"ModelIdentifier",
5194-
"documentation":"<p>The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.</p>"
5193+
"shape":"KnowledgeBaseModelIdentifier",
5194+
"documentation":"<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.</p>"
51955195
}
51965196
},
51975197
"documentation":"<p>Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html\">Node types in Amazon Bedrock works</a> in the Amazon Bedrock User Guide.</p>"
@@ -5202,6 +5202,12 @@
52025202
"min":0,
52035203
"pattern":"^[0-9a-zA-Z]+$"
52045204
},
5205+
"KnowledgeBaseModelIdentifier":{
5206+
"type":"string",
5207+
"max":2048,
5208+
"min":1,
5209+
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
5210+
},
52055211
"KnowledgeBaseRoleArn":{
52065212
"type":"string",
52075213
"max":2048,
@@ -6301,7 +6307,7 @@
63016307
},
63026308
"modelId":{
63036309
"shape":"PromptModelIdentifier",
6304-
"documentation":"<p>The unique identifier of the model to run inference with.</p>"
6310+
"documentation":"<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to run inference with.</p>"
63056311
},
63066312
"templateConfiguration":{
63076313
"shape":"PromptTemplateConfiguration",
@@ -6424,7 +6430,7 @@
64246430
"type":"string",
64256431
"max":2048,
64266432
"min":1,
6427-
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
6433+
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
64286434
},
64296435
"PromptModelInferenceConfiguration":{
64306436
"type":"structure",
@@ -6462,7 +6468,7 @@
64626468
"members":{
64636469
"overrideLambda":{
64646470
"shape":"LambdaArn",
6465-
"documentation":"<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Agents for Amazon Bedrock</a>.</p>"
6471+
"documentation":"<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Amazon Bedrock Agents</a>.</p>"
64666472
},
64676473
"promptConfigurations":{
64686474
"shape":"PromptConfigurations",
@@ -6568,7 +6574,7 @@
65686574
},
65696575
"modelId":{
65706576
"shape":"PromptModelIdentifier",
6571-
"documentation":"<p>The unique identifier of the model with which to run inference on the prompt.</p>"
6577+
"documentation":"<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> with which to run inference on the prompt.</p>"
65726578
},
65736579
"name":{
65746580
"shape":"PromptVariantName",

0 commit comments

Comments
 (0)