Google Cloud Dialogflow V2 Client - Class SuggestionFeatureConfig (1.12.3)

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

Config for suggestion features.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ HumanAgentAssistantConfig

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ suggestion_feature
↳ enable_event_based_suggestion
bool

Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

↳ disable_agent_query_logging
bool

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.

↳ enable_conversation_augmented_query
bool

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

↳ suggestion_trigger_settings
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionTriggerSettings

Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

↳ conversation_model_config
↳ conversation_process_config

getSuggestionFeature

The suggestion feature.

Returns
Type
Description

hasSuggestionFeature

clearSuggestionFeature

setSuggestionFeature

The suggestion feature.

Parameter
Name
Description
Returns
Type
Description
$this

getEnableEventBasedSuggestion

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

Returns
Type
Description
bool

setEnableEventBasedSuggestion

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getDisableAgentQueryLogging

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.

Returns
Type
Description
bool

setDisableAgentQueryLogging

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.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getEnableConversationAugmentedQuery

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

Returns
Type
Description
bool

setEnableConversationAugmentedQuery

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getSuggestionTriggerSettings

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

hasSuggestionTriggerSettings

clearSuggestionTriggerSettings

setSuggestionTriggerSettings

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

Returns
Type
Description
$this

getQueryConfig

Configs of query.

hasQueryConfig

clearQueryConfig

setQueryConfig

Configs of query.

Returns
Type
Description
$this

getConversationModelConfig

Configs of custom conversation model.

hasConversationModelConfig

clearConversationModelConfig

setConversationModelConfig

Configs of custom conversation model.

Returns
Type
Description
$this

getConversationProcessConfig

Configs for processing conversation.

hasConversationProcessConfig

clearConversationProcessConfig

setConversationProcessConfig

Configs for processing conversation.

Returns
Type
Description
$this