Class: Aws::BedrockRuntime::Types::SystemContentBlock

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Note:

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

A system content block

Direct Known Subclasses

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#textString

A system prompt for the model.

Returns:

  • (String)


1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1075

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

  class Text < SystemContentBlock; end
  class Unknown < SystemContentBlock; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1075
1076
1077
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1075

def unknown
  @unknown
end