Class: Aws::BedrockAgentRuntime::Types::PayloadPart

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

Overview

Contains a part of an agent response and citations for it.

Constant Summary collapse

SENSITIVE =
[:bytes]

Instance Attribute Summary collapse

Instance Attribute Details

#attributionTypes::Attribution

Contains citations for a part of an agent response.

Returns:



1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1517

class PayloadPart < Struct.new(
  :attribution,
  :bytes,
  :event_type)
  SENSITIVE = [:bytes]
  include Aws::Structure
end

#bytesString

A part of the agent response in bytes.

Returns:

  • (String)


1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1517

class PayloadPart < Struct.new(
  :attribution,
  :bytes,
  :event_type)
  SENSITIVE = [:bytes]
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



1517
1518
1519
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1517

def event_type
  @event_type
end