ExamplesOperations 클래스

예제Operations 작업입니다.

이 클래스를 직접 인스턴스화하지 말고 클라이언트 instance 만들어서 특성으로 연결해야 합니다.

상속
builtins.object
ExamplesOperations

생성자

ExamplesOperations(client, config, serializer, deserializer)

매개 변수

Name Description
client
필수

서비스 요청에 대한 클라이언트입니다.

config
필수

서비스 클라이언트의 구성입니다.

serializer
필수

개체 모델 직렬 변환기입니다.

deserializer
필수

개체 모델 역직렬 변환기입니다.

메서드

add

애플리케이션 버전에 레이블이 지정된 예제 발화를 추가합니다.

batch

레이블이 지정된 예제 발화의 일괄 처리를 애플리케이션 버전에 추가합니다.

delete

애플리케이션 버전에서 지정된 ID를 사용하여 레이블이 지정된 예제 발화를 삭제합니다.

list

애플리케이션 버전에서 검토할 예제 발화를 반환합니다.

add

애플리케이션 버전에 레이블이 지정된 예제 발화를 추가합니다.

add(app_id, version_id, example_label_object, enable_nested_children=False, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

example_label_object
필수

예상 의도 및 엔터티가 있는 레이블이 지정된 예제 발화입니다.

enable_nested_children

중첩/플랫 형식 토글

기본값: False
custom_headers

요청에 추가될 헤더

기본값: None
raw

는 역직렬화된 응답과 함께 직접 응답을 반환합니다.

기본값: False
operation_config
필수

작업 구성 재정의.

반환

형식 Description
<xref:msrest.pipeline.ClientRawResponse>

LabelExampleResponse 또는 ClientRawResponse if raw=true

예외

형식 Description

batch

레이블이 지정된 예제 발화의 일괄 처리를 애플리케이션 버전에 추가합니다.

batch(app_id, version_id, example_label_object_array, enable_nested_children=False, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

example_label_object_array
필수

예제 발화의 배열입니다.

enable_nested_children

중첩/플랫 형식 토글

기본값: False
custom_headers

요청에 추가될 헤더

기본값: None
raw

는 역직렬화된 응답과 함께 직접 응답을 반환합니다.

기본값: False
operation_config
필수

작업 구성 재정의.

반환

형식 Description
<xref:msrest.pipeline.ClientRawResponse>

list 또는 ClientRawResponse if raw=true

예외

형식 Description

delete

애플리케이션 버전에서 지정된 ID를 사용하여 레이블이 지정된 예제 발화를 삭제합니다.

delete(app_id, version_id, example_id, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

example_id
필수
int

예제 ID입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

는 역직렬화된 응답과 함께 직접 응답을 반환합니다.

기본값: False
operation_config
필수

작업 구성 재정의.

반환

형식 Description
<xref:msrest.pipeline.ClientRawResponse>

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

list

애플리케이션 버전에서 검토할 예제 발화를 반환합니다.

list(app_id, version_id, skip=0, take=100, enable_nested_children=False, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

skip
int

건너뛸 항목 수입니다. 기본값은 0입니다.

기본값: 0
take
int

반환할 항목 수입니다. 최대 페이지 크기는 500입니다. 기본값은 100입니다.

기본값: 100
enable_nested_children

중첩/플랫 형식 토글

기본값: False
custom_headers

요청에 추가될 헤더

기본값: None
raw

는 역직렬화된 응답과 함께 직접 응답을 반환합니다.

기본값: False
operation_config
필수

작업 구성 재정의.

반환

형식 Description
<xref:msrest.pipeline.ClientRawResponse>

list 또는 ClientRawResponse if raw=true

예외

형식 Description

특성

models

models = <module 'azure.cognitiveservices.language.luis.authoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\cognitiveservices\\language\\luis\\authoring\\models\\__init__.py'>