Apps - List Available Custom Prebuilt Domains
Lekéri az összes elérhető egyéni előre összeállított tartományt az összes kultúrához.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/customprebuiltdomains
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com). |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Visszaadja az összes előre összeállított egyéni tartomány és azok szándékainak/entitásainak listáját. |
|
Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Példák
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"
}
]
}
]
Definíciók
Name | Description |
---|---|
Error |
Hibaválasz az API-ra irányuló művelet meghívásakor. |
Prebuilt |
Előre összeállított tartomány. |
Prebuilt |
ErrorResponse
Hibaválasz az API-ra irányuló művelet meghívásakor.
Name | Típus | Description |
---|---|---|
errorType |
string |
PrebuiltDomain
Előre összeállított tartomány.
Name | Típus | Description |
---|---|---|
culture |
string |
|
description |
string |
|
entities | ||
examples |
string |
|
intents | ||
name |
string |
PrebuiltDomainItem
Name | Típus | Description |
---|---|---|
description |
string |
|
examples |
string |
|
name |
string |