Skip to content

Commit 6f80655

Browse files
Auto-generated API code
1 parent 6cb16ee commit 6f80655

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/reference.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8495,7 +8495,7 @@ client.inference.putCustom({ task_type, custom_inference_id, service, service_se
84958495
** *`task_type` (Enum("text_embedding" | "sparse_embedding" | "rerank" | "completion"))*: The type of the inference task that the model will perform.
84968496
** *`custom_inference_id` (string)*: The unique identifier of the inference endpoint.
84978497
** *`service` (Enum("custom"))*: The type of service supported for the specified task type. In this case, `custom`.
8498-
** *`service_settings` ({ headers, input_type, query_parameters, request, response, secret_parameters, url })*: Settings used to install the inference model.
8498+
** *`service_settings` ({ batch_size, headers, input_type, query_parameters, request, response, secret_parameters, url })*: Settings used to install the inference model.
84998499
These settings are specific to the `custom` service.
85008500
** *`chunking_settings` (Optional, { max_chunk_size, overlap, sentence_overlap, strategy })*: The chunking configuration object.
85018501
** *`task_settings` (Optional, { parameters })*: Settings to configure the inference task.

src/api/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5034,7 +5034,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
50345034

50355035
export interface AnalysisKuromojiAnalyzer {
50365036
type: 'kuromoji'
5037-
mode: AnalysisKuromojiTokenizationMode
5037+
mode?: AnalysisKuromojiTokenizationMode
50385038
user_dictionary?: string
50395039
}
50405040

@@ -13645,6 +13645,7 @@ export interface InferenceCustomResponseParams {
1364513645
}
1364613646

1364713647
export interface InferenceCustomServiceSettings {
13648+
batch_size?: integer
1364813649
headers?: any
1364913650
input_type?: any
1365013651
query_parameters?: any

src/api/typesWithBodyKey.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5111,7 +5111,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
51115111

51125112
export interface AnalysisKuromojiAnalyzer {
51135113
type: 'kuromoji'
5114-
mode: AnalysisKuromojiTokenizationMode
5114+
mode?: AnalysisKuromojiTokenizationMode
51155115
user_dictionary?: string
51165116
}
51175117

@@ -13889,6 +13889,7 @@ export interface InferenceCustomResponseParams {
1388913889
}
1389013890

1389113891
export interface InferenceCustomServiceSettings {
13892+
batch_size?: integer
1389213893
headers?: any
1389313894
input_type?: any
1389413895
query_parameters?: any

0 commit comments

Comments
 (0)