Google Cloud Dialogflow V2 Client - Class SuggestionConfig (1.3.2)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SuggestionConfig.

Detail human agent assistant config.

Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ feature_configs array<Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionFeatureConfig>

Configuration of different suggestion features. One feature can have only one config.

↳ group_suggestion_responses bool

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.

getFeatureConfigs

Configuration of different suggestion features. One feature can have only one config.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFeatureConfigs

Configuration of different suggestion features. One feature can have only one config.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionFeatureConfig>
Returns
TypeDescription
$this

getGroupSuggestionResponses

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.

Returns
TypeDescription
bool

setGroupSuggestionResponses

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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this