Class: Aws::BedrockAgentCoreControl::Types::EvaluatorConfig

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

Overview

Note:

EvaluatorConfig is a union - when making an API calls you must set exactly one of the members.

Note:

EvaluatorConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluatorConfig corresponding to the set member.

The configuration that defines how an evaluator assesses agent performance, including the evaluation method and parameters.

Defined Under Namespace

Classes: CodeBased, Derived, LlmAsAJudge, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_based ⇒ Types::CodeBasedEvaluatorConfig

Configuration for a code-based evaluator that uses a customer-managed Lambda function to programmatically assess agent performance.



7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7878

class EvaluatorConfig < Struct.new(
  :llm_as_a_judge,
  :code_based,
  :derived,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class LlmAsAJudge < EvaluatorConfig; end
  class CodeBased < EvaluatorConfig; end
  class Derived < EvaluatorConfig; end
  class Unknown < EvaluatorConfig; end
end

#derived ⇒ Types::DerivedEvaluatorConfig

The configuration for an evaluator derived from an existing base evaluator (a built-in or third-party evaluator), run on your own model. The base evaluator supplies the prompt and scoring.



7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7878

class EvaluatorConfig < Struct.new(
  :llm_as_a_judge,
  :code_based,
  :derived,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class LlmAsAJudge < EvaluatorConfig; end
  class CodeBased < EvaluatorConfig; end
  class Derived < EvaluatorConfig; end
  class Unknown < EvaluatorConfig; end
end

#llm_as_a_judge ⇒ Types::LlmAsAJudgeEvaluatorConfig

The LLM-as-a-Judge configuration that uses a language model to evaluate agent performance based on custom instructions and rating scales.



7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7878

class EvaluatorConfig < Struct.new(
  :llm_as_a_judge,
  :code_based,
  :derived,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class LlmAsAJudge < EvaluatorConfig; end
  class CodeBased < EvaluatorConfig; end
  class Derived < EvaluatorConfig; end
  class Unknown < EvaluatorConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



7878
7879
7880
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7878

def unknown
  @unknown
end