@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
15 lines (14 loc) • 834 B
TypeScript
import type { HippocampusClientFactory, HippocampusConfig, HippocampusLike } from "../types/index.js";
/**
* Construct (or adopt) the Hippocampus client. `config.neurolink.instance`
* and `config.neurolink.credentials` are read by `@juspay/hippocampus`
* ≥0.2.0 itself (the peer floor is 0.2.1, which also fixes literal
* placeholder substitution), so condensation runs through the
* instance NeuroLink supplies (the one carrying this host's credentials)
* with no help from this side.
*
* Every path that disables memory logs at `error`: warnings are hidden at
* the default log level, and a host whose memory is silently off has no
* other way to learn it.
*/
export declare function initializeHippocampus(config: HippocampusConfig, injectedClient?: HippocampusLike | HippocampusClientFactory): HippocampusLike | null;