Model - Update Composite Entity
アプリケーションのバージョンで複合エンティティを更新します。
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
|
c
|
path | True |
string (uuid) |
複合エンティティ抽出器 ID。 |
|
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
|
version
|
path | True |
string |
バージョン ID。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
要求本文
| 名前 | 型 | 説明 |
|---|---|---|
| children |
string[] |
子エンティティ。 |
| name |
string |
エンティティ名。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
複合エンティティが正常に更新されました。 |
|
| Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
型:
apiKey
/:
header
例
Successful Update Composite Entity Extractor request
要求のサンプル
PUT {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/compositeentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73
{
"name": "Renamed Entity"
}
応答のサンプル
{
"code": "Success",
"message": "Operation Successful"
}
定義
| 名前 | 説明 |
|---|---|
|
Composite |
複合エンティティ抽出器。 |
|
Error |
API で操作を呼び出すときのエラー応答。 |
|
Operation |
操作の状態の応答。 |
|
Operation |
状態コード。 |
CompositeEntityModel
複合エンティティ抽出器。
| 名前 | 型 | 説明 |
|---|---|---|
| children |
string[] |
子エンティティ。 |
| name |
string |
エンティティ名。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| errorType |
string |
OperationStatus
操作の状態の応答。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
状態コード。 |
|
| message |
string |
状態の詳細。 |
OperationStatusType
状態コード。
| 値 | 説明 |
|---|---|
| Failed | |
| FAILED | |
| Success |