Class: Aws::BedrockAgentCoreControl::Types::RatingScale

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

Overview

Note:

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

Note:

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

The rating scale that defines how evaluators should score agent performance, supporting both numerical and categorical scales.

Direct Known Subclasses

Categorical, Numerical, Unknown

Defined Under Namespace

Classes: Categorical, Numerical, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categoricalArray<Types::CategoricalScaleDefinition>

The categorical rating scale with named categories and definitions for qualitative evaluation.



7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7819

class RatingScale < Struct.new(
  :numerical,
  :categorical,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Numerical < RatingScale; end
  class Categorical < RatingScale; end
  class Unknown < RatingScale; end
end

#numericalArray<Types::NumericalScaleDefinition>

The numerical rating scale with defined score values and descriptions for quantitative evaluation.



7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7819

class RatingScale < Struct.new(
  :numerical,
  :categorical,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Numerical < RatingScale; end
  class Categorical < RatingScale; end
  class Unknown < RatingScale; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



7819
7820
7821
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 7819

def unknown
  @unknown
end