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) • 947 B
import type { CatalogEnvSource, CatalogKeySource, CatalogSetupSource, DecideCatalogJson, OpenAICompatCatalogEntry, ProviderCatalogJson, ProviderConfigOptions } from "../../types/index.js"; export declare function catalogCredentialsKey(entry: CatalogKeySource): string; export declare function catalogEnvVar(entry: CatalogEnvSource, kind: "apiKey" | "baseURL" | "model"): string; export declare function buildCatalogConfigOptions(entry: CatalogSetupSource): ProviderConfigOptions; export declare function freezeCatalogCopy<T>(value: T): T; export declare function getCatalogJsonEntries(): readonly ProviderCatalogJson[]; /** The `decide` entries, copied and frozen exactly as getCatalogJsonEntries() does. */ export declare function getDecideCatalogEntries(): readonly DecideCatalogJson[]; /** Build runtime provider entries with only the quirks each catalog opts into. */ export declare function buildCatalogEntries(): OpenAICompatCatalogEntry[];