Class: Aws::BedrockRuntime::Types::ToolResultBlockDelta

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

Overview

Note:

ToolResultBlockDelta is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ToolResultBlockDelta corresponding to the set member.

Contains incremental updates to tool results information during streaming responses. This allows clients to build up tool results data progressively as the response is generated.

Direct Known Subclasses

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#textString

The reasoning the model used to return the output.

Returns:

  • (String)


4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4145

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

  class Text < ToolResultBlockDelta; end
  class Unknown < ToolResultBlockDelta; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4145
4146
4147
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4145

def unknown
  @unknown
end