ChunkFragmentOut
| Property | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | A 24-character hexadecimal MongoDB ObjectId string. |
filename | string | Yes | |
chunk_index | integer | Yes | Index of the resolved chunk, as assigned during ingestion. |
fragment | string | Yes | The chunk's original fragment text. |
fragment_source | enum | Yes | Whether the fragment came from the doc-chunker's document.json or from the chunk's own stored text. One of: document_json, chunk_text. |
neighbors_before | string[] | No | Text of the neighboring fragments/chunks immediately before the target, if requested. Default: []. |
neighbors_after | string[] | No | Text of the neighboring fragments/chunks immediately after the target, if requested. Default: []. |
full_file | string | null | No | The whole reconstructed file content, if requested. |
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.