Skip to content

Commit c4abd4a

Browse files
github-actions[bot]jonathan-buttnerpquentin
authored
Adding batch size to custom service (#5523) (#5525)
* Adding batch size * Updating batch size info with link (cherry picked from commit 83b69f4) Co-authored-by: Jonathan Buttner <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent 545412e commit c4abd4a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

specification/_doc_ids/table.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,7 @@ security-saml-guide,https://www.elastic.co/docs/deploy-manage/users-roles/cluste
854854
security-settings-api-keys,https://www.elastic.co/docs/reference/elasticsearch/configuration-reference/security-settings#api-key-service-settings,,
855855
security-settings-hashing,https://www.elastic.co/docs/reference/elasticsearch/configuration-reference/security-settings#hashing-settings,,
856856
security-user-cache,https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-user-cache,,
857+
sematic-text-chunking,https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text#auto-text-chunking,,
857858
service-accounts,https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/service-accounts,,
858859
set-processor,https://www.elastic.co/docs/reference/enrich-processor/set-processor,,
859860
shape,https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/shape,,

specification/inference/_types/CommonTypes.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,13 @@ export class CohereTaskSettings {
946946
}
947947

948948
export class CustomServiceSettings {
949+
/**
950+
* Specifies the batch size used for the semantic_text field. If the field is not provided, the default is 10.
951+
* The batch size is the maximum number of inputs in a single request to the upstream service.
952+
* The chunk within the batch are controlled by the selected chunking strategy for the semantic_text field.
953+
* @ext_doc_id sematic-text-chunking
954+
*/
955+
batch_size?: integer
949956
/**
950957
* Specifies the HTTP header parameters – such as `Authentication` or `Content-Type` – that are required to access the custom service.
951958
* For example:

0 commit comments

Comments
 (0)