Class: Aws::BedrockAgentCore::Types::HarnessContentBlockStart

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

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

The start payload for a content block.

Defined Under Namespace

Classes: ToolResult, ToolUse, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tool_result ⇒ Types::HarnessToolResultBlockStart

Start of a tool result content block.



4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4643

class HarnessContentBlockStart < Struct.new(
  :tool_use,
  :tool_result,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ToolUse < HarnessContentBlockStart; end
  class ToolResult < HarnessContentBlockStart; end
  class Unknown < HarnessContentBlockStart; end
end

#tool_use ⇒ Types::HarnessToolUseBlockStart

Start of a tool use content block.



4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4643

class HarnessContentBlockStart < Struct.new(
  :tool_use,
  :tool_result,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ToolUse < HarnessContentBlockStart; end
  class ToolResult < HarnessContentBlockStart; end
  class Unknown < HarnessContentBlockStart; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4643
4644
4645
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4643

def unknown
  @unknown
end