Versions - Export
LUIS 애플리케이션을 JSON 형식으로 내보냅니다.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/export
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
애플리케이션 ID입니다. |
Endpoint
|
path | True |
string |
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
버전 ID입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
JSON 형식의 LUIS 애플리케이션 구조입니다. |
|
Other Status Codes |
오류 응답. |
보안
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
예제
Successful Export Application Version
Sample Request
GET {Endpoint}/luis/api/v2.0/apps/bd72e8d7-62b8-48f5-9dcb-e3b0588b803a/versions/0.2/export
Sample Response
{
"luis_schema_version": "3.0.0",
"versionId": "0.1",
"name": "LuisBot",
"desc": "",
"culture": "en-us",
"intents": [
{
"name": "HomeAutomation.TurnOff",
"inherits": {
"domain_name": "HomeAutomation",
"model_name": "TurnOff"
}
},
{
"name": "dateintent"
},
{
"name": "Help"
},
{
"name": "None"
},
{
"name": "SearchHotels"
},
{
"name": "ShowHotelsReviews"
}
],
"entities": [
{
"name": "AirportCode",
"roles": [
"destination"
]
},
{
"name": "Hotel",
"roles": []
}
],
"composites": [],
"closedLists": [],
"patternAnyEntities": [
{
"name": "patternAny1",
"explicitList": [],
"roles": [
"role1",
"role2"
]
}
],
"regex_entities": [
{
"name": "regex1",
"regexPattern": "[^a]+",
"roles": [
"regex role"
]
}
],
"prebuiltEntities": [
{
"name": "datetimeV2",
"roles": [
"datetime role"
]
}
],
"model_features": [
{
"name": "Near",
"mode": true,
"words": "near,around,close,nearby",
"activated": true
},
{
"name": "Show",
"mode": true,
"words": "show,find,look,search",
"activated": true
}
],
"regex_features": [
{
"name": "AirportCodeRegex",
"pattern": "[a-z]{3}",
"activated": true
}
],
"patterns": [
{
"pattern": "this is [a test] {patternAny1:role1}",
"intent": "Help"
}
],
"utterances": [
{
"text": "i need help",
"intent": "Help",
"entities": []
},
{
"text": "help me",
"intent": "Help",
"entities": []
},
{
"text": "tomorrow",
"intent": "dateintent",
"entities": []
},
{
"text": "search for hotels in seattle",
"intent": "SearchHotels",
"entities": []
},
{
"text": "what can i do?",
"intent": "Help",
"entities": []
},
{
"text": "next monday",
"intent": "dateintent",
"entities": []
},
{
"text": "next year",
"intent": "dateintent",
"entities": []
},
{
"text": "look for hotels in miami",
"intent": "SearchHotels",
"entities": []
},
{
"text": "show me hotels in california",
"intent": "SearchHotels",
"entities": []
},
{
"text": "show me the reviews of the amazing bot resort",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 23,
"endPos": 44
}
]
},
{
"text": "can i see the reviews of extended bot hotel?",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 25,
"endPos": 42
}
]
},
{
"text": "find reviews of hotelxya",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 16,
"endPos": 23
}
]
},
{
"text": "show me reviews of the amazing hotel",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 19,
"endPos": 35
}
]
},
{
"text": "what are the available options?",
"intent": "Help",
"entities": []
},
{
"text": "best hotels in seattle",
"intent": "SearchHotels",
"entities": []
},
{
"text": "hotels in los angeles",
"intent": "SearchHotels",
"entities": []
},
{
"text": "can you show me hotels from los angeles?",
"intent": "SearchHotels",
"entities": []
},
{
"text": "can you show me the reviews of the amazing resort & hotel",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 31,
"endPos": 56
}
]
},
{
"text": "what are the reviews of the hotel bot framework?",
"intent": "ShowHotelsReviews",
"entities": [
{
"entity": "Hotel",
"startPos": 24,
"endPos": 46
}
]
},
{
"text": "find hotels near eze",
"intent": "SearchHotels",
"entities": [
{
"entity": "AirportCode",
"startPos": 17,
"endPos": 19
}
]
},
{
"text": "where can i stay near nnn?",
"intent": "SearchHotels",
"entities": [
{
"entity": "AirportCode",
"startPos": 22,
"endPos": 24
}
]
},
{
"text": "show hotels near att airport",
"intent": "SearchHotels",
"entities": [
{
"entity": "AirportCode",
"startPos": 17,
"endPos": 19
}
]
},
{
"text": "find hotels near agl",
"intent": "SearchHotels",
"entities": [
{
"entity": "AirportCode",
"startPos": 17,
"endPos": 19
}
]
},
{
"text": "find hotels around eze airport",
"intent": "SearchHotels",
"entities": [
{
"entity": "AirportCode",
"startPos": 19,
"endPos": 21
}
]
},
{
"text": "01/7",
"intent": "dateintent",
"entities": []
}
]
}
정의
Name | Description |
---|---|
Closed |
내보낸 모델 - 목록 엔터티입니다. |
Error |
API에서 작업을 호출할 때 오류 응답입니다. |
Hierarchical |
|
JSONEntity |
내보낸 모델 - 발화에서 추출된 엔터티입니다. |
JSONModel |
내보낸 모델 - Phraselist 모델 기능입니다. |
JSONRegex |
내보낸 모델 - 패턴 기능입니다. |
JSONUtterance |
내보낸 모델 - 모델을 학습시키는 데 사용된 발화입니다. |
Luis |
내보낸 모델 - 내보낸 LUIS 애플리케이션입니다. |
Pattern |
Pattern.Any Entity Extractor. |
Pattern |
무늬 |
Prebuilt |
|
Prebuilt |
미리 빌드된 엔터티 추출기. |
Regex |
정규식 엔터티 추출기. |
Sub |
목록 엔터티에 대한 항목의 하위 목록입니다. |
ClosedList
내보낸 모델 - 목록 엔터티입니다.
Name | 형식 | Description |
---|---|---|
name |
string |
목록 엔터티의 이름입니다. |
roles |
string[] |
|
subLists |
목록 엔터티의 하위 목록입니다. |
ErrorResponse
API에서 작업을 호출할 때 오류 응답입니다.
Name | 형식 | Description |
---|---|---|
errorType |
string |
HierarchicalModel
Name | 형식 | Description |
---|---|---|
children |
string[] |
|
inherits | ||
name |
string |
|
roles |
string[] |
JSONEntity
내보낸 모델 - 발화에서 추출된 엔터티입니다.
Name | 형식 | Description |
---|---|---|
endPos |
integer |
추출된 엔터티가 끝나는 발화 내의 인덱스입니다. |
entity |
string |
엔터티 이름입니다. |
role |
string |
발화 내에서 엔터티의 역할입니다. |
startPos |
integer |
추출된 엔터티가 시작되는 발화 내의 인덱스입니다. |
JSONModelFeature
내보낸 모델 - Phraselist 모델 기능입니다.
Name | 형식 | Description |
---|---|---|
activated |
boolean |
기능이 사용하도록 설정되어 있는지를 나타냅니다. |
mode |
boolean |
교환 가능한 구 목록 기능은 학습의 동의어 목록으로 사용됩니다. 교환할 수 없는 구 목록은 학습을 위한 별도의 기능으로 사용됩니다. 따라서 교환할 수 없는 구 목록에 5개의 구가 포함된 경우 5개의 개별 기능에 매핑됩니다. 교환할 수 없는 구 목록을 LUIS 기존 어휘 기능에 추가할 추가 단어 모음으로 생각할 수 있습니다. 어휘집에 지정된 단어가 포함된 경우 해당 값이 1이고, 그렇지 않으면 0인 어휘 조회 기능으로 사용됩니다. 기본값은 true입니다. |
name |
string |
Phraselist 이름입니다. |
words |
string |
Phraselist를 나타내는 쉼표로 구분된 구 목록입니다. |
JSONRegexFeature
내보낸 모델 - 패턴 기능입니다.
Name | 형식 | Description |
---|---|---|
activated |
boolean |
패턴 기능을 사용할 수 있는지를 나타냅니다. |
name |
string |
기능 이름. |
pattern |
string |
일치시킬 정규식입니다. |
JSONUtterance
내보낸 모델 - 모델을 학습시키는 데 사용된 발화입니다.
Name | 형식 | Description |
---|---|---|
entities |
일치하는 엔터티입니다. |
|
intent |
string |
일치하는 의도입니다. |
text |
string |
발화입니다. |
LuisApp
내보낸 모델 - 내보낸 LUIS 애플리케이션입니다.
Name | 형식 | Description |
---|---|---|
closedLists |
목록 엔터티 목록입니다. |
|
composites |
복합 엔터티 목록입니다. |
|
culture |
string |
애플리케이션의 culture입니다. 예: en-us. |
desc |
string |
애플리케이션의 설명입니다. |
entities |
엔터티 목록입니다. |
|
intents |
의도 목록입니다. |
|
model_features |
모델 기능 목록입니다. |
|
name |
string |
애플리케이션 이름입니다. |
patternAnyEntities |
Pattern.Any 엔터티 목록입니다. |
|
patterns |
패턴 목록입니다. |
|
prebuiltEntities |
미리 빌드된 엔터티 목록입니다. |
|
regex_entities |
정규식 엔터티 목록입니다. |
|
regex_features |
패턴 기능 목록입니다. |
|
utterances |
예제 발화 목록입니다. |
|
versionId |
string |
내보낸 애플리케이션의 버전 ID입니다. |
PatternAny
Pattern.Any Entity Extractor.
Name | 형식 | Description |
---|---|---|
explicitList |
string[] |
|
name |
string |
|
roles |
string[] |
PatternRule
무늬
Name | 형식 | Description |
---|---|---|
intent |
string |
패턴이 속한 의도의 이름입니다. |
pattern |
string |
패턴 텍스트입니다. |
PrebuiltDomainObject
Name | 형식 | Description |
---|---|---|
domain_name |
string |
|
model_name |
string |
PrebuiltEntity
미리 빌드된 엔터티 추출기.
Name | 형식 | Description |
---|---|---|
name |
string |
|
roles |
string[] |
RegexEntity
정규식 엔터티 추출기.
Name | 형식 | Description |
---|---|---|
name |
string |
|
regexPattern |
string |
|
roles |
string[] |
SubClosedList
목록 엔터티에 대한 항목의 하위 목록입니다.
Name | 형식 | Description |
---|---|---|
canonicalForm |
string |
목록이 나타내는 표준 양식입니다. |
list |
string[] |
동의어의 목록입니다. |