Skip to main content

PipelineSteps.PredictRows method

Creates a prediction step for one or more rows of input values.

public static IPipelineStep PredictRows(string inferenceType,
IReadOnlyList<IReadOnlyList<JsonElement>> inputRows,
PipelinePredictionInputKind inputKind = PipelinePredictionInputKind.Transformed,
PipelineCallbacks? callbacks = null, int requestTimeoutSeconds = 200)
parameterdescription
inferenceTypeThe requested inference operation.
inputRowsThe rows of JSON values supplied for inference.
inputKindWhether the input values are raw or transformed.
callbacksThe optional callbacks associated with the operation or step.
requestTimeoutSecondsThe requested timeout in seconds.

Return Value​

The configured pipeline step.

See Also​