/** * @file The DeepSeek generator's prompt tables: the transliteration scripts, the two system prompts, the adversarial * category table and the two user-prompt builders. * * The text is the text the Python generator sent, and `deepseek.test.ts` compares each value's SHA-256 with the * digest the Python module produced, because a changed prompt changes every row a later run generates. */ /** * One transliteration target: the label the prompt names, the BCP 47 language subtag of the rendering * convention (with no region), the ISO 15924 script code, and the slug used in batch and source ids. */ export type TranslitScript = readonly [label: string, language: string, script: string, slug: string]; /** * The scripts a transliteration run renders into, in plan order. */ export declare const TRANSLIT_SCRIPTS: readonly TranslitScript[]; /** * The transliteration system prompt. */ export declare const TRANSLIT_SYSTEM: string; /** * The adversarial-case system prompt. */ export declare const KRYPTONITE_SYSTEM: string; /** * The adversarial-case user prompt, with `{n}`, `{category}`, `{description}`, * `{examples}` and `{n_minus_1}` fields as Python's `str.format` fills them. */ export declare const KRYPTONITE_USER_TEMPLATE = "Generate {n} adversarial US postal-address cases in category: {category}.\n\nCategory description: {description}\n\nExamples (use these as inspiration; do NOT copy verbatim \u2014 vary cities, brands, and street numbers):\n{examples}\n\nConstraints:\n- Each address must be a plausible mailing address (real US city + matching state + a valid postcode).\n- Vary cities, states, brand names, and street numbers across the {n} items.\n- Output exactly {n} JSONL lines in order, index 0..{n_minus_1}, schema as in the system prompt.\n"; /** * One adversarial category: its name and the description included in the prompt, * the example lines that steer the model, and its weight in the row budget. */ export interface KryptoniteCategory { category: string; description: string; examples: readonly string[]; weight: number; } /** * The hand-curated adversarial categories, in plan order. */ export declare const KRYPTONITE_CATEGORIES: readonly KryptoniteCategory[]; /** * One seed address a transliteration batch renders. */ export interface TranslitSeed { raw: string; components: Readonly>; source_id: string; country?: string | null; locale?: string | null; } /** * The transliteration user prompt: the script, then each seed's index, raw text and components. */ export declare function buildTranslitUserPrompt(scriptLabel: string, seeds: readonly TranslitSeed[]): string; /** * The adversarial-case user prompt for `n` cases of one category. */ export declare function buildKryptoniteUserPrompt(category: KryptoniteCategory, n: number): string; //# sourceMappingURL=prompts.d.ts.map