Semantic Chunker
Splits text into chunks based on semantic similarity, ensuring that related content stays together in the same chunk.
Response
Successful Response: A list of SemanticChunk objects.
Changes
Changed in 10 of the 20 revisions of this API.141426
- ○
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
delimrequest property default value changed from.!?to.!?request-property-default-value-changed
- ○
the
min_characters_per_sentencerequest property default value changed from1to12request-property-default-value-changed
- ○
the
min_chunk_sizerequest property default value2was removedrequest-property-default-value-removed
- ○
- ●
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
- ▲
- ▲
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/sentencesbecame optional for the status200response-property-became-optional
- ▲
the response property
items/sentences/items/end_indexbecame optional for the status200response-property-became-optional
- ▲
the response property
items/sentences/items/start_indexbecame optional for the status200response-property-became-optional
- ▲
the response property
items/sentences/items/textbecame optional for the status200response-property-became-optional
- ▲
the response property
items/sentences/items/token_countbecame 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
delimnew-optional-request-property
- ○
added the new optional request property
embedding_modelnew-optional-request-property
- ○
added the new optional request property
include_delimnew-optional-request-property
- ○
added the new optional request property
min_characters_per_sentencenew-optional-request-property
- ○
added the new optional request property
min_chunk_sizenew-optional-request-property
- ○
added the new optional request property
min_sentencesnew-optional-request-property
- ○
added the new optional request property
return_typenew-optional-request-property
- ○
added the new optional request property
similarity_windownew-optional-request-property
- ○
added the new optional request property
thresholdnew-optional-request-property
- ○
added the new optional request property
threshold_stepnew-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/sentencesto the response with the200statusresponse-required-property-added
- ○
- ▲
added the new required request property
argsnew-required-request-property
- ▲
the response's body type/format changed from
/toarray/for status200response-body-type-changed
- ●
deleted the
headerrequest parameterauthorizationrequest-parameter-removed
- ●
removed the request property
chunk_sizerequest-property-removed
- ●
removed the request property
delimrequest-property-removed
- ●
removed the request property
embedding_modelrequest-property-removed
- ●
removed the request property
include_delimrequest-property-removed
- ●
removed the request property
min_characters_per_sentencerequest-property-removed
- ●
removed the request property
min_chunk_sizerequest-property-removed
- ●
removed the request property
min_sentencesrequest-property-removed
- ●
removed the request property
return_typerequest-property-removed
- ●
removed the request property
similarity_windowrequest-property-removed
- ●
removed the request property
thresholdrequest-property-removed
- ●
removed the request property
threshold_steprequest-property-removed
- ○
removed
ErrorRESsubschema #1subschema #2subschema #3subschema #4from the response bodyanyOflist for the response status200response-body-any-of-removed
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ▲