PredictionOperations class

Klasse, die ein PredictionOperations-Objekt darstellt.

Konstruktoren

PredictionOperations(LUISRuntimeClientContext)

Erstellen Sie ein PredictionOperations-Objekt.

Methoden

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)

Ruft die Vorhersagen für einen Anwendungsslot ab.

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

Ruft die Vorhersagen für eine Anwendungsversion ab.

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

Details zum Konstruktor

PredictionOperations(LUISRuntimeClientContext)

Erstellen Sie ein PredictionOperations-Objekt.

new PredictionOperations(client: LUISRuntimeClientContext)

Parameter

client
LUISRuntimeClientContext

Verweis auf den Dienstclient.

Details zur Methode

getSlotPrediction(string, string, PredictionRequest, PredictionGetSlotPredictionOptionalParams)

Ruft die Vorhersagen für einen Anwendungsslot ab.

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

Parameter

appId

string

Die Anwendungs-ID.

slotName

string

Der Name des Anwendungsslots.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

options
PredictionGetSlotPredictionOptionalParams

Die optionalen Parameter

Gibt zurück

Promise<Models.PredictionGetSlotPredictionResponse>

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

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

Parameter

appId

string

Die Anwendungs-ID.

slotName

string

Der Name des Anwendungsslots.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

options
PredictionGetSlotPredictionOptionalParams

Die optionalen Parameter

callback

ServiceCallback<PredictionResponse>

Der Rückruf.

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

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

Parameter

appId

string

Die Anwendungs-ID.

slotName

string

Der Name des Anwendungsslots.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

callback

ServiceCallback<PredictionResponse>

Der Rückruf.

getVersionPrediction(string, string, PredictionRequest, PredictionGetVersionPredictionOptionalParams)

Ruft die Vorhersagen für eine Anwendungsversion ab.

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

Parameter

appId

string

Die Anwendungs-ID.

versionId

string

Die Anwendungsversions-ID.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

options
PredictionGetVersionPredictionOptionalParams

Die optionalen Parameter

Gibt zurück

Promise<Models.PredictionGetVersionPredictionResponse>

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

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

Parameter

appId

string

Die Anwendungs-ID.

versionId

string

Die Anwendungsversions-ID.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

options
PredictionGetVersionPredictionOptionalParams

Die optionalen Parameter

callback

ServiceCallback<PredictionResponse>

Der Rückruf.

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

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

Parameter

appId

string

Die Anwendungs-ID.

versionId

string

Die Anwendungsversions-ID.

predictionRequest
PredictionRequest

Die Vorhersageanforderungsparameter.

callback

ServiceCallback<PredictionResponse>

Der Rückruf.