Skip to content

Commit

Permalink
InferenceResponseResult.predicted_value is single-or-many (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd authored Jun 6, 2024
1 parent 1a137db commit 8ad5cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/ml/_types/inference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export class InferenceResponseResult {
* For regression models, its a numerical value
* For classification models, it may be an integer, double, boolean or string depending on prediction type
*/
predicted_value?: PredictedValue[]
predicted_value?: PredictedValue | PredictedValue[]
/**
* For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted
* value.
Expand Down

0 comments on commit 8ad5cda

Please sign in to comment.