diff --git a/output/schema/schema.json b/output/schema/schema.json index 6871a8ebc5..5ea18ad4d2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -127467,7 +127467,7 @@ } }, { - "name": "sparse_vector", + "name": "sparse_embedding", "required": false, "type": { "kind": "array_of", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index a3077e8cbc..81937d72e4 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -11437,7 +11437,7 @@ export type InferenceDenseVector = float[] export interface InferenceInferenceResult { text_embedding?: InferenceTextEmbeddingResult[] - sparse_vector?: InferenceSparseVector[] + sparse_embedding?: InferenceSparseVector[] } export interface InferenceModelConfig { diff --git a/specification/inference/_types/Results.ts b/specification/inference/_types/Results.ts index 0612ce8c04..b4e86fd28d 100644 --- a/specification/inference/_types/Results.ts +++ b/specification/inference/_types/Results.ts @@ -45,5 +45,5 @@ export class TextEmbeddingResult { */ export class InferenceResult { text_embedding?: Array - sparse_vector?: Array + sparse_embedding?: Array }