Class: Aws::BedrockRuntime::Types::ContentBlockStart
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::ContentBlockStart
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
ContentBlockStart is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContentBlockStart corresponding to the set member.
Content block start information.
Direct Known Subclasses
Defined Under Namespace
Classes: ToolResult, ToolUse, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#tool_result ⇒ Types::ToolResultBlockStart
The.
-
#tool_use ⇒ Types::ToolUseBlockStart
Information about a tool that the model is requesting to use.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#tool_result ⇒ Types::ToolResultBlockStart
The
694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 694 class ContentBlockStart < Struct.new( :tool_use, :tool_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ToolUse < ContentBlockStart; end class ToolResult < ContentBlockStart; end class Unknown < ContentBlockStart; end end |
#tool_use ⇒ Types::ToolUseBlockStart
Information about a tool that the model is requesting to use.
694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 694 class ContentBlockStart < Struct.new( :tool_use, :tool_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ToolUse < ContentBlockStart; end class ToolResult < ContentBlockStart; end class Unknown < ContentBlockStart; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
694 695 696 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 694 def unknown @unknown end |