FileProcessingStatus
Defined in: src/lib/processors/types.ts:142
What happened to one attached file during preprocessing — so the app can tell the user precisely which attachment the model could not read, and why.
extracted: its full text reached the modeltruncated: part of it reached the model (a size/row/image budget cut the rest)rendered_as_images: some or all pages were sent as images (scanned PDF)skipped: not processed (seereason)failed: processing was attempted and failed (seereason)
Properties
fileId
fileId:
string
Defined in: src/lib/processors/types.ts:143
fileName
fileName:
string
Defined in: src/lib/processors/types.ts:144
reason?
optionalreason:FileProcessingReason
Defined in: src/lib/processors/types.ts:146
status
status:
"failed"|"truncated"|"extracted"|"rendered_as_images"|"skipped"
Defined in: src/lib/processors/types.ts:145
Last updated on