Share via


LUISRuntimeClient class

Extends

コンストラクター

LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

LUISRuntimeClient クラスの新しいインスタンスを初期化します。

プロパティ

prediction

継承されたプロパティ

credentials
endpoint

継承されたメソッド

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

コンストラクターの詳細

LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

LUISRuntimeClient クラスの新しいインスタンスを初期化します。

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

パラメーター

credentials
ServiceClientCredentials

クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

endpoint

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など)。 https://westus.api.cognitive.microsoft.com

options
ServiceClientOptions

パラメーター オプション

プロパティの詳細

prediction

prediction: PredictionOperations

プロパティ値

継承されたプロパティの詳細

credentials

credentials: ServiceClientCredentials

プロパティ値

LUISRuntimeClientContext.credentialsから継承

endpoint

endpoint: string

プロパティ値

string

LUISRuntimeClientContext.endpointから継承

継承済みメソッドの詳細

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

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

パラメーター

operationArguments
OperationArguments

HTTP 要求のテンプレート値が設定される引数。

operationSpec
OperationSpec

httpRequest の設定に使用する OperationSpec。

callback

ServiceCallback<any>

応答を受信したときに呼び出すコールバック。

戻り値

Promise<RestResponse>

LUISRuntimeClientContext.sendOperationRequestから継承

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

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

パラメーター

戻り値

LUISRuntimeClientContext.sendRequestから継承