• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "PlayAudio",
3  "intentVersion": "1.0.1",
4  "llmDescription": "播放有声",
5  "keywords": ["PlayAudio"],
6  "domain": "MediaDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "entityId",
12        "soundId"
13      ]
14    },
15    "required": [
16      "entityId"
17    ],
18    "properties": {
19      "entityId": {
20        "description": "数据唯一标识,搜索有声时返回的entityId。",
21        "type": "string"
22      },
23      "soundId": {
24        "description": "有声节目ID。",
25        "type": "string"
26      }
27    }
28  },
29  "result": {
30    "type": "object",
31    "propertyNames": {
32      "enum": [
33        "code",
34        "result"
35      ]
36    },
37    "required": [
38      "code",
39      "result"
40    ],
41    "properties": {
42      "code": {
43        "description": "意图调用返回的结果码,0代表成功。",
44        "type": "number"
45      },
46      "result": {
47        "description": "意图调用返回的数据,如果无数据则返回空。",
48        "type": "object"
49      }
50    }
51  }
52}
53