你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Apps - List Available Custom Prebuilt Domains
Gets all the available custom prebuilt domains for all cultures.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/customprebuiltdomains
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com). |
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Name | Type | Description |
---|---|---|
200 OK |
Returns a list of all custom prebuilt domains and their intents/entities representation. |
|
Other Status Codes |
Error Response. |
Type:
apiKey
In:
header
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"
}
]
}
]
Name | Description |
---|---|
Error |
Error response when invoking an operation on the API. |
Prebuilt |
Prebuilt Domain. |
Prebuilt |
Error response when invoking an operation on the API.
Name | Type | Description |
---|---|---|
errorType |
string |
Prebuilt Domain.
Name | Type | Description |
---|---|---|
culture |
string |
|
description |
string |
|
entities | ||
examples |
string |
|
intents | ||
name |
string |
Name | Type | Description |
---|---|---|
description |
string |
|
examples |
string |
|
name |
string |