다음을 통해 공유


FeaturesOperations 클래스

기능옵터레이션 작업.

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

상속
builtins.object
FeaturesOperations

생성자

FeaturesOperations(client, config, serializer, deserializer)

매개 변수

Name Description
client
필수

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

config
필수

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

serializer
필수

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

deserializer
필수

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

메서드

add_entity_feature

애플리케이션 버전에서 엔터티에서 사용할 새 기능 관계를 추가합니다.

add_intent_feature

애플리케이션 버전에서 의도에서 사용할 새 기능 관계를 추가합니다.

add_phrase_list

애플리케이션 버전에서 새 phraselist 기능을 만듭니다.

delete_phrase_list

애플리케이션 버전에서 phraselist 기능을 삭제합니다.

get_phrase_list

애플리케이션 버전에서 phraselist 기능 정보를 가져옵니다.

list

애플리케이션 버전의 모든 추출 구문 목록 및 패턴 기능을 가져옵니다.

list_phrase_lists

애플리케이션 버전의 모든 phraselist 기능을 가져옵니다.

update_phrase_list

애플리케이션 버전에서 구문, 상태 및 구 목록 기능의 이름을 업데이트.

add_entity_feature

애플리케이션 버전에서 엔터티에서 사용할 새 기능 관계를 추가합니다.

add_entity_feature(app_id, version_id, entity_id, feature_relation_create_object, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

entity_id
필수
str

엔터티 추출기 ID입니다.

feature_relation_create_object
필수

기능 관계 정보 개체입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

add_intent_feature

애플리케이션 버전에서 의도에서 사용할 새 기능 관계를 추가합니다.

add_intent_feature(app_id, version_id, intent_id, feature_relation_create_object, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

intent_id
필수
str

의도 분류자 ID입니다.

feature_relation_create_object
필수

기능 관계 정보 개체입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

add_phrase_list

애플리케이션 버전에서 새 phraselist 기능을 만듭니다.

add_phrase_list(app_id, version_id, phraselist_create_object, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

phraselist_create_object
필수

Name, 쉼표로 구분된 구 및 isExchangeable 부울이 포함된 Phraselist 개체입니다. isExchangeable의 기본값은 true입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

int 또는 ClientRawResponse if raw=true

예외

형식 Description

delete_phrase_list

애플리케이션 버전에서 phraselist 기능을 삭제합니다.

delete_phrase_list(app_id, version_id, phraselist_id, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

phraselist_id
필수
int

삭제할 기능의 ID입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

get_phrase_list

애플리케이션 버전에서 phraselist 기능 정보를 가져옵니다.

get_phrase_list(app_id, version_id, phraselist_id, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

phraselist_id
필수
int

검색할 기능의 ID입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

PhraseListFeatureInfo 또는 ClientRawResponse if raw=true

예외

형식 Description

list

애플리케이션 버전의 모든 추출 구문 목록 및 패턴 기능을 가져옵니다.

list(app_id, version_id, skip=0, take=100, 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
custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

FeaturesResponseObject 또는 ClientRawResponse if raw=true

예외

형식 Description

list_phrase_lists

애플리케이션 버전의 모든 phraselist 기능을 가져옵니다.

list_phrase_lists(app_id, version_id, skip=0, take=100, 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
custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

list 또는 ClientRawResponse if raw=true

예외

형식 Description

update_phrase_list

애플리케이션 버전에서 구문, 상태 및 구 목록 기능의 이름을 업데이트.

update_phrase_list(app_id, version_id, phraselist_id, phraselist_update_object=None, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

phraselist_id
필수
int

업데이트할 기능의 ID입니다.

phraselist_update_object

의 새 값: - IsActive라는 부울만 있으면 기능의 상태 변경됩니다. - 이름, 패턴, 모드 및 IsActive라는 부울을 사용하여 기능을 업데이트합니다.

기본값: None
custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 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'>