@outputai/core
    Preparing search index...

    Type Alias JudgeArgs

    Arguments accepted by the LLM judge functions.

    The prompt file is resolved from the directory of the file calling the judge.

    type JudgeArgs = {
        prompt: string;
        schema?: z.ZodType;
        variables?: PromptVariables;
    }
    Index
    prompt: string

    Prompt filename (without .prompt extension).

    schema?: z.ZodType

    Output schema replacing the default one. It must keep the judged field and reasoning.

    variables?: PromptVariables

    Variables to interpolate into the prompt.