다음을 통해 공유


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에서 상속됨