LUISRuntimeClient class

Extends

Konstruktorok

LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

Inicializálja a LUISRuntimeClient osztály új példányát.

Tulajdonságok

prediction

Örökölt tulajdonságok

credentials
endpoint

Örökölt metódusok

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Küldjön egy HTTP-kérést, amely a megadott OperationSpec paranccsal van feltöltve.

sendRequest(RequestPrepareOptions | WebResourceLike)

Küldje el a megadott httpRequest parancsot.

Konstruktor adatai

LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

Inicializálja a LUISRuntimeClient osztály új példányát.

new LUISRuntimeClient(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)

Paraméterek

credentials
ServiceClientCredentials

Az előfizetés hitelesítő adatai, amelyek egyedileg azonosítják az ügyfél-előfizetést.

endpoint

string

Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com).

options
ServiceClientOptions

A paraméter beállításai

Tulajdonság adatai

prediction

prediction: PredictionOperations

Tulajdonság értéke

Örökölt tulajdonság részletei

credentials

credentials: ServiceClientCredentials

Tulajdonság értéke

ÖrököltLUISRuntimeClientContext.credentials

endpoint

endpoint: string

Tulajdonság értéke

string

ÖRÖKÖLTLUISRuntimeClientContext.endpoint

Örökölt metódus részletei

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Küldjön egy HTTP-kérést, amely a megadott OperationSpec paranccsal van feltöltve.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

Paraméterek

operationArguments
OperationArguments

Azok az argumentumok, amelyekből a HTTP-kérelem sablonértékei ki lesznek töltve.

operationSpec
OperationSpec

A httpRequest feltöltéséhez használandó OperationSpec.

callback

ServiceCallback<any>

A visszahívás a válasz érkezésekor.

Válaszok

Promise<RestResponse>

Örökölt:LUISRuntimeClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

Küldje el a megadott httpRequest parancsot.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

Paraméterek

Válaszok

Örökölt: LUISRuntimeClientContext.sendRequest