Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Config for suggestion features.
Instance Attribute Summary collapse
-
#conversation_model_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature.
-
#conversation_process_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig
Config to process conversation.
-
#disable_agent_query_logging ⇒ Boolean
(also: #disable_agent_query_logging?)
Optional.
-
#enable_conversation_augmented_query ⇒ Boolean
(also: #enable_conversation_augmented_query?)
Optional.
-
#enable_event_based_suggestion ⇒ Boolean
(also: #enable_event_based_suggestion?)
Automatically iterates all participants and tries to compile suggestions.
-
#enable_query_suggestion_only ⇒ Boolean
(also: #enable_query_suggestion_only?)
Optional.
-
#enable_query_suggestion_when_no_answer ⇒ Boolean
(also: #enable_query_suggestion_when_no_answer?)
Optional.
-
#query_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
-
#suggestion_feature ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type.
-
#suggestion_trigger_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.
14159 14160 14161 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_model_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature. Supported feature:
ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
Corresponds to the JSON property conversationModelConfig
14098 14099 14100 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14098 def conversation_model_config @conversation_model_config end |
#conversation_process_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig
Config to process conversation.
Corresponds to the JSON property conversationProcessConfig
14103 14104 14105 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14103 def conversation_process_config @conversation_process_config end |
#disable_agent_query_logging ⇒ Boolean Also known as: disable_agent_query_logging?
Optional. Disable the logging of search queries sent by human agents. It can
prevent those queries from being stored at answer records. Supported features:
KNOWLEDGE_SEARCH.
Corresponds to the JSON property disableAgentQueryLogging
14110 14111 14112 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14110 def disable_agent_query_logging @disable_agent_query_logging end |
#enable_conversation_augmented_query ⇒ Boolean Also known as: enable_conversation_augmented_query?
Optional. Enable including conversation context during query answer generation.
Supported features: KNOWLEDGE_SEARCH.
Corresponds to the JSON property enableConversationAugmentedQuery
14117 14118 14119 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14117 def enable_conversation_augmented_query @enable_conversation_augmented_query end |
#enable_event_based_suggestion ⇒ Boolean Also known as: enable_event_based_suggestion?
Automatically iterates all participants and tries to compile suggestions.
Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST,
ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.
Corresponds to the JSON property enableEventBasedSuggestion
14125 14126 14127 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14125 def enable_event_based_suggestion @enable_event_based_suggestion end |
#enable_query_suggestion_only ⇒ Boolean Also known as: enable_query_suggestion_only?
Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST
Corresponds to the JSON property enableQuerySuggestionOnly
14131 14132 14133 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14131 def enable_query_suggestion_only @enable_query_suggestion_only end |
#enable_query_suggestion_when_no_answer ⇒ Boolean Also known as: enable_query_suggestion_when_no_answer?
Optional. Enable query suggestion even if we can't find its answer. By default,
queries are suggested only if we find its answer. Supported features:
KNOWLEDGE_ASSIST
Corresponds to the JSON property enableQuerySuggestionWhenNoAnswer
14139 14140 14141 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14139 def enable_query_suggestion_when_no_answer @enable_query_suggestion_when_no_answer end |
#query_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
Corresponds to the JSON property queryConfig
14145 14146 14147 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14145 def query_config @query_config end |
#suggestion_feature ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum
number of results to return for that type. Multiple Feature
objects can be
specified in the features
list.
Corresponds to the JSON property suggestionFeature
14152 14153 14154 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14152 def suggestion_feature @suggestion_feature end |
#suggestion_trigger_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Corresponds to the JSON property suggestionTriggerSettings
14157 14158 14159 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14157 def suggestion_trigger_settings @suggestion_trigger_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14164 def update!(**args) @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config) @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config) @disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging) @enable_conversation_augmented_query = args[:enable_conversation_augmented_query] if args.key?(:enable_conversation_augmented_query) @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion) @enable_query_suggestion_only = args[:enable_query_suggestion_only] if args.key?(:enable_query_suggestion_only) @enable_query_suggestion_when_no_answer = args[:enable_query_suggestion_when_no_answer] if args.key?(:enable_query_suggestion_when_no_answer) @query_config = args[:query_config] if args.key?(:query_config) @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature) @suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings) end |