From da708b5b74d0f6a223100d1f3d59a41d5f4bd92d Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Fri, 13 Jun 2025 16:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=B2=89=E6=84=8F=E5=9B=BEtop11-47?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0json=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- .../schema/ContactCustomerService_1.0.1.json | 33 ++++++ .../schema/CreateNewAccount_1.0.1.json | 33 ++++++ .../schema/FindEBicycle_1.0.2.json | 67 ++++++++++++ .../schema/GetDinningNumber_1.0.1.json | 54 ++++++++++ .../schema/OpenScan_1.0.1.json | 65 +++++++++++ .../schema/PlayAudio_1.0.1.json | 51 +++++++++ .../schema/PlayMusicList_1.0.2.json | 77 +++++++++++++ .../schema/ReadBook_1.0.1.json | 46 ++++++++ .../schema/RechargeCallFee_1.0.1.json | 2 +- .../schema/RechargeTraffic_1.0.1.json | 48 +++++++++ .../schema/ReserveDinningTable_1.0.1.json | 69 ++++++++++++ .../SearchChargingStationLocal_1.0.2.json | 43 ++++++++ .../schema/SearchSmartDeviceLocal_1.0.1.json | 102 ++++++++++++++++++ .../schema/SendLogistics_1.0.1.json | 2 +- .../schema/ViewAirportLargeScreen_1.0.1.json | 53 +++++++++ .../schema/ViewAirportStatus_1.0.1.json | 53 +++++++++ .../schema/ViewAnnualAccount_1.0.1.json | 43 ++++++++ .../schema/ViewBlog_1.0.1.json | 48 +++++++++ .../schema/ViewBuyingHouseInfo_1.0.1.json | 49 +++++++++ .../schema/ViewColumn_1.0.1.json | 49 +++++++++ .../schema/ViewCommodity_1.0.2.json | 50 +++++++++ .../schema/ViewHospital_1.0.1.json | 47 ++++++++ .../schema/ViewLogistics_1.0.1.json | 2 +- .../ViewMarriageRegistration_1.0.1.json | 53 +++++++++ .../ViewMedicalInsuranceCode_1.0.1.json | 33 ++++++ .../ViewMedicalinsurancelnfo_1.0.1.json | 33 ++++++ .../schema/ViewMetroCrowdingInfo_1.0.1.json | 33 ++++++ .../schema/ViewPaymentCodes_1.0.1.json | 33 ++++++ .../schema/ViewPayment_1.0.1.json | 95 ++++++++++++++++ .../schema/ViewPhoneBill_1.0.1.json | 43 ++++++++ .../schema/ViewPhoneNumberBenefits_1.0.1.json | 33 ++++++ .../schema/ViewProvidentFundInfo_1.0.1.json | 33 ++++++ .../schema/ViewRankingList_1.0.1.json | 49 +++++++++ .../schema/ViewRealTimeBusRoute_1.0.2.json | 58 ++++++++++ .../schema/ViewRemain_1.0.1.json | 49 +++++++++ .../schema/ViewRentingHouseInfo_1.0.1.json | 49 +++++++++ .../schema/ViewShoppingGuide_1.0.1.json | 44 ++++++++ .../schema/ViewSmartDevice_1.0.1.json | 53 +++++++++ .../schema/ViewSocialSecurityInfo_1.0.2.json | 52 +++++++++ .../ViewSpecialAdditionalDeduction_1.0.1.json | 48 +++++++++ 40 files changed, 1874 insertions(+), 3 deletions(-) create mode 100644 compiler/src/userIntents_parser/schema/ContactCustomerService_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/CreateNewAccount_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/GetDinningNumber_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/OpenScan_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/PlayAudio_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/PlayMusicList_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/ReadBook_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/RechargeTraffic_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ReserveDinningTable_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/SearchChargingStationLocal_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/SearchSmartDeviceLocal_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewAirportLargeScreen_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewAirportStatus_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewAnnualAccount_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewBlog_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewBuyingHouseInfo_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewColumn_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewMarriageRegistration_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewMedicalInsuranceCode_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewMedicalinsurancelnfo_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewMetroCrowdingInfo_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewPaymentCodes_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewPayment_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewPhoneBill_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewPhoneNumberBenefits_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewProvidentFundInfo_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewRankingList_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewRealTimeBusRoute_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/ViewRemain_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewRentingHouseInfo_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewShoppingGuide_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewSmartDevice_1.0.1.json create mode 100644 compiler/src/userIntents_parser/schema/ViewSocialSecurityInfo_1.0.2.json create mode 100644 compiler/src/userIntents_parser/schema/ViewSpecialAdditionalDeduction_1.0.1.json diff --git a/compiler/src/userIntents_parser/schema/ContactCustomerService_1.0.1.json b/compiler/src/userIntents_parser/schema/ContactCustomerService_1.0.1.json new file mode 100644 index 000000000..0f377b127 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ContactCustomerService_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ContactCustomerService", + "intentVersion": "1.0.1", + "llmDescription": "联系客服", + "keywords": ["ContactCustomerService"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/CreateNewAccount_1.0.1.json b/compiler/src/userIntents_parser/schema/CreateNewAccount_1.0.1.json new file mode 100644 index 000000000..3213795c7 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/CreateNewAccount_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "CreateNewAccount", + "intentVersion": "1.0.1", + "llmDescription": "创建新账户", + "keywords": ["CreateNewAccount"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json b/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json new file mode 100644 index 000000000..8138b9ad2 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/FindEBicycle_1.0.2.json @@ -0,0 +1,67 @@ +{ + "intentName": "FindEBicycle", + "intentVersion": "1.0.2", + "llmDescription": "寻找电动自行车", + "keywords": ["FindEBicycle"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result", + "entityId", + "entityName", + "entityLogoURL", + "entityDisplayName", + "entityDescription", + "statusImageUrl" + ] + }, + "required": [ + "code", + "result", + "entityId", + "entityName", + "entityLogoURL", + "entityDisplayName" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + }, + "entityId": { + "description": "本次执行实例ID。", + "type": "string" + }, + "entityName": { + "description": "执行结果实体名称,固定内容。", + "type": "string" + }, + "entityLogoURL": { + "description": "执行结果主图片。", + "type": "string" + }, + "entityDisplayName": { + "description": "执行结果展示名称(主标题)。", + "type": "string" + }, + "entityDescription": { + "description": "执行结果实体描述。", + "type": "string" + }, + "statusImageUrl": { + "description": "执行结果状态图片。", + "type": "string" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/GetDinningNumber_1.0.1.json b/compiler/src/userIntents_parser/schema/GetDinningNumber_1.0.1.json new file mode 100644 index 000000000..444e5a753 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/GetDinningNumber_1.0.1.json @@ -0,0 +1,54 @@ +{ + "intentName": "GetDinningNumber", + "intentVersion": "1.0.1", + "llmDescription": "取用餐号", + "keywords": ["GetDinningNumber"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "number", + "tableType" + ] + }, + "properties": { + "number": { + "description": "用餐的人数。", + "type": "number" + }, + "tableType": { + "description": "餐桌的类型,支持小、中、大。包间类型,1:小桌型,2:中桌型,3:大桌型,4:包间类型。", + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/OpenScan_1.0.1.json b/compiler/src/userIntents_parser/schema/OpenScan_1.0.1.json new file mode 100644 index 000000000..c0fea902c --- /dev/null +++ b/compiler/src/userIntents_parser/schema/OpenScan_1.0.1.json @@ -0,0 +1,65 @@ +{ + "intentName": "OpenScan", + "intentVersion": "1.0.1", + "llmDescription": "扫码", + "keywords": ["OpenScan"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "scanFunction" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string", + "maxLength":64 + }, + "scanFunction": { + "description": "扫描里的功能。", + "type": "string", + "enum": [ + "General", + "RecognizeText", + "RecognizeTranslation", + "RecognizeObjects", + "ScanCertificate", + "ScanIDCard", + "ScanHouseholdRegistrationRecord", + "ScanPassport", + "ScanDriverLicense", + "ScanVehicleLicense", + "ScanBankCard", + "ScanHousePropertyCard", + "ScanBusinessLicense", + "EraseHandwriting" + ] + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/PlayAudio_1.0.1.json b/compiler/src/userIntents_parser/schema/PlayAudio_1.0.1.json new file mode 100644 index 000000000..82ff56b7c --- /dev/null +++ b/compiler/src/userIntents_parser/schema/PlayAudio_1.0.1.json @@ -0,0 +1,51 @@ +{ + "intentName": "PlayAudio", + "intentVersion": "1.0.1", + "llmDescription": "播放有声", + "keywords": ["PlayAudio"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "soundId" + ] + }, + "required": [ + "entityId" + ], + "properties": { + "entityId": { + "description": "数据唯一标识,搜索有声时返回的entityId。", + "type": "string" + }, + "soundId": { + "description": "有声节目ID。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/PlayMusicList_1.0.2.json b/compiler/src/userIntents_parser/schema/PlayMusicList_1.0.2.json new file mode 100644 index 000000000..64a430318 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/PlayMusicList_1.0.2.json @@ -0,0 +1,77 @@ +{ + "intentName": "PlayMusicList", + "intentVersion": "1.0.2", + "llmDescription": "播放歌单", + "keywords": ["PlayMusicList"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "entityGroupId", + "sceneType", + "city" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string" + }, + "entityGroupId": { + "description": "用于确定歌单的ui形式(每日私享30首、排行榜、新歌推荐,type=公开的歌单,但UI不同)。", + "type": "string" + }, + "sceneType": { + "description": "场景名称。", + "type": "string", + "enum": [ + "MORNING_SCENE", + "MIDDAY_SCENE", + "EVENNING_SCENE", + "NIGHT_SCENE", + "WEEKEND_SCENE", + "FESTIVAL_SCENE", + "BIRTHDAY_SCENE", + "ANNIEVERSARIE_SCENE", + "DRIVE_SCENE", + "SUBWAY_SCENE", + "TRAVEL_SCENE", + "CITY_SCENE" + ] + }, + "city": { + "description": "城市名。", + "type": "string", + "enum": [ + "北京市", + "沈阳市" + ] + } + } + + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ReadBook_1.0.1.json b/compiler/src/userIntents_parser/schema/ReadBook_1.0.1.json new file mode 100644 index 000000000..41f7f8cae --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ReadBook_1.0.1.json @@ -0,0 +1,46 @@ +{ + "intentName": "ReadBook", + "intentVersion": "1.0.1", + "llmDescription": "阅读书籍", + "keywords": ["ReadBook"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId" + ] + }, + "required": [ + "entityId" + ], + "properties": { + "entityId": { + "description": "数据唯一标识,书籍id。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/RechargeCallFee_1.0.1.json b/compiler/src/userIntents_parser/schema/RechargeCallFee_1.0.1.json index a66663a6e..e562ee1d1 100644 --- a/compiler/src/userIntents_parser/schema/RechargeCallFee_1.0.1.json +++ b/compiler/src/userIntents_parser/schema/RechargeCallFee_1.0.1.json @@ -40,7 +40,7 @@ "type": "number" }, "result": { - "description": "返回结果列表对象(列表Key名默认items),如果无内容则返回空。", + "description": "意图调用返回的数据,如果无数据则返回空。", "type": "object" } } diff --git a/compiler/src/userIntents_parser/schema/RechargeTraffic_1.0.1.json b/compiler/src/userIntents_parser/schema/RechargeTraffic_1.0.1.json new file mode 100644 index 000000000..7835dccae --- /dev/null +++ b/compiler/src/userIntents_parser/schema/RechargeTraffic_1.0.1.json @@ -0,0 +1,48 @@ +{ + "intentName": "RechargeTraffic", + "intentVersion": "1.0.1", + "llmDescription": "充值流量", + "keywords": ["RechargeTraffic"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "phoneNumber", + "amount" + ] + }, + "properties": { + "phoneNumber": { + "description": "手机号。", + "type": "number" + }, + "amount": { + "description": "金额。", + "type": "number" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ReserveDinningTable_1.0.1.json b/compiler/src/userIntents_parser/schema/ReserveDinningTable_1.0.1.json new file mode 100644 index 000000000..3ee7c4ae2 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ReserveDinningTable_1.0.1.json @@ -0,0 +1,69 @@ +{ + "intentName": "ReserveDinningTable", + "intentVersion": "1.0.1", + "llmDescription": "预订餐桌", + "keywords": ["ReserveDinningTable"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "number", + "tableType", + "date", + "timeInterval", + "remark" + ] + }, + "properties": { + "number": { + "description": "用餐的人数。", + "type": "number" + }, + "tableType": { + "description": "餐桌的类型,支持小、中、大。包间类型,1:小桌型,2:中桌型,3:大桌型,4:包间类型。", + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + }, + "date": { + "description": "用餐的日期。", + "type": "string" + }, + "timeInterval": { + "description": "用餐的时间段,包括开始时间和结束时间的时间戳,字段类型number。", + "type": "array" + }, + "remark": { + "description": "一些用餐的备注,比如用餐人的喜好等。", + "type": "srting" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/SearchChargingStationLocal_1.0.2.json b/compiler/src/userIntents_parser/schema/SearchChargingStationLocal_1.0.2.json new file mode 100644 index 000000000..862bd8c07 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/SearchChargingStationLocal_1.0.2.json @@ -0,0 +1,43 @@ +{ + "intentName": "SearchChargingStationLocal", + "intentVersion": "1.0.2", + "llmDescription": "本地搜索充电桩", + "keywords": ["SearchChargingStationLocal"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "location" + ] + }, + "properties": { + "location": { + "description": "位置信息。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/SearchSmartDeviceLocal_1.0.1.json b/compiler/src/userIntents_parser/schema/SearchSmartDeviceLocal_1.0.1.json new file mode 100644 index 000000000..189030851 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/SearchSmartDeviceLocal_1.0.1.json @@ -0,0 +1,102 @@ +{ + "intentName": "SearchSmartDeviceLocal", + "intentVersion": "1.0.1", + "llmDescription": "搜索智能设备", + "keywords": ["SearchSmartDeviceLocal"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "deviceName", + "deviceType", + "deviceLocation", + "keywords" + ] + }, + "properties": { + "deviceName": { + "description": "设备的名称。", + "type": "string" + }, + "deviceType": { + "description": "设备的类型,摄像头,灯具,不传值默认是摄像头。", + "type": "string", + "enum": [ + "摄像头", + "灯具" + ], + "default": "摄像头" + }, + "deviceLocation": { + "description": "设备的位置。", + "type": "string" + }, + "keywords": { + "description": "搜索关键词。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result", + "entityId", + "entityName", + "deviceName", + "deviceType", + "deviceLocation", + "logoURL" + ] + }, + "required": [ + "code", + "result", + "entityId", + "entityName", + "deviceName", + "deviceType", + "deviceLocation", + "logoURL" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + }, + "entityId": { + "description": "实体唯一ID,这里代表设备的唯一标识。", + "type": "string" + }, + "entityName": { + "description": "固定SmartDevice。", + "type": "string" + }, + "deviceName": { + "description": "设备的名称。", + "type": "string" + }, + "deviceType": { + "description": "设备的类型。", + "type": "string", + "enum":[ + "Camera" + ] + }, + "deviceLocation": { + "description": "设备所在位置。", + "type": "string" + }, + "logoURL": { + "description": "图标,用于小艺对话卡片图标的展示。", + "type": "string" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/SendLogistics_1.0.1.json b/compiler/src/userIntents_parser/schema/SendLogistics_1.0.1.json index 2e5b6a7c9..cafaa6cc7 100644 --- a/compiler/src/userIntents_parser/schema/SendLogistics_1.0.1.json +++ b/compiler/src/userIntents_parser/schema/SendLogistics_1.0.1.json @@ -35,7 +35,7 @@ "type": "number" }, "result": { - "description": "返回结果列表对象(列表Key名默认items),如果无内容则返回空。", + "description": "意图调用返回的数据,如果无数据则返回空。", "type": "object" } } diff --git a/compiler/src/userIntents_parser/schema/ViewAirportLargeScreen_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewAirportLargeScreen_1.0.1.json new file mode 100644 index 000000000..fda6309f5 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewAirportLargeScreen_1.0.1.json @@ -0,0 +1,53 @@ +{ + "intentName": "ViewAirportLargeScreen", + "intentVersion": "1.0.1", + "llmDescription": "查看机场大屏", + "keywords": ["ViewAirportLargeScreen"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "airportCode", + "inOutStatus" + ] + }, + "properties": { + "entityId": { + "description": "实体唯一Id。", + "type": "string" + }, + "airportCode": { + "description": "机场三字码。", + "type": "string" + }, + "inOutStatus": { + "description": "进出港状态,缺省出港:Arr:入港;Dep;出港(缺省值)。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewAirportStatus_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewAirportStatus_1.0.1.json new file mode 100644 index 000000000..652aaeaed --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewAirportStatus_1.0.1.json @@ -0,0 +1,53 @@ +{ + "intentName": "ViewAirportStatus", + "intentVersion": "1.0.1", + "llmDescription": "查看机场实时状态", + "keywords": ["ViewAirportStatus"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "airportCode", + "inOutStatus" + ] + }, + "properties": { + "entityId": { + "description": "机场实体唯一ID。", + "type": "string" + }, + "airportCode": { + "description": "机场三字码。", + "type": "string" + }, + "inOutStatus": { + "description": "进出港状态,缺省出港:Arr:入港;Dep;出港(缺省值)。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewAnnualAccount_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewAnnualAccount_1.0.1.json new file mode 100644 index 000000000..266f6e9d3 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewAnnualAccount_1.0.1.json @@ -0,0 +1,43 @@ +{ + "intentName": "ViewAnnualAccount", + "intentVersion": "1.0.1", + "llmDescription": "查看年度会算", + "keywords": ["ViewAnnualAccount"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "annualTime" + ] + }, + "properties": { + "annualTime": { + "description": "年度时间,缺省时默认去年。", + "type": "number" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewBlog_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewBlog_1.0.1.json new file mode 100644 index 000000000..fea417cd5 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewBlog_1.0.1.json @@ -0,0 +1,48 @@ +{ + "intentName": "ViewBlog", + "intentVersion": "1.0.1", + "llmDescription": "查看资讯博客", + "keywords": ["ViewBlog"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "blogCategory" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识,限长64个字符。", + "type": "string" + }, + "blogCategory": { + "description": "资讯博客频道分类,如:旅行、生活、军事、科技、文化、美食、汽车。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewBuyingHouseInfo_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewBuyingHouseInfo_1.0.1.json new file mode 100644 index 000000000..dbffe7e26 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewBuyingHouseInfo_1.0.1.json @@ -0,0 +1,49 @@ +{ + "intentName": "ViewBuyingHouseInfo", + "intentVersion": "1.0.1", + "llmDescription": "查看买房信息", + "keywords": ["ViewBuyingHouseInfo"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "extras" + ] + }, + "properties": { + "entityId": { + "description": "租房信息的唯一标识(本地搜索时返回调用)。", + "type": "string", + "maxLength": 64 + }, + "extras": { + "description": "其他信息,具体由接入业务澄清。", + "type": "object" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewColumn_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewColumn_1.0.1.json new file mode 100644 index 000000000..f0f1fd95f --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewColumn_1.0.1.json @@ -0,0 +1,49 @@ +{ + "intentName": "ViewColumn", + "intentVersion": "1.0.1", + "llmDescription": "查看专栏", + "keywords": ["ViewColumn"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "columnTitle" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string", + "maxLength": 64 + }, + "columnTitle": { + "description": "专栏标题。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "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 new file mode 100644 index 000000000..301629d60 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewCommodity_1.0.2.json @@ -0,0 +1,50 @@ +{ + "intentName": "ViewCommodity", + "intentVersion": "1.0.2", + "llmDescription": "查看商品", + "keywords": ["ViewCommodity"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "shareLink" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string", + "maxLength": 64 + }, + "shareLink": { + "description": "商品链接文本(最长1500的字符串),和实体Id参数二选一。", + "type": "string", + "maxLength": 1500 + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "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 new file mode 100644 index 000000000..7cb9cd464 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewHospital_1.0.1.json @@ -0,0 +1,47 @@ +{ + "intentName": "ViewHospital", + "intentVersion": "1.0.1", + "llmDescription": "查看医院", + "keywords": ["ViewHospital"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId" + ], + "required": [ + "entityId" + ], + "properties": { + "entityId": { + "description": "数据唯一标识", + "type": "string", + "maxLength": 64 + } + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewLogistics_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewLogistics_1.0.1.json index efe5fac4d..bc5de6367 100644 --- a/compiler/src/userIntents_parser/schema/ViewLogistics_1.0.1.json +++ b/compiler/src/userIntents_parser/schema/ViewLogistics_1.0.1.json @@ -42,7 +42,7 @@ "type": "number" }, "result": { - "description": "返回结果列表对象(列表Key名默认items),如果无内容则返回空。", + "description": "意图调用返回的数据,如果无数据则返回空。", "type": "object" } } diff --git a/compiler/src/userIntents_parser/schema/ViewMarriageRegistration_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewMarriageRegistration_1.0.1.json new file mode 100644 index 000000000..e2d8a3819 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewMarriageRegistration_1.0.1.json @@ -0,0 +1,53 @@ +{ + "intentName": "ViewMarriageRegistration", + "intentVersion": "1.0.1", + "llmDescription": "查看婚姻登记", + "keywords": ["ViewMarriageRegistration"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "city", + "type" + ] + }, + "properties": { + "city": { + "description": "查询城市信息。", + "type": "string" + }, + "type": { + "description": "婚姻登记类型。", + "type": "string", + "enum": [ + "Marriage", + "Divorce" + ], + "default": "Marriage" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewMedicalInsuranceCode_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewMedicalInsuranceCode_1.0.1.json new file mode 100644 index 000000000..4aa0d4d3a --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewMedicalInsuranceCode_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewMedicalInsuranceCode", + "intentVersion": "1.0.1", + "llmDescription": "查看医保码", + "keywords": ["ViewMedicalInsuranceCode"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewMedicalinsurancelnfo_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewMedicalinsurancelnfo_1.0.1.json new file mode 100644 index 000000000..ab41961bb --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewMedicalinsurancelnfo_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewMedicalinsurancelnfo", + "intentVersion": "1.0.1", + "llmDescription": "查看医保信息", + "keywords": ["ViewMedicalinsurancelnfo"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewMetroCrowdingInfo_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewMetroCrowdingInfo_1.0.1.json new file mode 100644 index 000000000..9a2049e1b --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewMetroCrowdingInfo_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewMetroCrowdingInfo", + "intentVersion": "1.0.1", + "llmDescription": "查看地铁拥挤度", + "keywords": ["ViewMetroCrowdingInfo"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewPaymentCodes_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewPaymentCodes_1.0.1.json new file mode 100644 index 000000000..df8133d02 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewPaymentCodes_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewPaymentCodes", + "intentVersion": "1.0.1", + "llmDescription": "查看付款码", + "keywords": ["ViewPaymentCodes"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewPayment_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewPayment_1.0.1.json new file mode 100644 index 000000000..2c7672966 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewPayment_1.0.1.json @@ -0,0 +1,95 @@ +{ + "intentName": "ViewPayment", + "intentVersion": "1.0.1", + "llmDescription": "查看生活缴费信息", + "keywords": ["ViewPayment"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "entityName", + "accountNumber", + "billType", + "cell", + "company", + "city", + "address", + "belongingAccount" + ] + }, + "required": [ + "entityName", + "belongingAccount" + ], + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string" + }, + "entityName": { + "description": "实体名称。", + "type": "string" + }, + "accountNumber": { + "description": "缴费户号。", + "type": "number" + }, + "billType": { + "description": "生活缴费费用类型,取值如下,0:水费。1:电费。2:燃气费。3:话费。4:流量。5:暖气费。", + "type": "number", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + "cell": { + "description": "小区。", + "type": "string" + }, + "company": { + "description": "缴费单位。", + "type": "string" + }, + "city": { + "description": "城市。", + "type": "string" + }, + "address": { + "description": "地址。", + "type": "string" + }, + "belongingAccount": { + "description": "华为账号id。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewPhoneBill_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewPhoneBill_1.0.1.json new file mode 100644 index 000000000..af5b11f70 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewPhoneBill_1.0.1.json @@ -0,0 +1,43 @@ +{ + "intentName": "ViewPhoneBill", + "intentVersion": "1.0.1", + "llmDescription": "查看电话账单", + "keywords": ["ViewPhoneBill"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "date" + ] + }, + "properties": { + "date": { + "description": "查询日期。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewPhoneNumberBenefits_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewPhoneNumberBenefits_1.0.1.json new file mode 100644 index 000000000..b29333607 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewPhoneNumberBenefits_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewPhoneNumberBenefits", + "intentVersion": "1.0.1", + "llmDescription": "查看手机号权益", + "keywords": ["ViewPhoneNumberBenefits"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewProvidentFundInfo_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewProvidentFundInfo_1.0.1.json new file mode 100644 index 000000000..672dba4d3 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewProvidentFundInfo_1.0.1.json @@ -0,0 +1,33 @@ +{ + "intentName": "ViewProvidentFundInfo", + "intentVersion": "1.0.1", + "llmDescription": "查看公积金信息", + "keywords": ["ViewProvidentFundInfo"], + "parameters": { + "type": "object", + "properties": {} + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewRankingList_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewRankingList_1.0.1.json new file mode 100644 index 000000000..763d561ae --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewRankingList_1.0.1.json @@ -0,0 +1,49 @@ +{ + "intentName": "ViewRankingList", + "intentVersion": "1.0.1", + "llmDescription": "查看榜单", + "keywords": ["ViewRankingList"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "rankingContentId" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string", + "maxLength": 64 + }, + "rankingContentId": { + "description": "榜单内容ID。", + "type": "number" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewRealTimeBusRoute_1.0.2.json b/compiler/src/userIntents_parser/schema/ViewRealTimeBusRoute_1.0.2.json new file mode 100644 index 000000000..06e1cde9b --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewRealTimeBusRoute_1.0.2.json @@ -0,0 +1,58 @@ +{ + "intentName": "ViewRealTimeBusRoute", + "intentVersion": "1.0.2", + "llmDescription": "查看实时公交", + "keywords": ["ViewRealTimeBusRoute"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "lineName", + "province", + "city", + "district" + ] + }, + "properties": { + "lineName": { + "description": "线路名称。", + "type": "string" + }, + "province": { + "description": "省份。", + "type": "string" + }, + "city": { + "description": "城市名称。", + "type": "string" + }, + "district": { + "description": "区或县的名称。", + "type": "string" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewRemain_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewRemain_1.0.1.json new file mode 100644 index 000000000..f9e7d500b --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewRemain_1.0.1.json @@ -0,0 +1,49 @@ +{ + "intentName": "ViewRemain", + "intentVersion": "1.0.1", + "llmDescription": "查看余量", + "keywords": ["ViewRemain"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "category" + ] + }, + "properties": { + "category": { + "description": "余量分类。DataTraffic:数据流量,VoiceTraffic:语音流量,SMSTraffic:短信流量,MobileAccountBalance:话费余额。", + "type": "string", + "enum": [ + "DataTraffic", + "VoiceTraffic", + "SMSTraffic", + "MobileAccountBalance" + ] + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewRentingHouseInfo_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewRentingHouseInfo_1.0.1.json new file mode 100644 index 000000000..ba0d3f2e6 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewRentingHouseInfo_1.0.1.json @@ -0,0 +1,49 @@ +{ + "intentName": "ViewRentingHouseInfo", + "intentVersion": "1.0.1", + "llmDescription": "查看租房信息", + "keywords": ["ViewRentingHouseInfo"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "extras" + ] + }, + "properties": { + "entityId": { + "description": "租房信息的唯一标识(本地搜索时返回调用)。", + "type": "string", + "maxLength": 64 + }, + "extras": { + "description": "其他信息,具体由接入业务澄清。", + "type": "object" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewShoppingGuide_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewShoppingGuide_1.0.1.json new file mode 100644 index 000000000..51daab7b3 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewShoppingGuide_1.0.1.json @@ -0,0 +1,44 @@ +{ + "intentName": "ViewShoppingGuide", + "intentVersion": "1.0.1", + "llmDescription": "查看购物攻略", + "keywords": ["ViewShoppingGuide"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId" + ] + }, + "properties": { + "entityId": { + "description": "数据唯一标识。", + "type": "string", + "maxLength": 64 + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewSmartDevice_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewSmartDevice_1.0.1.json new file mode 100644 index 000000000..1c305e0c6 --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewSmartDevice_1.0.1.json @@ -0,0 +1,53 @@ +{ + "intentName": "ViewSmartDevice", + "intentVersion": "1.0.1", + "llmDescription": "查看智能设备详情", + "keywords": ["ViewSmartDevice"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "entityId", + "functionType" + ] + }, + "properties": { + "entityId": { + "description": "设备的唯一标识。", + "type": "string" + }, + "functionType": { + "description": "设备功能类型,回放/实时画面等,枚举定义。Playbafk:回看录像,LiveVideo:实时画面。", + "type": "string", + "enum": [ + "Playback", + "LiveVideo" + ], + "default": "LiveVideo" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewSocialSecurityInfo_1.0.2.json b/compiler/src/userIntents_parser/schema/ViewSocialSecurityInfo_1.0.2.json new file mode 100644 index 000000000..70baa80ef --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewSocialSecurityInfo_1.0.2.json @@ -0,0 +1,52 @@ +{ + "intentName": "ViewSocialSecurityInfo", + "intentVersion": "1.0.2", + "llmDescription": "查看社保信息", + "keywords": ["ViewSocialSecurityInfo"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "type" + ] + }, + "properties": { + "type": { + "description": "扫描里的功能。养老金收入证明:ProofOfPension,养老待遇发放明细:PensionPaymentDetails,社保缴纳记录:SocialSecurityPaymentRecord,社保余额:SocialSecurityBalance,养老金补缴:SupplementaryPension,养老保险(首页):PensionInsurance,参保证明:SocialSecurityCertificate。", + "type": "string", + "enum": [ + "ProofOfPension", + "PensionPaymentDetails", + "SocialSecurityPaymentRecord", + "SocialSecurityBalance", + "SupplementaryPension", + "Pensionlnsurance", + "SocialSecurityCertificate" + ] + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} diff --git a/compiler/src/userIntents_parser/schema/ViewSpecialAdditionalDeduction_1.0.1.json b/compiler/src/userIntents_parser/schema/ViewSpecialAdditionalDeduction_1.0.1.json new file mode 100644 index 000000000..2dd32099e --- /dev/null +++ b/compiler/src/userIntents_parser/schema/ViewSpecialAdditionalDeduction_1.0.1.json @@ -0,0 +1,48 @@ +{ + "intentName": "ViewSpecialAdditionalDeduction", + "intentVersion": "1.0.1", + "llmDescription": "查看专项附加扣除", + "keywords": ["ViewSpecialAdditionalDeduction"], + "parameters": { + "type": "object", + "propertyNames": { + "enum": [ + "category", + "annualTime" + ] + }, + "properties": { + "category": { + "description": "专项附加扣除类型。", + "type": "string" + }, + "annualTime": { + "description": "年度时间缺省时默认今年。", + "type": "number" + } + } + }, + "result": { + "type": "object", + "propertyNames": { + "enum": [ + "code", + "result" + ] + }, + "required": [ + "code", + "result" + ], + "properties": { + "code": { + "description": "意图调用返回的结果码,0代表成功。", + "type": "number" + }, + "result": { + "description": "意图调用返回的数据,如果无数据则返回空。", + "type": "object" + } + } + } +} -- Gitee