다음을 통해 공유


LUISAuthoringClient class

Extends

생성자

LUISAuthoringClient(ServiceClientCredentials, string, ServiceClientOptions)

LUISAuthoringClient 클래스의 새 인스턴스를 초기화합니다.

속성

apps
azureAccounts
examples
features
model
pattern
settings
train
versions

상속된 속성

credentials
endpoint

상속된 메서드

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

생성자 세부 정보

LUISAuthoringClient(ServiceClientCredentials, string, ServiceClientOptions)

LUISAuthoringClient 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

credentials
ServiceClientCredentials

클라이언트 구독을 고유하게 식별하는 구독 자격 증명입니다.

endpoint

string

지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).

options
ServiceClientOptions

매개 변수 옵션

속성 세부 정보

apps

apps: Apps

속성 값

azureAccounts

azureAccounts: AzureAccounts

속성 값

examples

examples: Examples

속성 값

features

features: Features

속성 값

model

model: Model

속성 값

pattern

pattern: Pattern

속성 값

settings

settings: Settings

속성 값

train

train: Train

속성 값

versions

versions: Versions

속성 값

상속된 속성 세부 정보

credentials

credentials: ServiceClientCredentials

속성 값

LUISAuthoringClientContext.credentials에서 상속됨

endpoint

endpoint: string

속성 값

string

LUISAuthoringClientContext.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>

LUISAuthoringClientContext.sendOperationRequest에서 상속됨

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

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

매개 변수

반환

LUISAuthoringClientContext.sendRequest에서 상속됨