Class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig : IDirectResponseSchema
Properties
ConfidenceThreshold
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, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
Declaration
[JsonProperty("confidenceThreshold")]
public virtual float? ConfidenceThreshold { get; set; }
Property Value
Type | Description |
---|---|
float? |
ContextFilterSettings
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
Declaration
[JsonProperty("contextFilterSettings")]
public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings ContextFilterSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings |
ContextSize
Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.
Declaration
[JsonProperty("contextSize")]
public virtual int? ContextSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
DialogflowQuerySource
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
Declaration
[JsonProperty("dialogflowQuerySource")]
public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource DialogflowQuerySource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource |
DocumentQuerySource
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
Declaration
[JsonProperty("documentQuerySource")]
public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource DocumentQuerySource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
KnowledgeBaseQuerySource
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
Declaration
[JsonProperty("knowledgeBaseQuerySource")]
public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource KnowledgeBaseQuerySource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource |
MaxResults
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
Declaration
[JsonProperty("maxResults")]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
Sections
Optional. The customized sections chosen to return when requesting a summary of a conversation.
Declaration
[JsonProperty("sections")]
public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections Sections { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections |