export declare const SUMMARIZATION_AGENT_INSTRUCTIONS = "You are a strict summarization evaluator. Your job is to determine whether a summary is factually faithful to its source text and whether it preserves the information the source states.\n\nKey Principles:\n1. Judge only against the text you are given, never against prior knowledge\n2. A claim is supported only when the source states or directly implies it\n3. Treat approximations as deviations when the source is precise: \"about 2020\" does not match \"2020\"\n4. Allow semantically equivalent phrasing: \"founded in Boston\" matches \"based in Boston\"\n5. Judge each claim and each question independently\n6. Factual accuracy and information coverage are separate concerns and are judged separately"; /** * Builds the preprocess prompt, which covers everything that needs the source text. * * Claims are extracted from the summary and judged against the source in one pass, * so every verdict carries the claim it belongs to. Questions are drawn from the * source for the coverage step that follows. * * @param maxQuestions - Upper bound on the generated questions * @returns A prompt asking for `{ alignment, questions }` */ export declare function createSourceJudgementPrompt({ sourceText, summary, maxQuestions, }: { sourceText: string; summary: string; maxQuestions: number; }): string; /** * Builds the analyze prompt, which answers the coverage questions. * * The source text is deliberately absent. A judge that could see it would answer * from the source instead of the summary, which would hide exactly the omissions * this axis exists to measure. * * @returns A prompt asking for `{ coverage }` */ export declare function createCoveragePrompt({ summary, questions }: { summary: string; questions: string[]; }): string; /** * Builds the prompt that explains a finished score. * * Both axis scores and the failing claims and questions are passed in so the * explanation names the axis that decided the result instead of recalculating it. * * @returns A prompt asking for a one-sentence explanation of the score */ export declare function createSummarizationReasonPrompt({ sourceText, summary, score, scale, alignmentScore, coverageScore, unsupportedClaims, missingQuestions, }: { sourceText: string; summary: string; score: number; scale: number; alignmentScore: number; coverageScore: number; unsupportedClaims: string[]; missingQuestions: string[]; }): string; //# sourceMappingURL=prompts.d.ts.map