Aracılığıyla paylaş


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
appId
path True

string

uuid

Uygulama kimliği.

cEntityId
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).

versionId
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

OperationStatus

Bileşik varlık başarıyla güncelleştirildi.

Other Status Codes

ErrorResponse

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
CompositeEntityModel

Bileşik varlık ayıklayıcısı.

ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

OperationStatus

İşlem durumunun yanıtı.

OperationStatusType

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

OperationStatusType

Durum Kodu.

message

string

Durum ayrıntıları.

OperationStatusType

Durum Kodu.

Name Tür Description
FAILED

string

Failed

string

Success

string