The maximum size of a chunk in words.
This value cannot be higher than 300 or lower than 20 (for sentence strategy) or 10 (for word strategy).
overlap
number
The number of overlapping words for chunks.
It is applicable only to a word chunking strategy.
This value cannot be higher than half the max_chunk_size value.
sentence_overlap
number
The number of overlapping sentences for chunks.
It is applicable only for a sentence chunking strategy.
It can be either 1 or 0.
strategy
string
The chunking strategy: sentence or word.
service
stringRequired
The service type
service_settings
objectRequired
task_settings
object
inference_id
stringRequired
The inference Id
task_type
stringRequired
Values are sparse_embedding, text_embedding, rerank, completion, or chat_completion.
GET
/_inference/{inference_id}
curl \
--request GET 'http://api.example.com/_inference/{inference_id}' \
--header "Authorization: $API_KEY"