Class: Aws::Context::Types::AgenticRetrieveResponseEvent

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

Overview

A chunk of the generated answer text.

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#event_type ⇒ Object

Returns the value of attribute event_type

Returns:

  • (Object) —

    the current value of event_type



507
508
509
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 507

def event_type
  @event_type
end

#text ⇒ String

The next chunk of the generated answer. Concatenate the text of every response event, in the order received, to get the complete answer, which the final result event also returns.

Returns:

  • (String)


507
508
509
510
511
512
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 507

class AgenticRetrieveResponseEvent < Struct.new(
  :text,
  :event_type)
  SENSITIVE = [:text]
  include Aws::Structure
end