From f493d3c21c256b04eea3be03c93ac58f3bdfc5c2 Mon Sep 17 00:00:00 2001 From: Paul Cornell Date: Mon, 21 Jul 2025 08:47:47 -0700 Subject: [PATCH 1/2] Chunking: Add TableChunk element examples --- ui/chunking.mdx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/ui/chunking.mdx b/ui/chunking.mdx index dba5cf4e..1b154522 100644 --- a/ui/chunking.mdx +++ b/ui/chunking.mdx @@ -59,6 +59,38 @@ Here are a few examples: } ``` +```json +{ + "type": "TableChunk", + "element_id": "57602d200f123a317637eb57596ab488", + "text": "Term Definition Team A team is defined as a social", + "metadata": { + "filetype": "application/pdf", + "languages": [ + "eng" + ], + "orig_elements": "eJy......Ys=", + "page_number": 5 + }, + + +}, +{ + "type": "TableChunk" + "element_id": "4fe0a26a9f38c16b1ac2eedb4460db61", + "text": "unit of more than two people with specified roles", + "metadata": { + "filetype": "application/pdf", + "is_continuation": true, + "languages": [ + "eng" + ], + "orig_elements": "eJy......w==", + "page_number": 5 + } +} +``` + The following sections provide information about the available chunking strategies and their settings. You can change a workflow's preconfigured strategy only through [Custom](/ui/workflows#create-a-custom-workflow) workflow settings. From c8d1eb7d08f855945f278598591acd6aa9142595 Mon Sep 17 00:00:00 2001 From: Paul-Cornell Date: Mon, 21 Jul 2025 09:28:06 -0700 Subject: [PATCH 2/2] Apply suggestions from code review --- ui/chunking.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/chunking.mdx b/ui/chunking.mdx index 1b154522..e87e0882 100644 --- a/ui/chunking.mdx +++ b/ui/chunking.mdx @@ -76,7 +76,7 @@ Here are a few examples: }, { - "type": "TableChunk" + "type": "TableChunk", "element_id": "4fe0a26a9f38c16b1ac2eedb4460db61", "text": "unit of more than two people with specified roles", "metadata": {