Share via


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
IEnumerable<String>

List of model ids to use in the composed model.

modelName
String

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

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

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 newer.

Applies to