Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions specification/inference/_types/CommonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,15 @@ export class JinaAITaskSettings {
* * `search`: Use it for storing embeddings of search queries run against a vector database to find relevant documents.
*/
task?: JinaAITextEmbeddingTask
/**
* For a `text_embedding` task, controls when text is split into chunks.
* When set to `true`, a request from Elasticsearch contains only chunks related to a single document. Instead of batching chunks across documents, Elasticsearch sends them in separate requests. This ensures that chunk embeddings retain context from the entire document, improving semantic quality.
*
* If a document exceeds the model's context limits, late chunking is automatically disabled for that document only and standard chunking is used instead.
*
* If not specified, defaults to `false`.
*/
late_chunking?: boolean
/**
* For a `rerank` task, the number of most relevant documents to return.
* It defaults to the number of the documents.
Expand Down