Class: Aws::BedrockAgentCore::Types::HarnessSystemContentBlock

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

Overview

Note:

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

A content block in the system prompt.

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#text ⇒ String

The text content of the system prompt block.

Returns:

  • (String)


5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5273

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

  class Text < HarnessSystemContentBlock; end
  class Unknown < HarnessSystemContentBlock; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5273
5274
5275
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5273

def unknown
  @unknown
end