Class SuggestionQueryConfig (2.3.0)

SuggestionQueryConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for suggestion query. .. attribute:: knowledge_base_query_source

Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.

:type: google.cloud.dialogflow_v2beta1.types.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource

Attributes

NameDescription
document_query_source google.cloud.dialogflow_v2beta1.types.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
dialogflow_query_source google.cloud.dialogflow_v2beta1.types.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
max_results int
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
confidence_threshold float
Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it is default to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
context_filter_settings google.cloud.dialogflow_v2beta1.types.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.

Classes

ContextFilterSettings

ContextFilterSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings that determine how to filter recent conversation context when generating suggestions.

DialogflowQuerySource

DialogflowQuerySource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Dialogflow source setting.

Supported feature: DIALOGFLOW_ASSIST.

DocumentQuerySource

DocumentQuerySource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Document source settings.

Supported features: SMART_REPLY, SMART_COMPOSE.

KnowledgeBaseQuerySource

KnowledgeBaseQuerySource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Knowledge base source settings.

Supported features: ARTICLE_SUGGESTION, FAQ.