UNPKG

@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

11 lines (10 loc) • 650 B
/** A family's compiled patterns; throws when the family is missing. */ export declare function getModelFamilyPatterns(name: string): RegExp[]; /** Whether a model id matches any pattern of a family. */ export declare function inModelFamily(name: string, modelId: string): boolean; /** The first rule whose case-insensitive `match` pattern matches the model id. */ export declare function firstModelRule<T extends { match: string; }>(rules: readonly T[], modelId: string): T | undefined; /** A copy of a named list of exact model ids from model-families.json; throws when missing. */ export declare function getModelList(name: string): string[];