View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationModelEvaluation (google_api_dialogflow v0.78.0)

Represents evaluation result of a conversation model.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Creation time of this model.
  • displayName (type: String.t, default: nil) - Optional. The display name of the model evaluation. At most 64 bytes long.
  • evaluationConfig (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfig.t, default: nil) - Optional. The configuration of the evaluation task.
  • name (type: String.t, default: nil) - The resource name of the evaluation. Format: projects//conversationModels//evaluations/
  • rawHumanEvalTemplateCsv (type: String.t, default: nil) - 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.
  • smartReplyMetrics (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetrics.t, default: nil) - Output only. Only available when model is for smart reply.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationModelEvaluation{
    createTime: DateTime.t() | nil,
    displayName: String.t() | nil,
    evaluationConfig:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfig.t()
      | nil,
    name: String.t() | nil,
    rawHumanEvalTemplateCsv: String.t() | nil,
    smartReplyMetrics:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetrics.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.