Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig (v1.13.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig.

Config for suggestion features.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#conversation_model_config

def conversation_model_config() -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig

#conversation_model_config=

def conversation_model_config=(value) -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig
Parameter

#conversation_process_config

def conversation_process_config() -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig

#conversation_process_config=

def conversation_process_config=(value) -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig
Parameter

#disable_agent_query_logging

def disable_agent_query_logging() -> ::Boolean
Returns
  • (::Boolean) — 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.

#disable_agent_query_logging=

def disable_agent_query_logging=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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
  • (::Boolean) — 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

def enable_conversation_augmented_query() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

#enable_conversation_augmented_query=

def enable_conversation_augmented_query=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.
Returns
  • (::Boolean) — Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

#enable_event_based_suggestion

def enable_event_based_suggestion() -> ::Boolean
Returns
  • (::Boolean) — Automatically iterates all participants and tries to compile suggestions.

    Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

#enable_event_based_suggestion=

def enable_event_based_suggestion=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Automatically iterates all participants and tries to compile suggestions.

    Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

Returns
  • (::Boolean) — Automatically iterates all participants and tries to compile suggestions.

    Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.

#enable_query_suggestion_only

def enable_query_suggestion_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST

#enable_query_suggestion_only=

def enable_query_suggestion_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST
Returns
  • (::Boolean) — Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST

#enable_query_suggestion_when_no_answer

def enable_query_suggestion_when_no_answer() -> ::Boolean
Returns
  • (::Boolean) — 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

#enable_query_suggestion_when_no_answer=

def enable_query_suggestion_when_no_answer=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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
Returns
  • (::Boolean) — 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

#enable_response_debug_info

def enable_response_debug_info() -> ::Boolean
Returns
  • (::Boolean) — 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

#enable_response_debug_info=

def enable_response_debug_info=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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

Returns
  • (::Boolean) — 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

#query_config

def query_config() -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig

#query_config=

def query_config=(value) -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig

#rai_settings

def rai_settings() -> ::Google::Cloud::Dialogflow::V2::RaiSettings
Returns

#rai_settings=

def rai_settings=(value) -> ::Google::Cloud::Dialogflow::V2::RaiSettings
Parameter
Returns

#suggestion_feature

def suggestion_feature() -> ::Google::Cloud::Dialogflow::V2::SuggestionFeature
Returns

#suggestion_feature=

def suggestion_feature=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestionFeature
Parameter
Returns

#suggestion_trigger_settings

def suggestion_trigger_settings() -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings
Returns

#suggestion_trigger_settings=

def suggestion_trigger_settings=(value) -> ::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings
Parameter
Returns