PredictionOperations class
Class representing a PredictionOperations.
Constructors
Prediction |
Create a PredictionOperations. |
Methods
Constructor Details
PredictionOperations(LUISRuntimeClientContext)
Create a PredictionOperations.
new PredictionOperations(client: LUISRuntimeClientContext)
Parameters
- client
- LUISRuntimeClientContext
Reference to the service client.
Method Details
getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)
Gets the predictions for an application slot.
function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, options?: PredictionGetSlotPredictionOptionalParams): Promise<PredictionGetSlotPredictionResponse>
Parameters
- appId
-
string
The application ID.
- slotName
-
string
The application slot name.
- predictionRequest
- PredictionRequest
The prediction request parameters.
The optional parameters
Returns
Promise<PredictionGetSlotPredictionResponse>
Promise<Models.PredictionGetSlotPredictionResponse>
getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams, ServiceCallback<PredictionResponse>)
function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, options: PredictionGetSlotPredictionOptionalParams, callback: ServiceCallback<PredictionResponse>)
Parameters
- appId
-
string
The application ID.
- slotName
-
string
The application slot name.
- predictionRequest
- PredictionRequest
The prediction request parameters.
The optional parameters
- callback
The callback
getSlotPrediction(string, string, PredictionRequest, ServiceCallback<PredictionResponse>)
function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, callback: ServiceCallback<PredictionResponse>)
Parameters
- appId
-
string
The application ID.
- slotName
-
string
The application slot name.
- predictionRequest
- PredictionRequest
The prediction request parameters.
- callback
The callback
getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams)
Gets the predictions for an application version.
function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, options?: PredictionGetVersionPredictionOptionalParams): Promise<PredictionGetVersionPredictionResponse>
Parameters
- appId
-
string
The application ID.
- versionId
-
string
The application version ID.
- predictionRequest
- PredictionRequest
The prediction request parameters.
The optional parameters
Returns
Promise<Models.PredictionGetVersionPredictionResponse>
getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams, ServiceCallback<PredictionResponse>)
function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, options: PredictionGetVersionPredictionOptionalParams, callback: ServiceCallback<PredictionResponse>)
Parameters
- appId
-
string
The application ID.
- versionId
-
string
The application version ID.
- predictionRequest
- PredictionRequest
The prediction request parameters.
The optional parameters
- callback
The callback
getVersionPrediction(string, string, PredictionRequest, ServiceCallback<PredictionResponse>)
function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, callback: ServiceCallback<PredictionResponse>)
Parameters
- appId
-
string
The application ID.
- versionId
-
string
The application version ID.
- predictionRequest
- PredictionRequest
The prediction request parameters.
- callback
The callback