Chunk
Retrieved knowledge fragment from document search.
Returned by retriever functions, injected into model context by search.file().
Properties
Section titled “Properties”score?
Section titled “score?”
optionalscore?:number
Relevance score (0-1).
source?
Section titled “source?”
optionalsource?:object
Source metadata for citation tracking.
section?
Section titled “section?”
optionalsection?:string
Section within the document.
title?
Section titled “title?”
optionaltitle?:string
Document title.
optionalurl?:string
Source URL or file path.
text:
string
Chunk text content.