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

13 lines (12 loc) • 360 B
import { EventEmitter } from "events"; export declare function getCartesiaWsUrl(): string; export declare class CartesiaStream extends EventEmitter { private ws; private contextId; private isReady; constructor(contextId: string); ready(): Promise<void>; send(text: string, cont?: boolean): void; flush(): void; close(): void; }