AttributeSuggestionsUpdateConfig
¶
Used by
-
AsynckendraClient Operationsupdate_query_suggestions_config -
kendraClient Operationsupdate_query_suggestions_config
Source code in docs_src/capo_kendra/types/attribute_suggestions_update_config.py
attribute_suggestions_mode
instance-attribute
¶
attribute_suggestions_mode: NotRequired[AttributeSuggestionsMode]
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.
suggestable_config_list
instance-attribute
¶
suggestable_config_list: NotRequired[SuggestableConfigList]
The list of fields/attributes that you want to set as suggestible for query suggestions.