PatternOperations 클래스

PatternOperations 작업.

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

상속
builtins.object
PatternOperations

생성자

PatternOperations(client, config, serializer, deserializer)

매개 변수

Name Description
client
필수

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

config
필수

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

serializer
필수

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

deserializer
필수

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

메서드

add_pattern

애플리케이션 버전에 패턴을 추가합니다.

batch_add_patterns

애플리케이션 버전에 패턴 일괄 처리를 추가합니다.

delete_pattern

애플리케이션의 버전에서 지정된 ID가 있는 패턴을 삭제합니다.

delete_patterns

애플리케이션 버전에서 패턴 목록을 삭제합니다.

list_intent_patterns

애플리케이션 버전에서 특정 의도에 대한 패턴을 반환합니다.

list_patterns

애플리케이션 버전에서 패턴을 가져옵니다.

update_pattern

애플리케이션 버전에서 패턴을 업데이트.

update_patterns

애플리케이션 버전에서 패턴을 업데이트.

add_pattern

애플리케이션 버전에 패턴을 추가합니다.

add_pattern(app_id, version_id, pattern=None, intent=None, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

pattern
str

패턴 텍스트입니다.

기본값: None
intent
str

패턴이 속한 의도의 이름입니다.

기본값: None
custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

PatternRuleInfo 또는 ClientRawResponse if raw=true

예외

형식 Description

batch_add_patterns

애플리케이션 버전에 패턴 일괄 처리를 추가합니다.

batch_add_patterns(app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

patterns
필수

패턴을 포함하는 JSON 배열입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

list 또는 ClientRawResponse if raw=true

예외

형식 Description

delete_pattern

애플리케이션의 버전에서 지정된 ID가 있는 패턴을 삭제합니다.

delete_pattern(app_id, version_id, pattern_id, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

pattern_id
필수
str

패턴 ID입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

delete_patterns

애플리케이션 버전에서 패턴 목록을 삭제합니다.

delete_patterns(app_id, version_id, pattern_ids, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

pattern_ids
필수

패턴 ID입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

OperationStatus 또는 ClientRawResponse if raw=true

예외

형식 Description

list_intent_patterns

애플리케이션 버전에서 특정 의도에 대한 패턴을 반환합니다.

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

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

intent_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

list_patterns

애플리케이션 버전에서 패턴을 가져옵니다.

list_patterns(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_pattern

애플리케이션 버전에서 패턴을 업데이트.

update_pattern(app_id, version_id, pattern_id, pattern, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

pattern_id
필수
str

패턴 ID입니다.

pattern
필수

패턴을 나타내는 개체입니다.

custom_headers

요청에 추가될 헤더

기본값: None
raw

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

기본값: False
operation_config
필수

작업 구성 재정의.

반환

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

PatternRuleInfo 또는 ClientRawResponse if raw=true

예외

형식 Description

update_patterns

애플리케이션 버전에서 패턴을 업데이트.

update_patterns(app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config)

매개 변수

Name Description
app_id
필수
str

애플리케이션 ID입니다.

version_id
필수
str

버전 ID입니다.

patterns
필수

배열은 패턴을 나타냅니다.

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'>