Skip to main content

Interface: CorpusChunk

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1282

A chunk of corpus content with optional pre-computed embedding. Used during corpus ingestion into the vector store.

Properties​

content​

content: string

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1287

The text content of the chunk.


embedding?​

optional embedding: number[]

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1299

Pre-computed embedding vector. When present, the ingestion pipeline can skip embedding generation for this chunk.


heading​

heading: string

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1290

Section heading or title the chunk belongs to.


id​

id: string

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1284

Unique identifier for the chunk.


sourcePath​

sourcePath: string

Defined in: packages/agentos/src/orchestration/pipeline/query/types.ts:1293

File path or document source path this chunk was extracted from.