Skip to content

Commit 3b81238

Browse files
authored
Chunking: Add TableChunk elements example (#694)
1 parent 430db53 commit 3b81238

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

ui/chunking.mdx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,38 @@ Here are a few examples:
5959
}
6060
```
6161

62+
```json
63+
{
64+
"type": "TableChunk",
65+
"element_id": "57602d200f123a317637eb57596ab488",
66+
"text": "Term Definition Team A team is defined as a social",
67+
"metadata": {
68+
"filetype": "application/pdf",
69+
"languages": [
70+
"eng"
71+
],
72+
"orig_elements": "eJy...<full-content-redacted-for-brevity>...Ys=",
73+
"page_number": 5
74+
},
75+
76+
77+
},
78+
{
79+
"type": "TableChunk",
80+
"element_id": "4fe0a26a9f38c16b1ac2eedb4460db61",
81+
"text": "unit of more than two people with specified roles",
82+
"metadata": {
83+
"filetype": "application/pdf",
84+
"is_continuation": true,
85+
"languages": [
86+
"eng"
87+
],
88+
"orig_elements": "eJy...<full-content-redacted-for-brevity>...w==",
89+
"page_number": 5
90+
}
91+
}
92+
```
93+
6294
The following sections provide information about the available chunking strategies and their settings.
6395

6496
<Note>You can change a workflow's preconfigured strategy only through [Custom](/ui/workflows#create-a-custom-workflow) workflow settings.</Note>

0 commit comments

Comments
 (0)