Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface JudgeConfig

    interface JudgeConfig {
        apiEndpoint?: string;
        apiKey?: string;
        defaultModel: string;
        judgeAdapter?: (
            request: {
                apiKey: string;
                endpoint: string;
                input: JudgeInput;
                model: string;
                systemPrompt: string;
                temperature: number;
                template: JudgeTemplate;
                userPrompt: string;
            },
        ) => Promise<{ model?: string; rawScore: number; reasoning: string }>;
        mode: "llm" | "simulated";
        temperature: number;
    }
    Index
    apiEndpoint?: string

    LLM API endpoint

    apiKey?: string

    API key

    defaultModel: string

    Default model

    judgeAdapter?: (
        request: {
            apiKey: string;
            endpoint: string;
            input: JudgeInput;
            model: string;
            systemPrompt: string;
            temperature: number;
            template: JudgeTemplate;
            userPrompt: string;
        },
    ) => Promise<{ model?: string; rawScore: number; reasoning: string }>

    Optional adapter that performs a real LLM judge call

    mode: "llm" | "simulated"

    Whether to actually call LLM or simulate

    temperature: number

    Temperature for judge calls