Class: Aws::Context::Types::AgenticRetrieveResultEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::AgenticRetrieveResultEvent
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
The final event of a successful stream: the answer and the ranked retrieved context.
Constant Summary collapse
- SENSITIVE =
[:answer]
Instance Attribute Summary collapse
-
#answer ⇒ String
The synthesized natural-language answer, when one was generated.
-
#citations ⇒ Array<Types::Citation>
Maps spans of answer to the supporting entities, when an answer was generated.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#retrieved_context ⇒ Array<Types::RetrievedContext>
The ranked, structured context that the agent assembled across all iterations, without duplicates.
Instance Attribute Details
#answer ⇒ String
The synthesized natural-language answer, when one was generated.
534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 534 class AgenticRetrieveResultEvent < Struct.new( :retrieved_context, :answer, :citations, :event_type) SENSITIVE = [:answer] include Aws::Structure end |
#citations ⇒ Array<Types::Citation>
Maps spans of answer to the supporting entities, when an answer was generated.
534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 534 class AgenticRetrieveResultEvent < Struct.new( :retrieved_context, :answer, :citations, :event_type) SENSITIVE = [:answer] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
534 535 536 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 534 def event_type @event_type end |
#retrieved_context ⇒ Array<Types::RetrievedContext>
The ranked, structured context that the agent assembled across all iterations, without duplicates. Always present. Each entry is a graph node, a graph edge, or a document.
534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 534 class AgenticRetrieveResultEvent < Struct.new( :retrieved_context, :answer, :citations, :event_type) SENSITIVE = [:answer] include Aws::Structure end |