Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion specification/inference/_types/Services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ export class InferenceEndpointInfoWatsonx extends InferenceEndpoint {
export class InferenceChunkingSettings {
/**
* 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).
* This value cannot be lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).
* This value should not exceed the window size for the associated model.
* @server_default 250
*/
max_chunk_size?: integer
Expand Down
3 changes: 2 additions & 1 deletion specification/inference/put_elser/PutElserRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export interface Request extends RequestBase {
}
body: {
/**
* The chunking configuration object.
* The chunking configuration object.
* Note that for ELSER endpoints, the max_chunk_size may not exceed `300`.
* @ext_doc_id inference-chunking
*/
chunking_settings?: InferenceChunkingSettings
Expand Down
Loading