diff --git a/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json b/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json index 8138b9ad27c3e27481d7030bf5c302305b4bc492..98205ef3b97a05e189d3c182074027226504e165 100644 --- a/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json +++ b/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json @@ -1,7 +1,7 @@ { "intentName": "FindEBicycle", "intentVersion": "1.0.2", - "llmDescription": "寻找电动自行车", + "llmDescription": "寻找电动车", "keywords": ["FindEBicycle"], "parameters": { "type": "object", diff --git a/compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json b/compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json index 301629d60bf8fce838230dcbb7719ec427ab8d4e..0a217d0f39d1228584ee52525035a390d7500ab7 100644 --- a/compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json +++ b/compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json @@ -22,7 +22,19 @@ "type": "string", "maxLength": 1500 } - } + }, + "oneOf": [ + { + "required": [ + "entityId" + ] + }, + { + "required": [ + "shareLink" + ] + } + ] }, "result": { "type": "object", diff --git a/compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json index 7cb9cd464da5ea03e31c545a77e017c271c6b855..babbb3797999eb3d4c5b56a872516a6af9989e05 100644 --- a/compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json +++ b/compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json @@ -9,9 +9,6 @@ "enum": [ "entityId" ], - "required": [ - "entityId" - ], "properties": { "entityId": { "description": "数据唯一标识", @@ -19,7 +16,10 @@ "maxLength": 64 } } - } + }, + "required": [ + "entityId" + ] }, "result": { "type": "object",