PredictionOperations class

Class representing a PredictionOperations.

Constructors

PredictionOperations(LUISRuntimeClientContext)

Create a PredictionOperations.

Methods

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)

Gets the predictions for an application slot.

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams, ServiceCallback<PredictionResponse>)
getSlotPrediction(string, string, PredictionRequest, ServiceCallback<PredictionResponse>)
getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams)

Gets the predictions for an application version.

getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams, ServiceCallback<PredictionResponse>)
getVersionPrediction(string, string, PredictionRequest, ServiceCallback<PredictionResponse>)

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.

options
PredictionGetSlotPredictionOptionalParams

The optional parameters

Returns

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.

options
PredictionGetSlotPredictionOptionalParams

The optional parameters

callback

ServiceCallback<PredictionResponse>

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

ServiceCallback<PredictionResponse>

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.

options
PredictionGetVersionPredictionOptionalParams

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.

options
PredictionGetVersionPredictionOptionalParams

The optional parameters

callback

ServiceCallback<PredictionResponse>

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

ServiceCallback<PredictionResponse>

The callback