ModelExtensions.AddIntentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Guid> AddIntentAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject intentCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member AddIntentAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
<Extension()>
Public Function AddIntentAsync (operations As IModel, appId As Guid, versionId As String, intentCreateObject As ModelCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)
Parameters
- operations
- IModel
- appId
- Guid
- versionId
- String
- intentCreateObject
- ModelCreateObject
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET