Skip to content

Commit ea21610

Browse files
committed
InferenceResponseResult.predicted_value is single-or-many
1 parent 1a137db commit ea21610

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)