Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8495,7 +8495,7 @@ client.inference.putCustom({ task_type, custom_inference_id, service, service_se
** *`task_type` (Enum("text_embedding" | "sparse_embedding" | "rerank" | "completion"))*: The type of the inference task that the model will perform.
** *`custom_inference_id` (string)*: The unique identifier of the inference endpoint.
** *`service` (Enum("custom"))*: The type of service supported for the specified task type. In this case, `custom`.
** *`service_settings` ({ headers, input_type, query_parameters, request, response, secret_parameters, url })*: Settings used to install the inference model.
** *`service_settings` ({ batch_size, headers, input_type, query_parameters, request, response, secret_parameters, url })*: Settings used to install the inference model.
These settings are specific to the `custom` service.
** *`chunking_settings` (Optional, { max_chunk_size, overlap, sentence_overlap, strategy })*: The chunking configuration object.
** *`task_settings` (Optional, { parameters })*: Settings to configure the inference task.
Expand Down
3 changes: 2 additions & 1 deletion src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5034,7 +5034,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {

export interface AnalysisKuromojiAnalyzer {
type: 'kuromoji'
mode: AnalysisKuromojiTokenizationMode
mode?: AnalysisKuromojiTokenizationMode
user_dictionary?: string
}

Expand Down Expand Up @@ -13645,6 +13645,7 @@ export interface InferenceCustomResponseParams {
}

export interface InferenceCustomServiceSettings {
batch_size?: integer
headers?: any
input_type?: any
query_parameters?: any
Expand Down
3 changes: 2 additions & 1 deletion src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5111,7 +5111,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {

export interface AnalysisKuromojiAnalyzer {
type: 'kuromoji'
mode: AnalysisKuromojiTokenizationMode
mode?: AnalysisKuromojiTokenizationMode
user_dictionary?: string
}

Expand Down Expand Up @@ -13889,6 +13889,7 @@ export interface InferenceCustomResponseParams {
}

export interface InferenceCustomServiceSettings {
batch_size?: integer
headers?: any
input_type?: any
query_parameters?: any
Expand Down