• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "SearchTravelLocal",
3  "intentVersion": "1.0.1",
4  "llmDescription": "本地搜索旅游攻略",
5  "keywords": ["SearchTravelLocal"],
6  "domain": "TravelDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "keywords",
12        "location",
13        "city",
14        "travelGuidesType"
15      ]
16    },
17    "properties": {
18      "keywords": {
19        "description": "搜索关键词,如景点名称,多个搜索关键词用英文逗号分隔。",
20        "type": "string"
21      },
22      "location": {
23        "description": "位置的经纬度信息。纬度的取值范围:[-90, 90],经度的取值范围:[-180, 180]。",
24        "type": "object"
25      },
26      "city": {
27        "description": "用于搜索景点名称等场景按城市筛选过滤非本城市记录。",
28        "type": "string"
29      },
30      "travelGuidesType": {
31        "description": "攻略类型。",
32        "type": "string",
33        "enum":[
34          "Scenic",
35          "CitySelection"
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