View source: R/bedrockagent_operations.R
| bedrockagent_create_agent | R Documentation |
Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see Amazon Bedrock Agents Classic availability change.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_agent/ for full documentation.
bedrockagent_create_agent(
agentName,
clientToken = NULL,
instruction = NULL,
foundationModel = NULL,
description = NULL,
orchestrationType = NULL,
customOrchestration = NULL,
idleSessionTTLInSeconds = NULL,
agentResourceRoleArn = NULL,
customerEncryptionKeyArn = NULL,
tags = NULL,
promptOverrideConfiguration = NULL,
guardrailConfiguration = NULL,
memoryConfiguration = NULL,
agentCollaboration = NULL
)
agentName |
[required] A name for the agent that you create. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
instruction |
Instructions that tell the agent what it should do and how it should interact with users. |
foundationModel |
The identifier for the model that you want to be used for orchestration by the agent you create. The
|
description |
A description of the agent. |
orchestrationType |
Specifies the type of orchestration strategy for the agent. This is set to |
customOrchestration |
Contains details of the custom orchestration configured for the agent. |
idleSessionTTLInSeconds |
The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. |
agentResourceRoleArn |
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent. |
tags |
Any tags that you want to attach to the agent. |
promptOverrideConfiguration |
Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts. |
guardrailConfiguration |
The unique Guardrail configuration assigned to the agent when it is created. |
memoryConfiguration |
Contains the details of the memory configured for the agent. |
agentCollaboration |
The agent's collaboration role. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.