Skip to content

VectorEntry

A single entry to upsert into a vector index.

optional document?: string;

Original text content. Stored alongside the vector for retrieval.


id: string;

Unique identifier for this vector. Overwrites if exists.


optional metadata?: Record<string, unknown>;

Arbitrary key-value metadata for filtering.


vector: readonly number[];

Dense vector representation.