共用方式為


PredictionOperationsExtensions.GetSlotPredictionAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionResponse> GetSlotPredictionAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.IPredictionOperations operations, Guid appId, string slotName, Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionRequest predictionRequest, bool? verbose = default, bool? showAllIntents = default, bool? log = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSlotPredictionAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.IPredictionOperations * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionRequest * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionResponse>
<Extension()>
Public Function GetSlotPredictionAsync (operations As IPredictionOperations, appId As Guid, slotName As String, predictionRequest As PredictionRequest, Optional verbose As Nullable(Of Boolean) = Nothing, Optional showAllIntents As Nullable(Of Boolean) = Nothing, Optional log As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PredictionResponse)

Parameters

appId
Guid
slotName
String
predictionRequest
PredictionRequest
verbose
Nullable<Boolean>
showAllIntents
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to