public sealed class SuggestionQueryConfig : IMessage<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IEquatable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IDeepCloneable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class HumanAgentAssistantConfig.Types.SuggestionQueryConfig.
Config for suggestion query.
Implements
IMessage<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IEquatable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IDeepCloneable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SuggestionQueryConfig()
public SuggestionQueryConfig()
SuggestionQueryConfig(HumanAgentAssistantConfig.Types.SuggestionQueryConfig)
public SuggestionQueryConfig(HumanAgentAssistantConfig.Types.SuggestionQueryConfig other)
Parameter | |
---|---|
Name | Description |
other | HumanAgentAssistantConfig.Types.SuggestionQueryConfig |
Properties
ConfidenceThreshold
public float ConfidenceThreshold { get; set; }
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 defaults to 0.0, which means that all suggestions are returned.
Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
Property Value | |
---|---|
Type | Description |
Single |
ContextFilterSettings
public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.ContextFilterSettings ContextFilterSettings { get; set; }
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
Property Value | |
---|---|
Type | Description |
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.ContextFilterSettings |
DialogflowQuerySource
public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource DialogflowQuerySource { get; set; }
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
Property Value | |
---|---|
Type | Description |
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource |
DocumentQuerySource
public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DocumentQuerySource DocumentQuerySource { get; set; }
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
Property Value | |
---|---|
Type | Description |
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DocumentQuerySource |
KnowledgeBaseQuerySource
public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.KnowledgeBaseQuerySource KnowledgeBaseQuerySource { get; set; }
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
Property Value | |
---|---|
Type | Description |
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.KnowledgeBaseQuerySource |
MaxResults
public int MaxResults { get; set; }
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
Property Value | |
---|---|
Type | Description |
Int32 |
QuerySourceCase
public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.QuerySourceOneofCase QuerySourceCase { get; }
Property Value | |
---|---|
Type | Description |
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.QuerySourceOneofCase |