// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

/**
 * This is the judge plan that instructs how to evaluate the assistant message.
 * The assistant message can be evaluated against fixed content (exact match or RegEx) or with an LLM-as-judge by defining the evaluation criteria in a prompt.
 */
export type ChatEvalAssistantMessageEvaluationJudgePlan =
    | Vapi.ChatEvalAssistantMessageEvaluationJudgePlan.Exact
    | Vapi.ChatEvalAssistantMessageEvaluationJudgePlan.Regex
    | Vapi.ChatEvalAssistantMessageEvaluationJudgePlan.Ai;

export namespace ChatEvalAssistantMessageEvaluationJudgePlan {
    export interface Exact extends Vapi.AssistantMessageJudgePlanExact {
        type: "exact";
    }

    export interface Regex extends Vapi.AssistantMessageJudgePlanRegex {
        type: "regex";
    }

    export interface Ai extends Vapi.AssistantMessageJudgePlanAi {
        type: "ai";
    }
}
