Поделиться через


Versions - Export Lu Format

Экспортирует приложение LUIS в текстовый формат.

GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/export?format=lu

Параметры URI

Имя В Обязательно Тип Описание
appId
path True

string

uuid

Код приложения.

Endpoint
path True

string

Поддерживаемые конечные точки Cognitive Services (протокол и имя узла, например : https://westus.api.cognitive.microsoft.com).

versionId
path True

string

Идентификатор версии.

format
query True

string

Расширение формата Lu

Заголовок запроса

Имя Обязательно Тип Описание
Ocp-Apim-Subscription-Key True

string

Ответы

Имя Тип Описание
200 OK

object

Структура приложения LUIS в формате LU.

Media Types: "application/octet-stream"

Other Status Codes

ErrorResponse

Ответ на ошибку.

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