Skip to content

Commit e2cc2dc

Browse files
floberndgithub-actions[bot]
authored andcommitted
InferenceResponseResult.predicted_value is single-or-many (#2606)
(cherry picked from commit 8ad5cda)
1 parent 928c0ad commit e2cc2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification/ml/_types/inference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export class InferenceResponseResult {
475475
* For regression models, its a numerical value
476476
* For classification models, it may be an integer, double, boolean or string depending on prediction type
477477
*/
478-
predicted_value?: PredictedValue[]
478+
predicted_value?: PredictedValue | PredictedValue[]
479479
/**
480480
* For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted
481481
* value.

0 commit comments

Comments
 (0)