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

40 lines (39 loc) • 760 B
export type IndexDocument = { id: string; title: string; description: string; content: string; section: string; tags: string[]; path: string; }; export type RawSearchRecord = { objectID: string; title: string; url: string; content?: string; hierarchy: { lvl0?: string; lvl1?: string; lvl2?: string; lvl3?: string; }; }; export type SearchIndex = RawSearchRecord[]; export type SearchResult = { id: string; title: string; description: string; section: string; path: string; score: number; content?: string; }; export type SectionInfo = { name: string; pageCount: number; pages: { title: string; path: string; }[]; };