Share via


PredictionOperations class

代表 PredictionOperations 的類別。

建構函式

PredictionOperations(LUISRuntimeClientContext)

建立 PredictionOperations。

方法

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)

取得應用程式位置的預測。

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

取得應用程式版本的預測。

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

建構函式詳細資料

PredictionOperations(LUISRuntimeClientContext)

建立 PredictionOperations。

new PredictionOperations(client: LUISRuntimeClientContext)

參數

client
LUISRuntimeClientContext

服務用戶端的參考。

方法詳細資料

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)

取得應用程式位置的預測。

function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, options?: PredictionGetSlotPredictionOptionalParams): Promise<PredictionGetSlotPredictionResponse>

參數

appId

string

應用程式識別碼。

slotName

string

應用程式位置名稱。

predictionRequest
PredictionRequest

預測要求參數。

傳回

Promise < Models.PredictionGetSlotPredictionResponse>

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

function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, options: PredictionGetSlotPredictionOptionalParams, callback: ServiceCallback<PredictionResponse>)

參數

appId

string

應用程式識別碼。

slotName

string

應用程式位置名稱。

predictionRequest
PredictionRequest

預測要求參數。

getSlotPrediction(string, string, PredictionRequest, ServiceCallback<PredictionResponse>)

function getSlotPrediction(appId: string, slotName: string, predictionRequest: PredictionRequest, callback: ServiceCallback<PredictionResponse>)

參數

appId

string

應用程式識別碼。

slotName

string

應用程式位置名稱。

predictionRequest
PredictionRequest

預測要求參數。

getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams)

取得應用程式版本的預測。

function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, options?: PredictionGetVersionPredictionOptionalParams): Promise<PredictionGetVersionPredictionResponse>

參數

appId

string

應用程式識別碼。

versionId

string

應用程式版本識別碼。

predictionRequest
PredictionRequest

預測要求參數。

傳回

Promise < Models.PredictionGetVersionPredictionResponse>

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

function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, options: PredictionGetVersionPredictionOptionalParams, callback: ServiceCallback<PredictionResponse>)

參數

appId

string

應用程式識別碼。

versionId

string

應用程式版本識別碼。

predictionRequest
PredictionRequest

預測要求參數。

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

function getVersionPrediction(appId: string, versionId: string, predictionRequest: PredictionRequest, callback: ServiceCallback<PredictionResponse>)

參數

appId

string

應用程式識別碼。

versionId

string

應用程式版本識別碼。

predictionRequest
PredictionRequest

預測要求參數。