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
4 changes: 4 additions & 0 deletions specification/inference/_types/CommonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1339,12 +1339,16 @@ export class ElasticsearchServiceSettings {
*
* When `long_document_strategy` is set to `chunk`, Elasticsearch splits each document into smaller parts but still returns a single score per document.
* That score reflects the highest relevance score among all chunks.
* @availability stack stability=experimental visibility=public
* @availability serverless stability=experimental visibility=public
*/
long_document_strategy?: string
/**
* Only for the `rerank` task type.
* Limits the number of chunks per document that are sent for inference when chunking is enabled.
* If not set, all chunks generated for the document are processed.
* @availability stack stability=experimental visibility=public
* @availability serverless stability=experimental visibility=public
*/
max_chunks_per_doc?: integer
}
Expand Down