Class: Aws::QConnect::Types::QueryAssistantRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:query_text]

Instance Attribute Summary collapse

Instance Attribute Details

#assistant_idString

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return per page.

Returns:

  • (Integer)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#next_tokenString

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Returns:

  • (String)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#override_knowledge_base_search_typeString

The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text.

Returns:

  • (String)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#query_conditionArray<Types::QueryCondition>

Information about how to query content.

Returns:



7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#query_input_dataTypes::QueryInputData

Information about the query.



7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#query_textString

The text to search for.

Returns:

  • (String)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end

#session_idString

The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 7386

class QueryAssistantRequest < Struct.new(
  :assistant_id,
  :max_results,
  :next_token,
  :override_knowledge_base_search_type,
  :query_condition,
  :query_input_data,
  :query_text,
  :session_id)
  SENSITIVE = [:query_text]
  include Aws::Structure
end