QnAMakerRuntimeClient class

Extends

コンストラクター

QnAMakerRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

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

プロパティ

runtime

継承されたプロパティ

credentials
runtimeEndpoint

継承されたメソッド

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

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

sendRequest(RequestPrepareOptions | WebResourceLike)

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

コンストラクターの詳細

QnAMakerRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

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

new QnAMakerRuntimeClient(credentials: ServiceClientCredentials, runtimeEndpoint: string, options?: ServiceClientOptions)

パラメーター

credentials
ServiceClientCredentials

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

runtimeEndpoint

string

QnA Maker App Service エンドポイント (例: https://{qnaservice-hostname}.azurewebsites.net)。

options
ServiceClientOptions

パラメーター オプション

プロパティの詳細

runtime

runtime: Runtime

プロパティ値

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

credentials

credentials: ServiceClientCredentials

プロパティ値

QnAMakerRuntimeClientContext.credentialsから継承

runtimeEndpoint

runtimeEndpoint: string

プロパティ値

string

QnAMakerRuntimeClientContext.runtimeEndpointから継承されます

継承済みメソッドの詳細

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>

QnAMakerRuntimeClientContext.sendOperationRequestから継承されます

sendRequest(RequestPrepareOptions | WebResourceLike)

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

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

パラメーター

戻り値

QnAMakerRuntimeClientContext.sendRequestから継承