diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index bb3b38463d..3bbb2b12df 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -73894,7 +73894,7 @@ "index": { "type": "number" }, - "score": { + "relevance_score": { "type": "number" }, "text": { @@ -73903,7 +73903,7 @@ }, "required": [ "index", - "score" + "relevance_score" ] }, "_types:StreamResult": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 80982446e2..27d0f7a302 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -46472,7 +46472,7 @@ "index": { "type": "number" }, - "score": { + "relevance_score": { "type": "number" }, "text": { @@ -46481,7 +46481,7 @@ }, "required": [ "index", - "score" + "relevance_score" ] }, "inference.unified_inference:Message": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index d2d4b16e79..5e305abd9a 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -123507,7 +123507,7 @@ } }, { - "name": "score", + "name": "relevance_score", "required": true, "type": { "kind": "instance_of", diff --git a/output/schema/schema.json b/output/schema/schema.json index e04fb6515e..4743e82923 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -146198,7 +146198,7 @@ } }, { - "name": "score", + "name": "relevance_score", "required": true, "type": { "kind": "instance_of", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7e7b7c662d..ec73a18bb4 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -13016,7 +13016,7 @@ export interface InferenceInferenceResult { export interface InferenceRankedDocument { index: integer - score: float + relevance_score: float text?: string } diff --git a/specification/inference/_types/Results.ts b/specification/inference/_types/Results.ts index 54a5ddda9d..d09b99ef3a 100644 --- a/specification/inference/_types/Results.ts +++ b/specification/inference/_types/Results.ts @@ -72,7 +72,7 @@ export class CompletionResult { */ export class RankedDocument { index: integer - score: float + relevance_score: float text?: string }