Skip to main content

run(_:id:parameters:)

Runs the pipeline with the provided input.

Declaration

func run(_ pipelineInput: PipelineInput, id: String = "model_process", parameters: PipelineRunParameters = PipelineRunParameters.defaultParameters) async throws -> PipelineOutput

Return Value

A PipelineOutput object representing the output of the pipeline.

Discussion

  • pipelineInput: The input data for the pipeline.
  • executionIdentifier: The identifier for the pipeline execution (default value: “model_process”).

Note

Throws an error if the pipeline execution fails.