Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ConversationModelEvaluation (v0.24.0)

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

Represents evaluation result of a conversation model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. The display name of the model evaluation. At most 64 bytes long.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The display name of the model evaluation. At most 64 bytes long.
Returns
  • (::String) — Optional. The display name of the model evaluation. At most 64 bytes long.

#evaluation_config

def evaluation_config() -> ::Google::Cloud::Dialogflow::V2::EvaluationConfig
Returns

#evaluation_config=

def evaluation_config=(value) -> ::Google::Cloud::Dialogflow::V2::EvaluationConfig
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>
Returns
  • (::String) — The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

#raw_human_eval_template_csv

def raw_human_eval_template_csv() -> ::String
Returns
  • (::String) — Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.

#smart_reply_metrics

def smart_reply_metrics() -> ::Google::Cloud::Dialogflow::V2::SmartReplyMetrics
Returns