View source: R/bedrockagentcorecontrol_operations.R
| bedrockagentcorecontrol_create_online_evaluation_config | R Documentation |
Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production.
See https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_online_evaluation_config/ for full documentation.
bedrockagentcorecontrol_create_online_evaluation_config(
clientToken = NULL,
onlineEvaluationConfigName,
description = NULL,
rule,
dataSourceConfig,
evaluators,
evaluationExecutionRoleArn,
enableOnCreate,
tags = NULL
)
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency. |
onlineEvaluationConfigName |
[required] The name of the online evaluation configuration. Must be unique within your account. |
description |
The description of the online evaluation configuration that explains its monitoring purpose and scope. |
rule |
[required] The evaluation rule that defines sampling configuration, filters, and session detection settings for the online evaluation. |
dataSourceConfig |
[required] The data source configuration that specifies CloudWatch log groups and service names to monitor for agent traces. |
evaluators |
[required] The list of evaluators to apply during online evaluation. Can include both built-in evaluators and custom evaluators created with |
evaluationExecutionRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. If the configuration references evaluators encrypted with a customer managed KMS key, this role must also have |
enableOnCreate |
[required] Whether to enable the online evaluation configuration immediately upon creation. If true, evaluation begins automatically. |
tags |
A map of tag keys and values to assign to an AgentCore Online Evaluation Config. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.