Skip to main content

Interface: IChunkRecord

Defined in: internal/vector-store/types.ts:248

A stored chunk: content plus vector plus tenant.

Properties​

chunk​

chunk: IChunk

Defined in: internal/vector-store/types.ts:252

The chunk as the MdChunker cut it; what a search returns.


embeddingModelId​

embeddingModelId: string

Defined in: internal/vector-store/types.ts:256

Model that produced the vector.


tenantId​

tenantId: string

Defined in: internal/vector-store/types.ts:250

The owner; every search is filtered by it.


vector​

vector: number[]

Defined in: internal/vector-store/types.ts:254

The embedding of the chunk's heading path and text, dimensions long.