GetEvaluationResult class

Result data returned by getEvaluation.

Constructors

GetEvaluationResult({required String createTime, required String displayName, required GoogleCloudDialogflowV2EvaluationConfigResponse evaluationConfig, required String name, required String rawHumanEvalTemplateCsv, required GoogleCloudDialogflowV2SmartReplyMetricsResponse smartReplyMetrics})
Creates a new GetEvaluationResult. createTime Creation time of this model. displayName Optional. The display name of the model evaluation. At most 64 bytes long. evaluationConfig Optional. The configuration of the evaluation task. name The resource name of the evaluation. Format: projects//conversationModels//evaluations/ rawHumanEvalTemplateCsv 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 Only available when model is for smart reply.
const
GetEvaluationResult.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → String
Creation time of this model.
final
displayName → String
Optional. The display name of the model evaluation. At most 64 bytes long.
final
evaluationConfig → GoogleCloudDialogflowV2EvaluationConfigResponse
Optional. The configuration of the evaluation task.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The resource name of the evaluation. Format: projects//conversationModels//evaluations/
final
rawHumanEvalTemplateCsv → String
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
smartReplyMetrics → GoogleCloudDialogflowV2SmartReplyMetricsResponse
Only available when model is for smart reply.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited