Skip to content

Commit 873ee9f

Browse files
Auto-generated API code
1 parent a92b3c4 commit 873ee9f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/api/types.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9359,8 +9359,6 @@ export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
93599359
lt?: T
93609360
/** Less than or equal to. */
93619361
lte?: T
9362-
from?: T | null
9363-
to?: T | null
93649362
}
93659363

93669364
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects'
@@ -22110,6 +22108,13 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
2211022108
task_type: InferenceTaskType
2211122109
}
2211222110

22111+
export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint {
22112+
/** The inference Id */
22113+
inference_id: string
22114+
/** The task type */
22115+
task_type: InferenceTaskTypeAlibabaCloudAI
22116+
}
22117+
2211322118
export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint {
2211422119
/** The inference Id */
2211522120
inference_id: string
@@ -22299,6 +22304,8 @@ export type InferenceTaskSettings = any
2229922304

2230022305
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion'
2230122306

22307+
export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding'
22308+
2230222309
export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank'
2230322310

2230422311
export interface InferenceTextEmbeddingByteResult {
@@ -22525,7 +22532,7 @@ export interface InferencePutAlibabacloudRequest extends RequestBase {
2252522532
querystring?: { [key: string]: any } & { task_type?: never, alibabacloud_inference_id?: never, chunking_settings?: never, service?: never, service_settings?: never, task_settings?: never }
2252622533
}
2252722534

22528-
export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfo
22535+
export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI
2252922536

2253022537
export interface InferencePutAmazonbedrockRequest extends RequestBase {
2253122538
/** The type of the inference task that the model will perform. */

0 commit comments

Comments
 (0)