You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new `.metadata.orig_elements` feature for chunking introduces a new
chunking parameter to turn it off when not wanted.
Add that parameter to `openapi.json` so it makes its way to the SDKs
etc.
Copy file name to clipboardExpand all lines: openapi.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,11 @@
197
197
"description": "If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: max_characters",
198
198
"example": 500
199
199
},
200
+
"include_orig_elements": {
201
+
"type": "boolean",
202
+
"title": "Original-elements flag",
203
+
"description": "When True (the default), the elements used to form a chunk appear in `.metadata.orig_elements` for that chunk. Only applies when chunking is specified using the `chunking_strategy` argument."
0 commit comments