PredictionOperationsExtensions.GetSlotPredictionAsync 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<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
- operations
- IPredictionOperations
- appId
- Guid
- slotName
- String
- predictionRequest
- PredictionRequest
- cancellationToken
- CancellationToken