Versions - Export Lu Format
Exporta una aplicación de LUIS al formato de texto.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/export?format=lu
Parámetros de identificador URI
Nombre | En | Requerido | Tipo | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
El id. de aplicación. |
Endpoint
|
path | True |
string |
Puntos de conexión de Cognitive Services admitidos (protocolo y nombre de host, por ejemplo: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
Identificador de versión. |
format
|
query | True |
string |
Extensión de formato Lu |
Encabezado de la solicitud
Nombre | Requerido | Tipo | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Respuestas
Nombre | Tipo | Description |
---|---|---|
200 OK |
object |
Estructura de la aplicación de LUIS en formato LU. Media Types: "application/octet-stream" |
Other Status Codes |
Respuesta de error. Media Types: "application/octet-stream" |
Seguridad
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Ejemplos
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\""
Definiciones
ErrorResponse
Respuesta de error al invocar una operación en la API.
Nombre | Tipo | Description |
---|---|---|
errorType |
string |