EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds.fromJson constructor

EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds.fromJson(
  1. Map json_
)

Implementation

EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds.fromJson(
  core.Map json_,
) : this(
      overallToolInvocationCorrectnessThreshold:
          (json_['overallToolInvocationCorrectnessThreshold'] as core.num?)
              ?.toDouble(),
      semanticSimilarityChannel:
          json_['semanticSimilarityChannel'] as core.String?,
      semanticSimilaritySuccessThreshold:
          json_['semanticSimilaritySuccessThreshold'] as core.int?,
    );