Model - Get Composite Entity
Információt kér le egy összetett entitásról az alkalmazás egy verziójában.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
Az alkalmazás azonosítója. |
c
|
path | True |
string uuid |
Az összetett entitáselszívó azonosítója. |
Endpoint
|
path | True |
string |
Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
A verzióazonosító. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Az összetett entitásmodell adatai. |
|
Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Példák
Successful Get Composite Entity Info request
Sample Request
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/compositeentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73
Sample Response
{
"id": "bc1bae43-7904-48ad-a165-88b1910174f9",
"name": "Reservation",
"typeId": 4,
"readableType": "Composite Entity Extractor",
"children": [
{
"id": "63ebd752-4e81-4ce7-a698-b59b82bf5519",
"name": "Location::To"
},
{
"id": "a18eaa87-ecd9-4a67-a951-e70cf5b87c7e",
"name": "datetime"
}
],
"roles": [
{
"id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
"name": "role 1"
},
{
"id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
"name": "role 2"
}
]
}
Definíciók
Name | Description |
---|---|
Child |
Az alap gyermekentitás típusa. |
Composite |
Egy összetett entitáselszívó. |
Entity |
Entitáselszívó szerepkör |
Error |
Hibaválasz az API-ra irányuló művelet meghívásakor. |
Readable |
Az entitástípus teljes neve. |
ChildEntity
Az alap gyermekentitás típusa.
Name | Típus | Description |
---|---|---|
id |
string |
A gyermekentitáshoz tartozó azonosító (GUID). |
name |
string |
Egy gyermekentitás neve. |
CompositeEntityExtractor
Egy összetett entitáselszívó.
Name | Típus | Description |
---|---|---|
children |
Gyermekentitások listája. |
|
id |
string |
Az entitásmodell azonosítója. |
name |
string |
Az entitásmodell neve. |
readableType |
Az entitástípus teljes neve. |
|
roles |
A Pattern.Any Entitás-kinyerők listája. |
|
typeId |
integer |
Az entitásmodell típusazonosítója. |
EntityRole
Entitáselszívó szerepkör
Name | Típus | Description |
---|---|---|
id |
string |
Az entitásszerepkör azonosítója. |
name |
string |
Az entitásszerepkör neve. |
ErrorResponse
Hibaválasz az API-ra irányuló művelet meghívásakor.
Name | Típus | Description |
---|---|---|
errorType |
string |
ReadableType
Az entitástípus teljes neve.
Name | Típus | Description |
---|---|---|
Closed List Entity Extractor |
string |
|
Composite Entity Extractor |
string |
|
Entity Extractor |
string |
|
Hierarchical Child Entity Extractor |
string |
|
Hierarchical Entity Extractor |
string |
|
Intent Classifier |
string |
|
List Entity Extractor |
string |
|
Pattern.Any Entity Extractor |
string |
|
Prebuilt Entity Extractor |
string |
|
Regex Entity Extractor |
string |