Interface: IIngestReport
Defined in: internal/kb-ingestor/types.ts:166
Result of one ingestion.
Properties
chunksDeleted
chunksDeleted:
number
Defined in: internal/kb-ingestor/types.ts:172
The document's chunks removed before the new ones were written; 0 for a new document.
chunksWritten
chunksWritten:
number
Defined in: internal/kb-ingestor/types.ts:170
Chunks now in the index for the document; 0 when it failed.
docId
docId:
string
Defined in: internal/kb-ingestor/types.ts:168
The document ingested.
durationMs
durationMs:
number
Defined in: internal/kb-ingestor/types.ts:176
Wall time of the ingestion, check and embedding included.
error?
optionalerror?:string
Defined in: internal/kb-ingestor/types.ts:178
Only in the reports of reindexBook: why this document was not ingested. Its old chunks are still in the index.
tokens
tokens:
number
Defined in: internal/kb-ingestor/types.ts:174
Estimated tokens of the texts that were embedded (heading path + chunk text).