Model - Update Composite Entity
Uygulamanın bir sürümünde bileşik varlık Güncelleştirmeler.
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
Uygulama kimliği. |
c
|
path | True |
string uuid |
Bileşik varlık ayıklayıcı kimliği. |
Endpoint
|
path | True |
string |
Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve ana bilgisayar adı, örneğin: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
Sürüm kimliği. |
İstek Başlığı
Name | Gerekli | Tür | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
children |
string[] |
Alt varlıklar. |
name |
string |
Varlık adı. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Bileşik varlık başarıyla güncelleştirildi. |
|
Other Status Codes |
Hata Yanıtı. |
Güvenlik
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Örnekler
Successful Update Composite Entity Extractor request
Sample Request
PUT {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/compositeentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73
{
"name": "Renamed Entity"
}
Sample Response
{
"code": "Success",
"message": "Operation Successful"
}
Tanımlar
Name | Description |
---|---|
Composite |
Bileşik varlık ayıklayıcısı. |
Error |
API'de bir işlem çağrılırken hata yanıtı. |
Operation |
İşlem durumunun yanıtı. |
Operation |
Durum Kodu. |
CompositeEntityModel
Bileşik varlık ayıklayıcısı.
Name | Tür | Description |
---|---|---|
children |
string[] |
Alt varlıklar. |
name |
string |
Varlık adı. |
ErrorResponse
API'de bir işlem çağrılırken hata yanıtı.
Name | Tür | Description |
---|---|---|
errorType |
string |
OperationStatus
İşlem durumunun yanıtı.
Name | Tür | Description |
---|---|---|
code |
Durum Kodu. |
|
message |
string |
Durum ayrıntıları. |
OperationStatusType
Durum Kodu.
Name | Tür | Description |
---|---|---|
FAILED |
string |
|
Failed |
string |
|
Success |
string |