|
2313 | 2313 | },
|
2314 | 2314 | "foundationModel":{
|
2315 | 2315 | "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>" |
2317 | 2317 | },
|
2318 | 2318 | "guardrailConfiguration":{
|
2319 | 2319 | "shape":"GuardrailConfiguration",
|
|
5190 | 5190 | "documentation":"<p>The unique identifier of the knowledge base to query.</p>"
|
5191 | 5191 | },
|
5192 | 5192 | "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>" |
5195 | 5195 | }
|
5196 | 5196 | },
|
5197 | 5197 | "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 | 5202 | "min":0,
|
5203 | 5203 | "pattern":"^[0-9a-zA-Z]+$"
|
5204 | 5204 | },
|
| 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 | + }, |
5205 | 5211 | "KnowledgeBaseRoleArn":{
|
5206 | 5212 | "type":"string",
|
5207 | 5213 | "max":2048,
|
|
6301 | 6307 | },
|
6302 | 6308 | "modelId":{
|
6303 | 6309 | "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>" |
6305 | 6311 | },
|
6306 | 6312 | "templateConfiguration":{
|
6307 | 6313 | "shape":"PromptTemplateConfiguration",
|
|
6424 | 6430 | "type":"string",
|
6425 | 6431 | "max":2048,
|
6426 | 6432 | "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-:.]+)$" |
6428 | 6434 | },
|
6429 | 6435 | "PromptModelInferenceConfiguration":{
|
6430 | 6436 | "type":"structure",
|
|
6462 | 6468 | "members":{
|
6463 | 6469 | "overrideLambda":{
|
6464 | 6470 | "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>" |
6466 | 6472 | },
|
6467 | 6473 | "promptConfigurations":{
|
6468 | 6474 | "shape":"PromptConfigurations",
|
|
6568 | 6574 | },
|
6569 | 6575 | "modelId":{
|
6570 | 6576 | "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>" |
6572 | 6578 | },
|
6573 | 6579 | "name":{
|
6574 | 6580 | "shape":"PromptVariantName",
|
|
0 commit comments