Train.GetStatusWithHttpMessagesAsync(Guid, String, Dictionary<String,List<String>>, CancellationToken) Train.GetStatusWithHttpMessagesAsync(Guid, String, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Gets the training status of all models (intents and entities) for the specified LUIS app. You must call the train API to train the LUIS app before you call this API to get training status. "appID" specifies the LUIS app ID. "versionId" specifies the version number of the LUIS app. For example, "0.1".

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelTrainingInfo>>> GetStatusWithHttpMessagesAsync (Guid appId, string versionId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusWithHttpMessagesAsync : Guid * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelTrainingInfo>>>
override this.GetStatusWithHttpMessagesAsync : Guid * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelTrainingInfo>>>

Parameters

appId
Guid Guid

The application ID.

versionId
String String

The version ID.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.HttpOperationResponse<IList<ModelTrainingInfo>>>

Implements

Exceptions

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Thrown when a required parameter is null

Applies to