Apps - List Available Custom Prebuilt Domains
Získá všechny dostupné vlastní předem připravené domény pro všechny jazykové verze.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/customprebuiltdomains
Parametry identifikátoru URI
Name | V | Vyžadováno | Typ | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Podporované koncové body služeb Cognitive Services (protokol a název hostitele, například: https://westus.api.cognitive.microsoft.com). |
Hlavička požadavku
Name | Vyžadováno | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Odpovědi
Name | Typ | Description |
---|---|---|
200 OK |
Vrátí seznam všech vlastních předem připravených domén a jejich reprezentace záměrů nebo entit. |
|
Other Status Codes |
Odpověď na chybu. |
Zabezpečení
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Příklady
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"
}
]
}
]
Definice
Name | Description |
---|---|
Error |
Chybová odpověď při vyvolání operace v rozhraní API |
Prebuilt |
Předem připravená doména. |
Prebuilt |
ErrorResponse
Chybová odpověď při vyvolání operace v rozhraní API
Name | Typ | Description |
---|---|---|
errorType |
string |
PrebuiltDomain
Předem připravená doména.
Name | Typ | Description |
---|---|---|
culture |
string |
|
description |
string |
|
entities | ||
examples |
string |
|
intents | ||
name |
string |
PrebuiltDomainItem
Name | Typ | Description |
---|---|---|
description |
string |
|
examples |
string |
|
name |
string |