Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds

import type { EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Turn level metrics thresholds.

interface EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds {
overallToolInvocationCorrectnessThreshold?: number;
semanticSimilarityChannel?: "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED" | "TEXT" | "AUDIO";
semanticSimilaritySuccessThreshold?: number;
}

§Properties

§
overallToolInvocationCorrectnessThreshold?: number
[src]

Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.

§
semanticSimilarityChannel?: "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED" | "TEXT" | "AUDIO"
[src]

Optional. The semantic similarity channel to use for evaluation.

§
semanticSimilaritySuccessThreshold?: number
[src]

Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.