Skip to main content

Interface: LibraryPlanOptions

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:332

What planSource needs beside the source.

Properties​

embedding​

embedding: LibraryEmbedding

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:333


inputs​

inputs: string[]

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:339

The exact text the embedder is sent for each passage, in order, one per passage: what the host embeds after its own redaction and cut. A passage keeps a stored passage's vector when the stored one was embedded from the same input, model and dimensions.


newId()?​

optional newId: () => string

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:344

The part after # of a new passage's id, holding no #. A random UUID by default; it never comes from the passage's content.

Returns​

string