Aracılığıyla paylaş


Model - Add Composite Entity

Uygulamanın bir sürümüne bileşik varlık ayıklayıcısı ekler.

POST {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities

URI Parametreleri

Name İçinde Gerekli Tür Description
appId
path True

string

uuid

Uygulama 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
201 Created

string

Oluşturulan Modelin kimliği.

Other Status Codes

ErrorResponse

Hata Yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Örnekler

Successful Create Composite Entity Extractor

Sample Request

POST {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/compositeentities


{
  "name": "Reservation",
  "children": [
    "Location::To",
    "datetime"
  ]
}

Sample Response

"bc1bae43-7904-48ad-a165-88b1910174f9"

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ı.

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