Skip to main content
Version: v1.0

run(_:id:parameters:)

Declaration​

func run(_ modelInput: ModelInput, id: String = "model_process", parameters: ModelRunParameters = .defaultParameters) async throws -> ModelOutput

Parameters​

modelInput

The input data for the model.

modelRunIdentifier

A unique identifier for the model run. Default is “model_process”.

runParameters

Parameters for the model run, such as polling wait time and retry limits.

Return Value​

The output of the model run.