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)


5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5309

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



5309
5310
5311
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5309

def unknown
  @unknown
end