/** * Admission Criteria — Single Source of Truth for knowledge quality gates. * * Both the extraction pipeline and governance pipeline import from here. * Change once, both sides pick up the new standard automatically. */ /** Default dedup cosine similarity threshold */ export declare const DEFAULT_DEDUP_THRESHOLD = 0.92; /** * Load the dedup threshold from kivo.config.json. * Re-reads on every call (hot-reload). */ export declare function loadDedupThreshold(configDir?: string): number; export declare const KNOWLEDGE_ADMISSION_BOUNDARY_PROMPT = "### \u77E5\u8BC6\u5B9A\u4E49\u4E0E\u51C6\u5165\u8FB9\u754C\n\u77E5\u8BC6\u662F\u7ECF\u8FC7\u62BD\u8C61\u3001\u805A\u5408\u3001\u8403\u53D6\u540E\u5F62\u6210\u7684\u957F\u6548\u7406\u89E3\u6A21\u578B\u3002\u5B83\u8DE8\u65F6\u95F4\u3001\u8DE8\u573A\u666F\u53EF\u590D\u7528\uFF1B\u7F3A\u4E86\u5B83\uFF0Cagent \u4F1A\u5728\u672A\u6765\u505A\u51FA\u7CFB\u7EDF\u6027\u9519\u8BEF\u5224\u65AD\u3002\n\u6BCF\u6761\u77E5\u8BC6\u5FC5\u987B\u80FD\u56DE\u7B54\uFF1A\u300C\u5B83\u8BA9 agent \u5728\u4EC0\u4E48\u573A\u666F\u4E0B\u907F\u514D\u4E86\u4EC0\u4E48\u9519\u8BEF\uFF1F\u300D\u56DE\u7B54\u4E0D\u4E86\u5C31\u4E0D\u8BE5\u5165\u5E93\u3002"; export declare const TRIPLE_TEST_PROMPT = "### \u4E09\u91CD\u6D4B\u8BD5\uFF08\u5168\u90E8\u901A\u8FC7\u624D\u5141\u8BB8\u5165\u5E93\uFF09\n1. \u65F6\u6548\u6027\u6D4B\u8BD5\uFF1A\u300C\u8FD9\u6761\u4FE1\u606F\u4E00\u4E2A\u6708\u540E\u8FD8\u6709\u6548\u5417\uFF1F\u300D\n2. \u8DE8\u573A\u666F\u6D4B\u8BD5\uFF1A\u300C\u6362\u4E00\u4E2A\u5B8C\u5168\u4E0D\u540C\u7684\u9879\u76EE/\u573A\u666F\uFF0C\u5B83\u8FD8\u9002\u7528\u5417\uFF1F\u300D\n3. \u62BD\u8C61\u6027\u6D4B\u8BD5\uFF1A\u300C\u53BB\u6389\u65F6\u95F4\u3001\u4EBA\u540D\u3001\u9879\u76EE\u540D\u7B49\u5177\u4F53\u4E0A\u4E0B\u6587\u540E\uFF0C\u5B83\u662F\u5426\u4ECD\u6709\u6307\u5BFC\u4EF7\u503C\uFF1F\u300D\n\u4EFB\u4E00\u95EE\u9898\u56DE\u7B54\u4E3A\u5426\uFF0C\u5FC5\u987B\u62D2\u7EDD\u5165\u5E93\u3002\u4E09\u91CD\u6D4B\u8BD5\u5FC5\u987B\u7531 LLM \u8BED\u4E49\u5224\u65AD\u6267\u884C\uFF0C\u7981\u6B62\u7528\u5173\u952E\u8BCD\u5339\u914D\u3001\u6B63\u5219\u3001FTS5 \u6216\u89C4\u5219\u5F15\u64CE\u627F\u62C5\u8BED\u4E49\u7406\u89E3\u804C\u8D23\u3002"; /** * Positive examples that pass the behavioral change and triple tests. */ export declare const BEHAVIORAL_CHANGE_POSITIVE_EXAMPLES: string[]; /** * Negative examples that fail the behavioral change and triple tests. */ export declare const BEHAVIORAL_CHANGE_NEGATIVE_EXAMPLES: string[]; /** * The core admission gate prompt fragment. * Used by both extraction (to decide what to extract) and governance (to decide what to keep). */ export declare const BEHAVIORAL_CHANGE_TEST_PROMPT = "### \u884C\u4E3A\u53D8\u5316\u6D4B\u8BD5\uFF08\u51C6\u5165\u95E8\u7981\uFF09\n\u5BF9\u6BCF\u6761\u5019\u9009\u77E5\u8BC6\u95EE\u81EA\u5DF1\uFF1A\u300C\u5982\u679C\u8FD9\u6761\u77E5\u8BC6\u4E0D\u5B58\u5728\uFF0Cagent \u4F1A\u505A\u51FA\u4E0D\u540C\u7684\uFF08\u9519\u8BEF\u7684\uFF09\u51B3\u7B56\u5417\uFF1F\u300D\n- \u901A\u8FC7 \u2192 \u7EE7\u7EED\u6267\u884C\u4E09\u91CD\u6D4B\u8BD5\n- \u4E0D\u901A\u8FC7 \u2192 \u4E22\u5F03\uFF0C\u4E0D\u7BA1\u5185\u5BB9\u591A\u6709\u8DA3"; export declare function buildKnowledgeAdmissionBoundarySection(): string; /** * Build the full behavioral change test section for prompts. * Used in both extraction and governance contexts. */ export declare function buildBehavioralChangeTestSection(): string; /** * Prompt for governance to evaluate whether an existing entry still passes * the behavioral change and triple tests. Returns structured JSON. */ export declare const GOVERNANCE_BEHAVIORAL_TEST_PROMPT: string; //# sourceMappingURL=admission-criteria.d.ts.map