Skip to content

UploadDocumentChunk

← All HTTP schemas

A single ready-made chunk in an upload request.

Shape: object

Property Required Type Description Rules
index yes integer (int32) Sequence number within the source. pattern `^-?(?:0\
content yes string The chunk’s text.
embedding no array The chunk’s embedding. If empty, the server embeds it; if filled in, it is written as is and returns 400 if it does not match the store’s dimension.
metadata no object Optional metadata.