看了下文档,感觉不像,似乎没有执行命令的要素
感觉RPA的有点像
··· json
{
"title": "飞猪旅行预订机票",
"description": "需要预订机票时使用",
"keywords": [
"预定机票",
"订机票",
"机票",
"预订"
],
"actions": {
"飞猪旅行预订机票": {
"summary": "飞猪旅行预订机票",
"description": "机票预订,飞猪旅行,预订机票,需要预订机票时使用",
"input_param": {
"type": "object",
"description": "",
"properties": {
"startCity": {
"type": "string",
"description": "出发城市",
"x-dingtalk-display-name": "出发城市"
},
"endCity": {
"type": "string",
"description": "到达城市",
"x-dingtalk-display-name": "到达城市"
},
"date": {
"type": "string",
"description": "出发日期",
"x-dingtalk-default": "2023-11-29",
"x-dingtalk-display-name": "出发日期",
"x-dingtalk-entity": {
"category": "time",
"format": "strftime: yyyy-MM-dd"
}
}
},
"required": [
"startCity",
"endCity",
"date"
]
},
"target_url_by_platform": {
"default": "https://market.m.taobao.com/app/trip/h5-traffic-search/pages/search/index.html"
},
"script_url": "https://opencdn.dingtalk.net/vscode/457116/595734833/bdbca7da-e441-4c9a-ab06-205ef217eb49_automator.js",
"keywords": [
"预定机票",
"订机票",
"机票",
"预订"
],
"examples": [
{
"input": "帮我预订一张下周二的机票,出发地:成都,到达地:广州",
"output": {
"startCity": "成都",
"endCity": "广州",
"date": "下周二"
}
},
{
"input": "预订一张明天的机票,从北京到杭州",
"output": {
"endCity": "杭州",
"date": "明天"
}
}
],
"headless_mode": false,
"target_valid_domains": [
"market.m.taobao.com"
],
"support_platform": [
"android",
"ios"
]
}
}
} |