{
"intentName": "ViewCommodity",
"intentVersion": "1.0.2",
"llmDescription": "查看商品",
"keywords": ["ViewCommodity"],
"domain": "ShoppingPlatformsDomain",
"parameters": {
"type": "object",
"propertyNames": {
"enum": [
"entityId",
"shareLink"
]
},
"properties": {
"entityId": {
"description": "数据唯一标识。",
"type": "string",
"maxLength": 64
},
"shareLink": {
"description": "商品链接文本(最长1500的字符串),和实体Id参数二选一。",
"type": "string",
"maxLength": 1500
}
},
"oneOf": [
{
"required": [
"entityId"
]
},
{
"required": [
"shareLink"
]
}
]
},
"result": {
"type": "object",
"propertyNames": {
"enum": [
"code",
"result"
]
},
"required": [
"code",
"result"
],
"properties": {
"code": {
"description": "意图调用返回的结果码,0代表成功。",
"type": "number"
},
"result": {
"description": "意图调用返回的数据,如果无数据则返回空。",
"type": "object"
}
}
}
}