From 99513fef2822d408ead3a74dd4d23380388c6c09 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Mon, 2 Jun 2025 06:04:14 +0000 Subject: [PATCH] Auto-generated API code --- src/api/types.ts | 9 ++++++++- src/api/typesWithBodyKey.ts | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index 09df714b5..48b15f302 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -13229,6 +13229,11 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi task_type: InferenceTaskType } +export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint { + inference_id: string + task_type: InferenceTaskTypeAlibabaCloudAI +} + export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint { inference_id: string task_type: InferenceTaskTypeJinaAi @@ -13342,6 +13347,8 @@ export type InferenceTaskSettings = any export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion' +export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding' + export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank' export interface InferenceTextEmbeddingByteResult { @@ -13462,7 +13469,7 @@ export interface InferencePutAlibabacloudRequest extends RequestBase { task_settings?: InferenceAlibabaCloudTaskSettings } -export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfo +export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI export interface InferencePutAmazonbedrockRequest extends RequestBase { task_type: InferenceAmazonBedrockTaskType diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 98581892e..571e4e560 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -13471,6 +13471,11 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi task_type: InferenceTaskType } +export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint { + inference_id: string + task_type: InferenceTaskTypeAlibabaCloudAI +} + export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint { inference_id: string task_type: InferenceTaskTypeJinaAi @@ -13584,6 +13589,8 @@ export type InferenceTaskSettings = any export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion' +export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding' + export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank' export interface InferenceTextEmbeddingByteResult { @@ -13715,7 +13722,7 @@ export interface InferencePutAlibabacloudRequest extends RequestBase { } } -export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfo +export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI export interface InferencePutAmazonbedrockRequest extends RequestBase { task_type: InferenceAmazonBedrockTaskType