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

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

export interface ChatEvalAssistantMessageEvaluation {
    /**
     * This is the role of the message author.
     * For an assistant message evaluation, the role is always 'assistant'
     * @default 'assistant'
     */
    role: Vapi.ChatEvalAssistantMessageEvaluationRole;
    /**
     * 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.
     */
    judgePlan: Vapi.ChatEvalAssistantMessageEvaluationJudgePlan;
    /**
     * This is the plan for how the overall evaluation will proceed after the assistant message is evaluated.
     * This lets you configure whether to stop the evaluation if this message fails, and whether to override any content for future turns
     */
    continuePlan?: Vapi.AssistantMessageEvaluationContinuePlan | undefined;
}
