Class: Aws::BedrockAgentCore::Types::GroundTruthTurnInput

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

Overview

Note:

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

The input for a ground truth conversation turn.

Defined Under Namespace

Classes: Prompt, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#prompt ⇒ String

The text prompt for this conversation turn.

Returns:

  • (String)


4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4425

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

  class Prompt < GroundTruthTurnInput; end
  class Unknown < GroundTruthTurnInput; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4425
4426
4427
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4425

def unknown
  @unknown
end