Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Detail human agent assistant config.
Instance Attribute Summary collapse
-
#disable_high_latency_features_sync_delivery ⇒ Boolean
(also: #disable_high_latency_features_sync_delivery?)
Optional.
-
#enable_async_tool_call ⇒ Boolean
(also: #enable_async_tool_call?)
Optional.
-
#feature_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features.
-
#generators ⇒ Array<String>
Optional.
-
#group_suggestion_responses ⇒ Boolean
(also: #group_suggestion_responses?)
If
group_suggestion_responsesis false, and there are multiplefeature_configsinevent based suggestionor StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. -
#skip_empty_event_based_suggestion ⇒ Boolean
(also: #skip_empty_event_based_suggestion?)
Optional.
-
#use_unredacted_conversation_data ⇒ Boolean
(also: #use_unredacted_conversation_data?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.
12539 12540 12541 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_high_latency_features_sync_delivery ⇒ Boolean Also known as: disable_high_latency_features_sync_delivery?
Optional. When disable_high_latency_features_sync_delivery is true and using
the AnalyzeContent API, we will not deliver the responses from high latency
features in the API response. The human_agent_assistant_config.
notification_config must be configured and enable_event_based_suggestion must
be set to true to receive the responses from high latency features in Pub/Sub.
High latency feature(s): KNOWLEDGE_ASSIST
Corresponds to the JSON property disableHighLatencyFeaturesSyncDelivery
12488 12489 12490 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12488 def disable_high_latency_features_sync_delivery @disable_high_latency_features_sync_delivery end |
#enable_async_tool_call ⇒ Boolean Also known as: enable_async_tool_call?
Optional. If true, enable asynchronous execution of tools.
Corresponds to the JSON property enableAsyncToolCall
12494 12495 12496 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12494 def enable_async_tool_call @enable_async_tool_call end |
#feature_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features. One feature can have only one
config.
Corresponds to the JSON property featureConfigs
12501 12502 12503 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12501 def feature_configs @feature_configs end |
#generators ⇒ Array<String>
Optional. List of various generator resource names used in the conversation
profile.
Corresponds to the JSON property generators
12507 12508 12509 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12507 def generators @generators end |
#group_suggestion_responses ⇒ Boolean Also known as: group_suggestion_responses?
If group_suggestion_responses is false, and there are multiple
feature_configs in event based suggestion or StreamingAnalyzeContent, we
will try to deliver suggestions to customers as soon as we get new suggestion.
Different type of suggestions based on the same context will be in separate
Pub/Sub event or StreamingAnalyzeContentResponse. If
group_suggestion_responses set to true. All the suggestions to the same
participant based on the same context will be grouped into a single Pub/Sub
event or StreamingAnalyzeContentResponse.
Corresponds to the JSON property groupSuggestionResponses
12519 12520 12521 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12519 def group_suggestion_responses @group_suggestion_responses end |
#skip_empty_event_based_suggestion ⇒ Boolean Also known as: skip_empty_event_based_suggestion?
Optional. Enable skipping event based suggestion if the suggestion is empty.
For example, with this field disabled, Knowledge Assist feature sends a Pub/
Sub message when there are no suggestions. Enabling this field will change the
behavior to skip the Pub/Sub message in this situation.
Corresponds to the JSON property skipEmptyEventBasedSuggestion
12528 12529 12530 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12528 def skip_empty_event_based_suggestion @skip_empty_event_based_suggestion end |
#use_unredacted_conversation_data ⇒ Boolean Also known as: use_unredacted_conversation_data?
Optional. If true, use unredacted transcript data (Supported features:
AI_COACH) and use unredacted ingested context (Supported features: All Agent
Assist features)
Corresponds to the JSON property useUnredactedConversationData
12536 12537 12538 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12536 def use_unredacted_conversation_data @use_unredacted_conversation_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12544 12545 12546 12547 12548 12549 12550 12551 12552 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12544 def update!(**args) @disable_high_latency_features_sync_delivery = args[:disable_high_latency_features_sync_delivery] if args.key?(:disable_high_latency_features_sync_delivery) @enable_async_tool_call = args[:enable_async_tool_call] if args.key?(:enable_async_tool_call) @feature_configs = args[:feature_configs] if args.key?(:feature_configs) @generators = args[:generators] if args.key?(:generators) @group_suggestion_responses = args[:group_suggestion_responses] if args.key?(:group_suggestion_responses) @skip_empty_event_based_suggestion = args[:skip_empty_event_based_suggestion] if args.key?(:skip_empty_event_based_suggestion) @use_unredacted_conversation_data = args[:use_unredacted_conversation_data] if args.key?(:use_unredacted_conversation_data) end |