Class: Aws::BedrockRuntime::Types::SystemContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::SystemContentBlock
- 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
Defined Under Namespace
Classes: GuardContent, Text, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#guard_content ⇒ Types::GuardrailConverseContentBlock
A content block to assess with the guardrail.
-
#text ⇒ String
A system prompt for the model.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#guard_content ⇒ Types::GuardrailConverseContentBlock
A content block to assess with the guardrail. Use with the Converse API (Converse and ConverseStream).
For more information, see *Use a guardrail with the Converse API* in the *Amazon Bedrock User Guide*.
1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1497 class SystemContentBlock < Struct.new( :text, :guard_content, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < SystemContentBlock; end class GuardContent < SystemContentBlock; end class Unknown < SystemContentBlock; end end |
#text ⇒ String
A system prompt for the model.
1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1497 class SystemContentBlock < Struct.new( :text, :guard_content, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < SystemContentBlock; end class GuardContent < SystemContentBlock; end class Unknown < SystemContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1497 1498 1499 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1497 def unknown @unknown end |