Apps - List Available Custom Prebuilt Domains
Obtient tous les domaines prédéfinis personnalisés disponibles pour toutes les cultures.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/customprebuiltdomains
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Points de terminaison Cognitive Services pris en charge (protocole et nom d’hôte, par exemple : https://westus.api.cognitive.microsoft.com). |
En-tête de la demande
Nom | Obligatoire | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
Retourne une liste de tous les domaines prédéfinis personnalisés et de leur représentation des intentions/entités. |
|
Other Status Codes |
Réponse d’erreur. |
Sécurité
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Exemples
Successful Get Available Custom Prebuilt Domains request
Sample Request
GET {Endpoint}/luis/authoring/v3.0-preview/apps/customprebuiltdomains
Sample Response
[
{
"name": "taxi",
"culture": "en-us",
"description": "A custom prebuilt domain for taxi booking",
"examples": "book taxi x on friday at 6 pm, take me to Tinga's from Westin hotel with taxi lux",
"intents": [
{
"name": "book_taxi",
"description": "Requests/Books taxi",
"examples": "book taxi x on friday at 6 pm"
},
{
"name": "cancel_taxi",
"description": "Cancels taxi request",
"examples": "I just called an taxi SUV , please cancel, Cancel my taxi"
}
],
"entities": [
{
"name": "from_place_name",
"description": "Route starting point",
"examples": "find taxi x to take me to 9th street from space needle"
}
]
},
{
"name": "weather",
"culture": "en-us",
"description": "A custom prebuilt domain that gets weather forecast and condition",
"examples": "Show me the weather for this weekend, What's the weather?",
"intents": [
{
"name": "get_forecast",
"description": "Gets weather forecast",
"examples": "What's the weather like tomorrow?"
},
{
"name": "get_condition",
"description": "Gets weather condition",
"examples": "what's the average temperature in India in September?"
}
],
"entities": [
{
"name": "location",
"description": "Location of the queried weather",
"examples": "What's the weather like in Minneapolis"
},
{
"name": "unit",
"description": "Temperature measurement unit",
"examples": "Please change the weather from Fahrenheit to Celsius"
}
]
}
]
Définitions
Nom | Description |
---|---|
Error |
Réponse d’erreur lors de l’appel d’une opération sur l’API. |
Prebuilt |
Domaine prédéfini. |
Prebuilt |
ErrorResponse
Réponse d’erreur lors de l’appel d’une opération sur l’API.
Nom | Type | Description |
---|---|---|
errorType |
string |
PrebuiltDomain
Domaine prédéfini.
Nom | Type | Description |
---|---|---|
culture |
string |
|
description |
string |
|
entities | ||
examples |
string |
|
intents | ||
name |
string |
PrebuiltDomainItem
Nom | Type | Description |
---|---|---|
description |
string |
|
examples |
string |
|
name |
string |