Udostępnij za pośrednictwem


IModel.AddCustomPrebuiltIntentWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>> AddCustomPrebuiltIntentWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddCustomPrebuiltIntentWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PrebuiltDomainModelCreateObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>>
Public Function AddCustomPrebuiltIntentWithHttpMessagesAsync (appId As Guid, versionId As String, prebuiltDomainModelCreateObject As PrebuiltDomainModelCreateObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Guid))

Parameters

appId
Guid
versionId
String
prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to