@langwatch/scenario
    Preparing search index...

    Interface JudgeAgentConfig

    Configuration for the judge agent.

    interface JudgeAgentConfig {
        criteria: string[];
        maxTokens?: number;
        model?: LanguageModelV1;
        name?: string;
        systemPrompt?: string;
        temperature?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    criteria: string[]

    The criteria that the judge will use to evaluate the conversation.

    maxTokens?: number

    The maximum number of tokens to generate.

    model?: LanguageModelV1

    The language model to use for generating responses. If not provided, a default model will be used.

    name?: string

    The name of the agent.

    systemPrompt?: string

    A custom system prompt to override the default behavior of the judge.

    temperature?: number

    The temperature for the language model. Defaults to 0.