Skip to content

Commit f630538

Browse files
authored
rename score to relevance_score (#3751)
1 parent 5e3c7b4 commit f630538

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/_types/Results.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ export class CompletionResult {
6767
/**
6868
* The rerank result object representing a single ranked document
6969
* id: the original index of the document in the request
70-
* score: the score of the document relative to the query
70+
* relevance_score: the relevance_score of the document relative to the query
7171
* text: Optional, the text of the document, if requested
7272
*/
7373
export class RankedDocument {
7474
index: integer
75-
score: float
75+
relevance_score: float
7676
text?: string
7777
}
7878

0 commit comments

Comments
 (0)