@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
9 lines (8 loc) • 466 B
TypeScript
import type { CondensationPromptValidation } from "../types/index.js";
/**
* Check a condensation prompt template for the placeholders Hippocampus
* expects. Pure — never logs or throws. `valid` is false only when a
* structural placeholder (`OLD_MEMORY` / `NEW_CONTENT`) is missing;
* a missing `MAX_WORDS` is reported in `missing` but leaves `valid` true.
*/
export declare function validateCondensationPrompt(prompt: string): CondensationPromptValidation;