Skip to content

Commit 567aa0c

Browse files
committed
fix: fix inaccuracies in chunking param descriptions
1 parent a0c96ea commit 567aa0c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

openapi.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,37 +194,36 @@
194194
"combine_under_n_chars": {
195195
"type": "integer",
196196
"title": "Combine Under N Chars",
197-
"description": "If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: 500",
197+
"description": "If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: max_characters",
198198
"example": 500
199199
},
200200
"max_characters": {
201201
"type": "integer",
202202
"title": "Max Characters",
203-
"description": "If chunking strategy is set, cut off new sections after reaching a length of n chars (hard max). Default: 1500",
203+
"description": "If chunking strategy is set, cut off new sections after reaching a length of n chars (hard max). Default: 500",
204204
"example": 1500
205205
},
206206
"multipage_sections": {
207207
"type": "boolean",
208208
"title": "Multipage Sections",
209-
"description": "If chunking strategy is set, determines if sections can span multiple sections. Default: true"
209+
"description": "If chunking strategy is set, determines if sections can span multiple pages. Only applies to by_title chunking strategy.Default: true"
210210
},
211211
"new_after_n_chars": {
212212
"type": "integer",
213213
"title": "New after n chars",
214-
"description": "If chunking strategy is set, cut off new sections after reaching a length of n chars (soft max). Default: 1500",
214+
"description": "If chunking strategy is set, cut off new sections after reaching a length of n chars (soft max). Default: max_characters (off)",
215215
"example": 1500
216216
},
217217
"overlap": {
218218
"type": "integer",
219219
"title": "Intra-chunk overlap",
220-
"description": "A prefix of this many trailing characters from prior text-split chunk is applied to second and later chunks formed from oversized elements by text-splitting. Default: None",
220+
"description": "A prefix of this many trailing characters from the prior text-split chunk is applied to second and later chunks formed from oversized elements by text-splitting. Default: None",
221221
"example": 25
222222
},
223223
"overlap_all": {
224224
"type": "boolean",
225225
"title": "Inter-chunk overlap",
226-
"description": "When True, overlap is also applied to 'normal' chunks formed by combining whole elements. Use with caution as this can introduce noise into otherwise clean semantic units. Default: None",
227-
"example": 1500
226+
"description": "When True, overlap is also applied to 'normal' chunks formed by combining whole elements. Use with caution as this can introduce noise into otherwise clean semantic units. Default: None"
228227
},
229228
"extract_image_block_types": {
230229
"items": {

0 commit comments

Comments
 (0)