FormTrainingClient.StartCreateComposedModelAsync Method

Definition

Creates a composed model from a collection of existing trained models with labels.

public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation> StartCreateComposedModelAsync (System.Collections.Generic.IEnumerable<string> modelIds, string modelName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateComposedModelAsync : seq<string> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation>
override this.StartCreateComposedModelAsync : seq<string> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation>
Public Overridable Function StartCreateComposedModelAsync (modelIds As IEnumerable(Of String), Optional modelName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateComposedModelOperation)

Parameters

modelIds
System.Collections.Generic.IEnumerable<System.String>

List of model ids to use in the composed model.

modelName
System.String

An optional, user-defined name to associate with the model.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

System.Threading.Tasks.Task<CreateComposedModelOperation>

A CreateComposedModelOperation to wait on this long-running operation. Its Value upon successful completion will contain meta-data about the composed model.

Remarks

Method is only available for V2_1 and up.

Applies to