Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.



16416
16417
16418
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16416

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_model_configGoogle::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



16339
16340
16341
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16339

def conversation_model_config
  @conversation_model_config
end

#conversation_process_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig

Config to process conversation. Corresponds to the JSON property conversationProcessConfig



16344
16345
16346
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16344

def conversation_process_config
  @conversation_process_config
end

#disable_agent_query_loggingBoolean 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

Returns:

  • (Boolean)


16351
16352
16353
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16351

def disable_agent_query_logging
  @disable_agent_query_logging
end

#enable_conversation_augmented_queryBoolean 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

Returns:

  • (Boolean)


16358
16359
16360
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16358

def enable_conversation_augmented_query
  @enable_conversation_augmented_query
end

#enable_event_based_suggestionBoolean 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

Returns:

  • (Boolean)


16366
16367
16368
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16366

def enable_event_based_suggestion
  @enable_event_based_suggestion
end

#enable_query_suggestion_onlyBoolean Also known as: enable_query_suggestion_only?

Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST Corresponds to the JSON property enableQuerySuggestionOnly

Returns:

  • (Boolean)


16372
16373
16374
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16372

def enable_query_suggestion_only
  @enable_query_suggestion_only
end

#enable_query_suggestion_when_no_answerBoolean 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

Returns:

  • (Boolean)


16380
16381
16382
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16380

def enable_query_suggestion_when_no_answer
  @enable_query_suggestion_when_no_answer
end

#enable_response_debug_infoBoolean Also known as: enable_response_debug_info?

Optional. Enable returning detailed reasons for suggestion results. For example, with this field disabled, Knowledge Search feature returns NotFound error when no answer is found for the input query. Enabling this field will change the behavior to return an OK response with detailed information indicating the lack of results. Supported features: KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST Corresponds to the JSON property enableResponseDebugInfo

Returns:

  • (Boolean)


16391
16392
16393
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16391

def enable_response_debug_info
  @enable_response_debug_info
end

#query_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig

Config for suggestion query. Corresponds to the JSON property queryConfig



16397
16398
16399
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16397

def query_config
  @query_config
end

#rai_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RaiSettings

Settings for Responsible AI checks. Corresponds to the JSON property raiSettings



16402
16403
16404
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16402

def rai_settings
  @rai_settings
end

#suggestion_featureGoogle::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



16409
16410
16411
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16409

def suggestion_feature
  @suggestion_feature
end

#suggestion_trigger_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings

Settings of suggestion trigger. Corresponds to the JSON property suggestionTriggerSettings



16414
16415
16416
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16414

def suggestion_trigger_settings
  @suggestion_trigger_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16421

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)
  @enable_response_debug_info = args[:enable_response_debug_info] if args.key?(:enable_response_debug_info)
  @query_config = args[:query_config] if args.key?(:query_config)
  @rai_settings = args[:rai_settings] if args.key?(:rai_settings)
  @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
  @suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings)
end