你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Versions - Export Lu Format
将 LUIS 应用程序导出为文本格式。
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/export?format=lu
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
app
|
path | True |
string uuid |
应用程序 ID。 |
Endpoint
|
path | True |
string |
支持的认知服务终结点 (协议和主机名,例如: https://westus.api.cognitive.microsoft.com) 。 |
version
|
path | True |
string |
版本 ID。 |
format
|
query | True |
string |
Lu 格式扩展 |
请求头
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
object |
LU 格式的 LUIS 应用程序结构。 Media Types: "application/octet-stream" |
Other Status Codes |
错误响应。 Media Types: "application/octet-stream" |
安全性
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
示例
Successful Export Application Version
Sample Request
GET {Endpoint}/luis/authoring/v3.0-preview/apps/bd72e8d7-62b8-48f5-9dcb-e3b0588b803a/versions/0.2/export?format=lu
Sample Response
Content-Type: application/octet-stream
"> LUIS application information\\n> !# @app.name = App\\n> !# @app.versionId = 0.2\\n> !# @app.culture = en-us\\n> !# @app.luis_schema_version = 6.0.0\\n\\n\\n> # Intent definitions\\n\\n## intent1\\n\\n\\n@ intent intent1 usesFeature phraselist1\\n\\n## None\\n- a\\n- hi {@simpleentity1=guys}\\n\\n\\n@ intent None usesFeature phraselist1\\n\\n> # Entity definitions\\n\\n@ ml simpleentity1 usesFeature phraselist1\\n\\n\\n> # PREBUILT Entity definitions\\n\\n@ prebuilt datetimeV2\\n\\n\\n> # Phrase list definitions\\n\\n@ phraselist phraselist1(interchangeable) = \\n\t- why,where,when,what,how,who\\n\\n\\n> # List entities\\n\\n@ list closedlist = \\n\t- a :\\n\t\t- b\\n\t\t- c\\n\t\t- d\\n\\n\\n> # RegEx entities\""
定义
ErrorResponse
在 API 上调用操作时出现错误响应。
名称 | 类型 | 说明 |
---|---|---|
errorType |
string |