• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "SearchSmartDeviceLocal",
3  "intentVersion": "1.0.1",
4  "llmDescription": "搜索智能设备",
5  "keywords": ["SearchSmartDeviceLocal"],
6  "domain": "LifestyleDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "deviceName",
12        "deviceType",
13        "deviceLocation",
14        "keywords"
15      ]
16    },
17    "properties": {
18      "deviceName": {
19        "description": "设备的名称。",
20        "type": "string"
21      },
22      "deviceType": {
23        "description": "设备的类型,摄像头,灯具,不传值默认是摄像头。",
24        "type": "string",
25        "enum": [
26          "摄像头",
27          "灯具"
28        ],
29        "default": "摄像头"
30      },
31      "deviceLocation": {
32        "description": "设备的位置。",
33        "type": "string"
34      },
35      "keywords": {
36        "description": "搜索关键词。",
37        "type": "string"
38      }
39    }
40  },
41  "result": {
42    "type": "object",
43    "propertyNames": {
44      "enum": [
45        "code",
46        "result",
47        "entityId",
48        "entityName",
49        "deviceName",
50        "deviceType",
51        "deviceLocation",
52        "logoURL"
53      ]
54    },
55    "required": [
56      "code",
57      "result",
58      "entityId",
59      "entityName",
60      "deviceName",
61      "deviceType",
62      "deviceLocation",
63      "logoURL"
64    ],
65    "properties": {
66      "code": {
67        "description": "意图调用返回的结果码,0代表成功。",
68        "type": "number"
69      },
70      "result": {
71        "description": "意图调用返回的数据,如果无数据则返回空。",
72        "type": "object"
73      },
74      "entityId": {
75        "description": "实体唯一ID,这里代表设备的唯一标识。",
76        "type": "string"
77      },
78      "entityName": {
79        "description": "固定SmartDevice。",
80        "type": "string"
81      },
82      "deviceName": {
83        "description": "设备的名称。",
84        "type": "string"
85      },
86      "deviceType": {
87        "description": "设备的类型。",
88        "type": "string",
89        "enum":[
90          "Camera"
91        ]
92      },
93      "deviceLocation": {
94        "description": "设备所在位置。",
95        "type": "string"
96      },
97      "logoURL": {
98        "description": "图标,用于小艺对话卡片图标的展示。",
99        "type": "string"
100      }
101    }
102  }
103}
104