|
84 | 84 | "shape": "ServiceQuotaExceededException"
|
85 | 85 | }
|
86 | 86 | ],
|
87 |
| - "documentation": "<p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html\">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>.</p> </li> <li> <p>If you agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> </ul>", |
| 87 | + "documentation": "<p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html\">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>.</p> </li> <li> <p>If your agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul>", |
88 | 88 | "idempotent": true
|
89 | 89 | },
|
90 | 90 | "CreateAgentActionGroup": {
|
|
7150 | 7150 | "documentation": "<p>The parsing strategy for the data source.</p>"
|
7151 | 7151 | }
|
7152 | 7152 | },
|
7153 |
| - "documentation": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the action. Standard model usage charges apply for the foundation model parsing strategy.</p>" |
| 7153 | + "documentation": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>" |
7154 | 7154 | },
|
7155 | 7155 | "ParsingPrompt": {
|
7156 | 7156 | "type": "structure",
|
|
7512 | 7512 | "min": 0,
|
7513 | 7513 | "sensitive": true
|
7514 | 7514 | },
|
| 7515 | + "PromptMetadataEntry": { |
| 7516 | + "type": "structure", |
| 7517 | + "required": [ |
| 7518 | + "key", |
| 7519 | + "value" |
| 7520 | + ], |
| 7521 | + "members": { |
| 7522 | + "key": { |
| 7523 | + "shape": "PromptMetadataKey", |
| 7524 | + "documentation": "<p>The key of a metadata tag for a prompt variant.</p>" |
| 7525 | + }, |
| 7526 | + "value": { |
| 7527 | + "shape": "PromptMetadataValue", |
| 7528 | + "documentation": "<p>The value of a metadata tag for a prompt variant.</p>" |
| 7529 | + } |
| 7530 | + }, |
| 7531 | + "documentation": "<p>Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html\">Create a prompt using Prompt management</a>.</p>", |
| 7532 | + "sensitive": true |
| 7533 | + }, |
| 7534 | + "PromptMetadataKey": { |
| 7535 | + "type": "string", |
| 7536 | + "max": 128, |
| 7537 | + "min": 1, |
| 7538 | + "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", |
| 7539 | + "sensitive": true |
| 7540 | + }, |
| 7541 | + "PromptMetadataList": { |
| 7542 | + "type": "list", |
| 7543 | + "member": { |
| 7544 | + "shape": "PromptMetadataEntry" |
| 7545 | + }, |
| 7546 | + "max": 50, |
| 7547 | + "min": 0, |
| 7548 | + "sensitive": true |
| 7549 | + }, |
| 7550 | + "PromptMetadataValue": { |
| 7551 | + "type": "string", |
| 7552 | + "max": 1024, |
| 7553 | + "min": 0, |
| 7554 | + "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", |
| 7555 | + "sensitive": true |
| 7556 | + }, |
7515 | 7557 | "PromptModelIdentifier": {
|
7516 | 7558 | "type": "string",
|
7517 | 7559 | "max": 2048,
|
|
7660 | 7702 | "shape": "PromptInferenceConfiguration",
|
7661 | 7703 | "documentation": "<p>Contains inference configurations for the prompt variant.</p>"
|
7662 | 7704 | },
|
| 7705 | + "metadata": { |
| 7706 | + "shape": "PromptMetadataList", |
| 7707 | + "documentation": "<p>An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html\">Create a prompt using Prompt management</a>.</p>" |
| 7708 | + }, |
7663 | 7709 | "modelId": {
|
7664 | 7710 | "shape": "PromptModelIdentifier",
|
7665 | 7711 | "documentation": "<p>The unique identifier of the model with which to run inference on the prompt.</p>"
|
|
0 commit comments