GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig class
Config for suggestion query.
Constructors
-
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig({Input<
double> ? confidenceThreshold, Input<GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings> ? contextFilterSettings, Input<GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource> ? dialogflowQuerySource, Input<GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource> ? documentQuerySource, Input<GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource> ? knowledgeBaseQuerySource, Input<int> ? maxResults}) -
Creates a new GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig.
confidenceThresholdConfidence threshold of query result. Agent Assist gives each suggestion a score in the range0.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 range0.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, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.contextFilterSettingsDetermines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.dialogflowQuerySourceQuery from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.documentQuerySourceQuery from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.knowledgeBaseQuerySourceQuery from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.maxResultsMaximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.const -
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
confidenceThreshold
→ Input<
double> ? -
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 range0.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, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.final -
contextFilterSettings
→ Input<
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings> ? -
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
final
-
dialogflowQuerySource
→ Input<
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource> ? -
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.
final
-
documentQuerySource
→ Input<
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource> ? -
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
knowledgeBaseQuerySource
→ Input<
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource> ? -
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
final
-
maxResults
→ Input<
int> ? -
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited