class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
Attributes
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. Corresponds to the JSON property `confidenceThreshold` @return [Float]
Settings that determine how to filter recent conversation context when generating suggestions. Corresponds to the JSON property `contextFilterSettings` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]
Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST. Corresponds to the JSON property `dialogflowQuerySource` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]
Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE. Corresponds to the JSON property `documentQuerySource` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]
Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ. Corresponds to the JSON property `knowledgeBaseQuerySource` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20. Corresponds to the JSON property `maxResults` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9879 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9884 def update!(**args) @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold) @context_filter_settings = args[:context_filter_settings] if args.key?(:context_filter_settings) @dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source) @document_query_source = args[:document_query_source] if args.key?(:document_query_source) @knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source) @max_results = args[:max_results] if args.key?(:max_results) end