Class: Aws::BedrockAgentCoreControl::Types::CreateEvaluatorRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#descriptionString

The description of the evaluator that explains its purpose and evaluation criteria.

Returns:

  • (String)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#evaluator_configTypes::EvaluatorConfig

The configuration for the evaluator. Specify either LLM-as-a-Judge settings with instructions, rating scale, and model configuration, or code-based settings with a customer-managed Lambda function.



2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#evaluator_nameString

The name of the evaluator. Must be unique within your account.

Returns:

  • (String)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#kms_key_arnString

The Amazon Resource Name (ARN) of a customer managed KMS key to use for encrypting sensitive evaluator data, including instructions and rating scale. If you don't specify a KMS key, the evaluator data is encrypted with an Amazon Web Services owned key. Only symmetric encryption KMS keys are supported. For more information, see Encryption at rest for AgentCore Evaluations.

Returns:

  • (String)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#levelString

The evaluation level that determines the scope of evaluation. Valid values are TOOL_CALL for individual tool invocations, TRACE for single request-response interactions, or SESSION for entire conversation sessions.

Returns:

  • (String)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#tagsHash<String,String>

A map of tag keys and values to assign to an AgentCore Evaluator. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Returns:

  • (Hash<String,String>)


2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2070

class CreateEvaluatorRequest < Struct.new(
  :client_token,
  :evaluator_name,
  :description,
  :evaluator_config,
  :level,
  :kms_key_arn,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end