js-bao-wss-client / DocumentIngestChunkUpload
Interface: DocumentIngestChunkUpload
One chunk of a bulk-load artifact, with the descriptor the server checks.
Properties
body
body:
Uint8Array<ArrayBufferLike> |Blob
The stored bytes themselves.
bytes
bytes:
number
The stored (gzipped) byte length, which the server re-measures.
firstId
firstId:
string
index
index:
number
The chunk's index within its model, ascending from 0.
lastId
lastId:
string
model
model:
string
rawBytes
rawBytes:
number
The raw byte length before compression.
rows
rows:
number
sha256
sha256:
string
SHA-256 of the stored bytes, hex, which the server re-computes.