Class: Aws::Context::Types::AgenticRetrieveRequest

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

Overview

A question to answer against an agent context, and optional settings for how the answer is retrieved and returned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_context_id ⇒ String

The agent context to retrieve from, by its ID or ARN.

Returns:

  • (String)


449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 449

class AgenticRetrieveRequest < Struct.new(
  :agent_context_id,
  :messages,
  :session_id,
  :analysis_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#analysis_configuration ⇒ Types::AnalysisConfiguration

Optional controls for post-call analysis of the retrieval: whether its trace is stored for analysis.



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 449

class AgenticRetrieveRequest < Struct.new(
  :agent_context_id,
  :messages,
  :session_id,
  :analysis_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#messages ⇒ Array<Types::Message>

The conversation, as an ordered list of turns. A single-question caller sends one user message. The list carries multi-turn history so a follow-up resolves against earlier turns.

Returns:



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 449

class AgenticRetrieveRequest < Struct.new(
  :agent_context_id,
  :messages,
  :session_id,
  :analysis_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#retrieval_configuration ⇒ Types::RetrievalConfiguration

Optional bounds and configuration for the agent loop.



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 449

class AgenticRetrieveRequest < Struct.new(
  :agent_context_id,
  :messages,
  :session_id,
  :analysis_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#session_id ⇒ String

Optional. A key that you supply to group related calls, for example the turns of one conversation, for trace storage and analysis. Grouping is per account, across agent contexts, so use a value that is unique to each conversation.

Returns:

  • (String)


449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 449

class AgenticRetrieveRequest < Struct.new(
  :agent_context_id,
  :messages,
  :session_id,
  :analysis_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end