@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
13 lines (12 loc) • 662 B
TypeScript
import type { MiddlewarePreset } from "../types/index.js";
/**
* The presets every `MiddlewareFactory` registers. Built fresh on each call so
* a factory that edits its own `presets` map cannot change another factory's.
*
* `all` is deliberately not "everything": autoEvaluation and lifecycle are
* opt-in per call and stay out of it. `security` only switches guardrails on;
* it ships no word list and no model filter, so it redacts nothing until the
* caller supplies `badWords` or `modelFilter`.
*/
export declare function createBuiltInMiddlewarePresets(): MiddlewarePreset[];
export declare const BUILT_IN_MIDDLEWARE_PRESET_NAMES: readonly string[];