Recursive Chunker
Recursively chunks documents into smaller chunks. It is a good choice for documents that are long but well structured.
Response
Successful Response: A list of RecursiveChunk objects.
Changes
Changed in 11 of the 20 revisions of this API.10920
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api removed without deprecation
api-removed-without-deprecation
This revision also has 19 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the
min_characters_per_chunkrequest property default value changed from1to12request-property-default-value-changed
- ○
- ●
removed the request property
textrequest-property-removed
- ●
- ▲
removed the media type
application/jsonfrom the request bodyrequest-body-media-type-removed
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ▲
- ●
removed the request property
rulesrequest-property-removed
- ○
added the new optional request property
langnew-optional-request-property
- ○
added the new optional request property
recipenew-optional-request-property
- ●
- ▲
request property
return_typewas restricted to a list of enum valuesrequest-property-became-enum
- ○
added the new
chunksenum value to the request propertyreturn_typerequest-property-enum-value-added
- ○
added the new
textsenum value to the request propertyreturn_typerequest-property-enum-value-added
- ▲
- ○
the request property
chunk_sizebecame optionalrequest-property-became-optional
- ○
- ▲
the response property
items/end_indexbecame optional for the status200response-property-became-optional
- ▲
the response property
items/levelbecame optional for the status200response-property-became-optional
- ▲
the response property
items/start_indexbecame optional for the status200response-property-became-optional
- ▲
the response property
items/textbecame optional for the status200response-property-became-optional
- ▲
the response property
items/token_countbecame optional for the status200response-property-became-optional
- ●
removed the request property
argsrequest-property-removed
- ○
added the new optional request property
min_characters_per_chunknew-optional-request-property
- ○
added the new optional request property
return_typenew-optional-request-property
- ○
added the new optional request property
rulesnew-optional-request-property
- ○
added the new optional request property
tokenizer_or_token_counternew-optional-request-property
- ○
added the new required request property
chunk_sizewith a default valuenew-required-request-property-with-default
- ▲
- ○
removed the non-success response with the status
401response-non-success-status-removed
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ○
removed the non-success response with the status
500response-non-success-status-removed
- ○
added the required property
items/levelto the response with the200statusresponse-required-property-added
- ○