This is a basic example to submit a chunking request for a specific chunker
and modelId
.
The POST request submits text to be split into chunks based on the CHUNKER
(chunking strategy) and MODEL_ID
sent in the request.
The API responds with the following information:
chunkingId
that is a unique UUID for the submitted chunking task, and can be used later to retrieve the results.
status
that indicates the current state of the chunking task.
IMPORTANT: The available use cases by chunker
are detailed in their own section in this specification.
The authentication and authorization access token.
application/json
"application/json"
Unique identifier for the model.
"gte-small"
Chunking strategy for the way text is split.
dynamic-newline
, dynamic-sentence
, regex-splitter
, semantic
, sentence
OK
This is the response to the POST chunking request submitted for a specific chunker
and modelId
.