Class: Aws::Kendra::Types::AttributeSuggestionsUpdateConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

Updates the configuration information for the document fields/attributes that you want to base query suggestions on.

To deactivate using documents fields for query suggestions, set the mode to ‘INACTIVE`. You must also set `SuggestionTypes` as either `QUERY` or `DOCUMENT_ATTRIBUTES` and then call [GetQuerySuggestions]. If you set to `QUERY`, then Amazon Kendra uses the query history to base suggestions on. If you set to `DOCUMENT_ATTRIBUTES`, then Amazon Kendra uses the contents of document fields to base suggestions on.

[1]: docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_suggestions_modeString

You can set the mode to ‘ACTIVE` or `INACTIVE`. You must also set `SuggestionTypes` as either `QUERY` or `DOCUMENT_ATTRIBUTES` and then call [GetQuerySuggestions]. If `Mode` to use query history is set to `ENABLED` when calling [UpdateQuerySuggestionsConfig] and `AttributeSuggestionsMode` to use fields/attributes is set to `ACTIVE`, and you haven’t set your ‘SuggestionTypes` preference to `DOCUMENT_ATTRIBUTES`, then Amazon Kendra uses the query history.

[1]: docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html [2]: docs.aws.amazon.com/kendra/latest/dg/API_UpdateQuerySuggestionsConfig.html

Returns:

  • (String)


591
592
593
594
595
596
# File 'lib/aws-sdk-kendra/types.rb', line 591

class AttributeSuggestionsUpdateConfig < Struct.new(
  :suggestable_config_list,
  :attribute_suggestions_mode)
  SENSITIVE = []
  include Aws::Structure
end

#suggestable_config_listArray<Types::SuggestableConfig>

The list of fields/attributes that you want to set as suggestible for query suggestions.

Returns:



591
592
593
594
595
596
# File 'lib/aws-sdk-kendra/types.rb', line 591

class AttributeSuggestionsUpdateConfig < Struct.new(
  :suggestable_config_list,
  :attribute_suggestions_mode)
  SENSITIVE = []
  include Aws::Structure
end