Model - List Custom Prebuilt Entities
Získá všechny předem připravené entity používané ve verzi aplikace.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/customprebuiltentities
Parametry identifikátoru URI
Name | V | Vyžadováno | Typ | Description |
---|---|---|---|---|
app
|
path | True |
string (uuid) |
ID aplikace. |
Endpoint
|
path | True |
string |
Podporované koncové body služeb Cognitive Services (protokol a název hostitele, například: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
ID verze. |
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 předem připravených entit a jejich reprezentace. |
|
Other Status Codes |
Chybová odpověď. |
Zabezpečení
Ocp-Apim-Subscription-Key
Typ:
apiKey
V:
header
Příklady
Successful Get Custom Prebuilt Domain Entities request
Ukázkový požadavek
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/1.0/customprebuiltentities
Ukázková odpověď
[
{
"id": "b8e31be4-300f-455e-894b-6f079abca0a2",
"name": "Camera.AppName",
"typeId": 1,
"readableType": "Entity Extractor",
"customPrebuiltDomainName": "Camera",
"customPrebuiltModelName": "AppName",
"roles": [
{
"id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
"name": "role 1"
},
{
"id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
"name": "role 2"
}
]
}
]
Definice
Name | Description |
---|---|
Entity |
Extrakce entit. |
Entity |
Role extraktoru entit |
Error |
Chybová odpověď při vyvolání operace v rozhraní API |
Readable |
Úplný název typu entity. |
EntityExtractor
Extrakce entit.
Name | Typ | Description |
---|---|---|
customPrebuiltDomainName |
string |
Název domény. |
customPrebuiltModelName |
string |
Název záměru nebo název entity. |
id |
string (uuid) |
ID modelu entity. |
name |
string |
Název modelu entity. |
readableType |
Úplný název typu entity. |
|
roles |
Seznam extractorů entity Pattern.Any |
|
typeId |
integer |
ID typu Entity Model. |
EntityRole
Role extraktoru entit
Name | Typ | Description |
---|---|---|
id |
string (uuid) |
ID role entity. |
name |
string |
Název role entity. |
ErrorResponse
Chybová odpověď při vyvolání operace v rozhraní API
Name | Typ | Description |
---|---|---|
errorType |
string |
ReadableType
Úplný název typu entity.
Hodnota | Description |
---|---|
Closed List Entity Extractor | |
Composite Entity Extractor | |
Entity Extractor | |
Hierarchical Child Entity Extractor | |
Hierarchical Entity Extractor | |
Intent Classifier | |
List Entity Extractor | |
Pattern.Any Entity Extractor | |
Prebuilt Entity Extractor | |
Regex Entity Extractor |