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
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: CachePoint, GuardContent, Text, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cache_point ⇒ Types::CachePointBlock
CachePoint to include in the system prompt.
-
#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
#cache_point ⇒ Types::CachePointBlock
CachePoint to include in the system prompt.
3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3803 class SystemContentBlock < Struct.new( :text, :guard_content, :cache_point, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < SystemContentBlock; end class GuardContent < SystemContentBlock; end class CachePoint < SystemContentBlock; end class Unknown < SystemContentBlock; end end |
#guard_content ⇒ Types::GuardrailConverseContentBlock
A content block to assess with the guardrail. Use with the
- Converse][1
-
or [ConverseStream] API operations.
For more information, see *Use a guardrail with the Converse API* in the *Amazon Bedrock User Guide*.
[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html [2]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html
3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3803 class SystemContentBlock < Struct.new( :text, :guard_content, :cache_point, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < SystemContentBlock; end class GuardContent < SystemContentBlock; end class CachePoint < SystemContentBlock; end class Unknown < SystemContentBlock; end end |
#text ⇒ String
A system prompt for the model.
3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3803 class SystemContentBlock < Struct.new( :text, :guard_content, :cache_point, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < SystemContentBlock; end class GuardContent < SystemContentBlock; end class CachePoint < SystemContentBlock; end class Unknown < SystemContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3803 3804 3805 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3803 def unknown @unknown end |