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:



4743
4744
4745
4746
4747
4748
4749
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4743

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)


4743
4744
4745
4746
4747
4748
4749
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4743

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



4743
4744
4745
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4743

def event_type
  @event_type
end