Skip to content

Chunk

Retrieved knowledge fragment from document search. Returned by retriever functions, injected into model context by search.file().

optional score?: number

Relevance score (0-1).


optional source?: object

Source metadata for citation tracking.

optional section?: string

Section within the document.

optional title?: string

Document title.

optional url?: string

Source URL or file path.


text: string

Chunk text content.