Class: Aws::BedrockAgentCore::Types::EvaluationContent

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

Overview

Note:

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

A content block for ground truth data in evaluation reference inputs. Supports text content for expected responses and assertions.

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#text ⇒ String

The text content of the ground truth data. Used for expected response text and assertion statements.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2475

class EvaluationContent < Struct.new(
  :text,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Text < EvaluationContent; end
  class Unknown < EvaluationContent; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2475
2476
2477
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2475

def unknown
  @unknown
end