• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "ViewCommodity",
3  "intentVersion": "1.0.2",
4  "llmDescription": "查看商品",
5  "keywords": ["ViewCommodity"],
6  "domain": "ShoppingPlatformsDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "entityId",
12        "shareLink"
13      ]
14    },
15    "properties": {
16      "entityId": {
17        "description": "数据唯一标识。",
18        "type": "string",
19        "maxLength": 64
20      },
21      "shareLink": {
22        "description": "商品链接文本(最长1500的字符串),和实体Id参数二选一。",
23        "type": "string",
24        "maxLength": 1500
25      }
26    },
27    "oneOf": [
28      {
29        "required": [
30          "entityId"
31        ]
32      },
33      {
34        "required": [
35          "shareLink"
36        ]
37      }
38    ]
39  },
40  "result": {
41    "type": "object",
42    "propertyNames": {
43      "enum": [
44        "code",
45        "result"
46      ]
47    },
48    "required": [
49      "code",
50      "result"
51    ],
52    "properties": {
53      "code": {
54        "description": "意图调用返回的结果码,0代表成功。",
55        "type": "number"
56      },
57      "result": {
58        "description": "意图调用返回的数据,如果无数据则返回空。",
59        "type": "object"
60      }
61    }
62  }
63}
64