toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final goldenEvaluationMetricsThresholds =
      this.goldenEvaluationMetricsThresholds;
  final goldenHallucinationMetricBehavior =
      this.goldenHallucinationMetricBehavior;
  final hallucinationMetricBehavior = this.hallucinationMetricBehavior;
  final scenarioHallucinationMetricBehavior =
      this.scenarioHallucinationMetricBehavior;
  return {
    'goldenEvaluationMetricsThresholds': ?goldenEvaluationMetricsThresholds,
    'goldenHallucinationMetricBehavior': ?goldenHallucinationMetricBehavior,
    'hallucinationMetricBehavior': ?hallucinationMetricBehavior,
    'scenarioHallucinationMetricBehavior':
        ?scenarioHallucinationMetricBehavior,
  };
}