Class: Aws::Context::Types::SearchAgentContextRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::SearchAgentContextRequest
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
The request for SearchAgentContext.
Constant Summary collapse
- SENSITIVE =
[:query, :filter]
Instance Attribute Summary collapse
-
#agent_context_id ⇒ String
The agent context to search, by ID or full Amazon Resource Name (ARN).
-
#filter ⇒ Types::SearchFilter
Optional filter on node attributes: a single comparison, or
andAllof comparisons that must all match. -
#max_results ⇒ Integer
Maximum number of results to return per page.
-
#next_token ⇒ String
Opaque continuation token from a prior response.
-
#query ⇒ String
The natural-language query or keywords to search for in the agent context.
-
#search_type ⇒ String
The search strategy to use.
Instance Attribute Details
#agent_context_id ⇒ String
The agent context to search, by ID or full Amazon Resource Name (ARN).
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |
#filter ⇒ Types::SearchFilter
Optional filter on node attributes: a single comparison, or andAll
of comparisons that must all match.
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |
#max_results ⇒ Integer
Maximum number of results to return per page.
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |
#next_token ⇒ String
Opaque continuation token from a prior response. Omit on the first page.
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |
#query ⇒ String
The natural-language query or keywords to search for in the agent
context. AWS Context interprets it based on searchType: as literal
text for KEYWORD, as a semantic concept for SEMANTIC, or as both
for AUTO.
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |
#search_type ⇒ String
The search strategy to use. Valid values:
KEYWORD- Full-text keyword matching (BM25).SEMANTIC- Vector similarity of embeddings.AUTO- Keyword matches first, then semantic matches for the remaining results.
6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6234 class SearchAgentContextRequest < Struct.new( :max_results, :next_token, :agent_context_id, :query, :filter, :search_type) SENSITIVE = [:query, :filter] include Aws::Structure end |