conversations listlengths 2 4 | tools stringlengths 2.36k 7.26k |
|---|---|
[
{
"from": "human",
"value": "请查询菜谱名称含有'烤鸡翅',难度为中等以上且所需时间不超过60分钟的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"烤鸡翅\", \"difficulty\": \"中等\", \"time\": 60}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"烤鸡翅\... | "[{'name': 'Environmental_Analysis', 'description': 'This API provides analysis on environmental factors affecting a specific location. It takes into account various parameters such as air quality, water pollution levels, and noise levels. The result contains detailed information about the environmental conditions.', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location for which environmental analysis is to be performed.'}, 'date': {'type': 'string', 'description': 'The date for which environmental analysis is to be performed.'}, 'time': {'type': 'string', 'description': 'The time at which environmental analysis is to be performed.'}, 'factors': {'type': 'array', 'description': 'List of environmental factors to be considered for analysis.', 'items': {'type': 'string', 'enum': ['air quality', 'water pollution', 'noise levels']}}}, 'required': ['location', 'date', 'time']}, 'result': '{parameters}'}, {'name': 'TechnologyAPI', 'description': '该API为科技领域的数据接口,提供科技相关信息查询和发布功能,可用于获取最新的科技新闻、科技论坛的讨论内容等。用户可以根据自己的兴趣选择感兴趣的科技领域进行订阅和关注。', 'parameters': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '科技新闻的主题类别', 'enum': ['AI', '云计算', '物联网', '5G', '区块链']}, 'keywords': {'type': 'array', 'description': '关键词列表,用于搜索相关科技信息', 'items': {'type': 'string'}}}, 'required': ['topic']}, 'result': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '科技新闻的主题类别'}, 'news': {'type': 'array', 'description': '科技新闻内容列表', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '新闻标题'}, 'author': {'type': 'string', 'description': '新闻作者'}, 'content': {'type': 'string', 'description': '新闻内容'}, 'timestamp': {'type': 'number', 'description': '发布时间戳'}}, 'required': ['title', 'author', 'content', 'timestamp']}}}, 'required': ['topic', 'news']}}, {'name': 'transportation_api_1', 'description': '提供多种交通出行方案,可以根据用户位置和目的地智能推荐', 'parameters': {'type': 'object', 'properties': {'start_location': {'type': 'string', 'description': '出发地点'}, 'destination': {'type': 'string', 'description': '目的地'}}, 'required': ['start_location', 'destination']}, 'result': {'type': 'object', 'properties': {'transportation_type': {'type': 'string', 'description': '交通工具种类'}, 'duration': {'type': 'number', 'description': '出行时间'}, 'price': {'type': 'number', 'description': '出行价格'}}}}, {'name': 'recipe', 'description': '该API用于查询美食菜谱,根据食材或菜名搜索相关的菜谱。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '关键词,可以是菜名或食材名'}, 'cuisine': {'type': 'string', 'description': '菜系', 'enum': ['中餐', '日本料理', '意大利菜', '法国菜', '泰国菜']}, 'calories': {'type': 'number', 'description': '卡路里范围,单位为千卡'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'string'}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜谱名称'}, 'cuisine': {'type': 'string', 'description': '菜系'}, 'calories': {'type': 'number', 'description': '卡路里值'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '食材名称'}, 'quantity': {'type': 'string', 'description': '用量'}}}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getCarModels', 'description': '获取汽车型号列表', 'parameters': {'type': 'object', 'properties': {'brand': {'type': 'string', 'description': '汽车品牌'}, 'year': {'type': 'integer', 'description': '年份'}}, 'required': ['brand', 'year']}, 'result': {'type': 'object', 'properties': {'brand': {'type': 'string', 'description': '汽车品牌'}, 'year': {'type': 'integer', 'description': '年份'}, 'models': {'type': 'array', 'description': '汽车型号列表', 'items': {'type': 'string'}}}}}]" |
[
{
"from": "human",
"value": "请替换以下材料中的'面粉',换成'糯米粉',并查询可以使用该材料的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"面粉\", \"ingredients\": [\"糯米粉\"]}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'apply_job', 'description': '申请职位', 'parameters': {'type': 'object', 'properties': {'job_id': {'type': 'number', 'description': '职位的id'}, 'resume': {'type': 'string', 'description': '个人的简历链接地址'}}, 'required': ['job_id', 'resume']}, 'result': {'type': 'boolean', 'description': '申请职位是否成功'}}, {'name': 'language_learning', 'description': '根据学习目标选择合适的语言学习课程,包括语言类型、难度等。', 'parameters': {'type': 'object', 'properties': {'target': {'type': 'string', 'description': '学习目标,如旅游、商务等。'}, 'level': {'type': 'string', 'description': '难度等级,如初学者、进阶等。'}}, 'required': ['target', 'level']}, 'result': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': '语言类型。'}, 'difficulty': {'type': 'string', 'description': '难度等级。'}, 'course_name': {'type': 'string', 'description': '课程名称。'}, 'teacher': {'type': 'string', 'description': '授课教师。'}, 'price': {'type': 'number', 'description': '课程价格。'}}}}, {'name': 'professional_skills_training', 'description': '获取职业技能培训相关信息,包括培训课程、报名流程、就业前景等。', 'parameters': {'type': 'object', 'properties': {'course_type': {'type': 'string', 'description': '课程类型,可选参数:线上、线下、半在线。', 'enum': ['线上', '线下', '半在线']}, 'sign_up_method': {'type': 'string', 'description': '报名方式,可选参数:在线报名、电话报名、现场报名。', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景,可选参数:良好、一般、差。', 'enum': ['良好', '一般', '差']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_type': {'type': 'string', 'description': '课程类型', 'enum': ['线上', '线下', '半在线']}, 'course_content': {'type': 'string', 'description': '课程内容', 'enum': []}, 'sign_up_method': {'type': 'string', 'description': '报名方式', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景', 'enum': ['良好', '一般', '差']}}}}, {'name': 'get_relationship_status', 'description': '获取两个人之间的关系状态', 'parameters': {'type': 'object', 'properties': {'person1': {'type': 'string', 'description': '人员1的名字'}, 'person2': {'type': 'string', 'description': '人员2的名字'}}, 'required': ['person1', 'person2']}, 'result': {'type': 'string', 'description': '两个人之间的关系状态,如朋友、恋人等'}}]" |
[
{
"from": "human",
"value": "请查询以下所有菜单名都包含'鱼'的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鱼\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"红烧鱼\", \"ingredients\": [\"鱼\", \"生姜\", \"葱\"], \"steps\": [\"... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getHealthTips', 'description': '获取健康小贴士', 'parameters': {'type': 'object', 'properties': {'age': {'type': 'integer', 'description': '年龄'}, 'gender': {'type': 'string', 'description': '性别', 'enum': ['*', '*']}}, 'required': ['age', 'gender']}, 'result': {'type': 'array', 'items': {'type': 'string', 'description': '健康小贴士'}}}, {'name': 'career_search', 'description': '根据关键词搜索相关职位,返回职位名称、公司名称、城市和薪资等信息。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '关键词,用于搜索相关职位。'}, 'city': {'type': 'string', 'description': '城市,用于限定搜索范围。'}, 'salary': {'type': 'string', 'description': '薪资范围,用于限定搜索结果。'}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'job_title': {'type': 'string', 'description': '职位名称。'}, 'company_name': {'type': 'string', 'description': '公司名称。'}, 'city': {'type': 'string', 'description': '城市。'}, 'salary': {'type': 'string', 'description': '薪资。'}}}}, {'name': 'get_farm_info', 'description': '查询农场信息', 'parameters': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}}, 'required': ['farm_name']}, 'result': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farmer_name': {'type': 'string', 'description': '农场主名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}, 'plant_info': {'type': 'array', 'description': '作物信息', 'items': {'type': 'object', 'properties': {'plant_name': {'type': 'string', 'description': '作物名称'}, 'plant_count': {'type': 'integer', 'description': '作物数量'}}}}}}}, {'name': 'professional_skills_training', 'description': '获取职业技能培训相关信息,包括培训课程、报名流程、就业前景等。', 'parameters': {'type': 'object', 'properties': {'course_type': {'type': 'string', 'description': '课程类型,可选参数:线上、线下、半在线。', 'enum': ['线上', '线下', '半在线']}, 'sign_up_method': {'type': 'string', 'description': '报名方式,可选参数:在线报名、电话报名、现场报名。', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景,可选参数:良好、一般、差。', 'enum': ['良好', '一般', '差']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_type': {'type': 'string', 'description': '课程类型', 'enum': ['线上', '线下', '半在线']}, 'course_content': {'type': 'string', 'description': '课程内容', 'enum': []}, 'sign_up_method': {'type': 'string', 'description': '报名方式', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景', 'enum': ['良好', '一般', '差']}}}}, {'name': 'getSportResults', 'description': '获取体育比赛结果', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目', 'enum': ['soccer', 'basketball', 'tennis']}, 'year': {'type': 'integer', 'description': '年份'}}, 'required': ['sport', 'year']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目'}, 'year': {'type': 'integer', 'description': '年份'}, 'results': {'type': 'array', 'description': '比赛结果', 'items': {'type': 'object', 'properties': {'team1': {'type': 'string', 'description': '队伍1'}, 'team2': {'type': 'string', 'description': '队伍2'}, 'score1': {'type': 'integer', 'description': '队伍1得分'}, 'score2': {'type': 'integer', 'description': '队伍2得分'}}}}}}}]" |
[
{
"from": "human",
"value": "请帮我查询一下菜谱“红烧肉”的烹饪步骤"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"红烧肉\", \"steps\": {\"step1\": \"\", \"step2\": \"\"}}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'cooking_recipe', 'description': '查询某个菜谱的制作步骤和所需材料', 'parameters': {'type': 'object', 'properties': {'recipe_name': {'type': 'string', 'description': '菜谱名称'}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['初学者', '中等难度', '高级烹饪']}, 'ingredients': {'type': 'array', 'description': '所需材料', 'items': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'amount': {'type': 'number'}}}}}, 'required': ['recipe_name', 'difficulty']}, 'result': {'type': 'object', 'properties': {'steps': {'type': 'array', 'description': '制作步骤', 'items': {'type': 'string'}}, 'tips': {'type': 'string', 'description': '制作技巧'}}}}, {'name': 'get_agricultural_info', 'description': '获取农业产业信息,包括农产品价格,农民收入统计等', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': '查询地点,示例:四川,北京,上海等', 'enum': []}, 'product_type': {'type': 'string', 'description': '查询产品类型,示例:水果类,蔬菜类,畜牧业类等', 'enum': ['水果类', '蔬菜类', '畜牧业类']}, 'time_range': {'type': 'string', 'description': '查询时间范围,示例:近一年,上半年度,3月份等', 'enum': ['近一年', '上半年度', '3月份']}}, 'required': ['location']}, 'result': {'type': 'object', 'properties': {'price': {'type': 'number', 'description': '农产品价格,单位元/公斤,保留两位小数', 'enum': []}, 'income': {'type': 'number', 'description': '农民收入,单位元,保留两位小数', 'enum': []}, 'sales_volume': {'type': 'number', 'description': '销售量,单位吨,保留两位小数', 'enum': []}}}}, {'name': 'EntertainmentSchedule', 'description': '该API用于获取娱乐活动的时间表。通过提供不同的参数,可以获取不同类型的娱乐活动的时间、地点等信息。', 'parameters': {'type': 'object', 'properties': {'activityType': {'type': 'string', 'description': '需要查询的娱乐活动类型。'}, 'location': {'type': 'string', 'description': '活动地点。'}, 'date': {'type': 'string', 'description': '需要查询的日期。'}, 'time': {'type': 'string', 'description': '需要查询的具体时间。'}}, 'required': ['activityType', 'location']}, 'result': {'type': 'object', 'properties': {'activityType': {'type': 'string', 'description': '娱乐活动类型。'}, 'location': {'type': 'string', 'description': '活动地点。'}, 'date': {'type': 'string', 'description': '活动日期。'}, 'time': {'type': 'string', 'description': '具体时间。'}}}}, {'name': 'BeautyAPI', 'description': '这是一个美容相关的API,用于获取美容护肤产品和技术的接口。', 'parameters': {'type': 'object', 'properties': {'type': 'string', 'description': '返回的信息类型', 'enum': ['products', 'tutorials', 'reviews'], 'required': ['type']}}, 'result': {'type': 'object', 'properties': {'type': 'string', 'description': '返回的信息类型', 'enum': ['products', 'tutorials', 'reviews'], 'required': ['type']}}}, {'name': 'travel_recommendation', 'description': '旅行推荐API,根据用户的出发地、目的地和出行时间等信息,推荐最佳的旅行线路、景点、交通方式等,帮助用户做出合理的旅行规划。', 'parameters': {'type': 'object', 'properties': {'departure': {'type': 'string', 'description': '出发地'}, 'destination': {'type': 'string', 'description': '目的地'}, 'date': {'type': 'string', 'description': '出行日期', 'format': 'yyyy-mm-dd'}}, 'required': ['departure', 'destination']}, 'result': {'type': 'object', 'properties': {'route': {'type': 'array', 'description': '旅行线路', 'items': {'type': 'string'}}, 'attractions': {'type': 'array', 'description': '推荐的景点', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '景点名称'}, 'description': {'type': 'string', 'description': '景点描述'}}, 'required': ['name', 'description']}}, 'transportation': {'type': 'string', 'description': '推荐的交通方式'}}, 'required': ['route', 'attractions', 'transportation']}}]" |
[
{
"from": "human",
"value": "给我推荐一个适合早餐的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"早餐\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"煎蛋\", \"ingredients\": [\"鸡蛋\", \"油\"], \"steps\": [\"准备一个鸡蛋\", \"加... | "[{'name': 'EntertainmentSchedule', 'description': '该API用于获取娱乐活动的时间表。通过提供不同的参数,可以获取不同类型的娱乐活动的时间、地点等信息。', 'parameters': {'type': 'object', 'properties': {'activityType': {'type': 'string', 'description': '需要查询的娱乐活动类型。'}, 'location': {'type': 'string', 'description': '活动地点。'}, 'date': {'type': 'string', 'description': '需要查询的日期。'}, 'time': {'type': 'string', 'description': '需要查询的具体时间。'}}, 'required': ['activityType', 'location']}, 'result': {'type': 'object', 'properties': {'activityType': {'type': 'string', 'description': '娱乐活动类型。'}, 'location': {'type': 'string', 'description': '活动地点。'}, 'date': {'type': 'string', 'description': '活动日期。'}, 'time': {'type': 'string', 'description': '具体时间。'}}}}, {'name': 'get_house_info', 'description': '获取房屋信息,支持根据位置、房型等条件筛选', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': '位置'}, 'house_type': {'type': 'string', 'description': '房型,可选范围包括:一室一厅、二室一厅、三室两厅等', 'enum': ['一室一厅', '二室一厅', '三室两厅']}}, 'required': []}, 'result': {'type': 'array', 'description': '房屋信息列表数据', 'properties': {'house_id': {'type': 'string', 'description': '房屋ID'}, 'location': {'type': 'string', 'description': '位置'}, 'house_type': {'type': 'string', 'description': '房型'}, 'area': {'type': 'number', 'description': '面积'}, 'price': {'type': 'number', 'description': '价格'}}}}, {'name': 'get_music_top_list', 'description': '获取音乐排行榜信息', 'parameters': {'type': 'object', 'properties': {'music_type': {'type': 'string', 'description': '音乐类型,如:流行、摇滚、古典、爵士等'}, 'time_range': {'type': 'string', 'description': '时间范围,如:日、周、月等'}}, 'required': ['music_type']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'song_name': {'type': 'string', 'description': '歌曲名称'}, 'singer': {'type': 'string', 'description': '歌手姓名'}, 'ranking': {'type': 'integer', 'description': '排名'}}}}}, {'name': 'getArtCraftDetails', 'description': '获取工艺美术作品详情的API接口。可以通过输入作品名称,返回该作品的详细信息,包括作品名称、作者、材料、年代等。', 'parameters': {'type': 'object', 'properties': {'artworkName': {'type': 'string', 'description': '作品名称', 'enum': []}}, 'required': ['artworkName']}, 'result': {'type': 'object', 'properties': {'artworkName': {'type': 'string', 'description': '作品名称'}, 'author': {'type': 'string', 'description': '作者'}, 'material': {'type': 'string', 'description': '材料'}, 'year': {'type': 'number', 'description': '年代'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getMovieInfo', 'description': '获取电影信息的API接口。可以通过输入电影名称,返回该电影的详细信息,包括电影名称、导演、演员、电影类型、评分等。', 'parameters': {'type': 'object', 'properties': {'movieName': {'type': 'string', 'description': '电影名称', 'enum': []}}, 'required': ['movieName']}, 'result': {'type': 'object', 'properties': {'movieName': {'type': 'string', 'description': '电影名称'}, 'director': {'type': 'string', 'description': '导演'}, 'actors': {'type': 'array', 'description': '演员列表', 'items': {'type': 'string', 'description': '演员'}}, 'genre': {'type': 'string', 'description': '电影类型'}, 'rating': {'type': 'number', 'description': '评分'}}}}]" |
[
{
"from": "human",
"value": "请查询一个 Pacman 形状的蛋糕如何制作"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"Pacman 形状的蛋糕\", \"steps\": {\"step1\": \"\", \"step2\": \"\"}}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'TourismInfo', 'description': '该API用于获取旅游信息。通过提供不同的参数,可以获取不同地点的旅游信息,包括景点介绍、交通方式、住宿推荐等内容。', 'parameters': {'type': 'object', 'properties': {'place': {'type': 'string', 'description': '需要查询的地点名称。'}, 'duration': {'type': 'number', 'description': '旅游时长,以天为单位。'}, 'budget': {'type': 'integer', 'description': '旅游预算,以人民币为单位。'}, 'interests': {'type': 'array', 'description': '用户感兴趣的内容。', 'items': {'type': 'string', 'enum': ['nature', 'culture', 'adventure']}}}, 'required': ['place']}, 'result': {'type': 'object', 'properties': {'place': {'type': 'string', 'description': '地点名称。'}, 'description': {'type': 'string', 'description': '地点介绍。'}, 'transportation': {'type': 'array', 'description': '交通方式推荐。', 'items': {'type': 'string'}}, 'accommodation': {'type': 'string', 'description': '住宿推荐。'}}}}, {'name': 'getMusicCharts', 'description': '获取音乐排行榜的API,用于查询流行音乐的排名、歌手信息以及歌曲播放次数等 data,帮助用户了解最新的音乐动态和热门曲目。', 'parameters': {'type': 'object', 'properties': {'genre': {'type': 'string', 'description': '音乐流派', 'enum': ['Pop', 'Rock', 'Hip-hop', 'R&B']}, 'chart_type': {'type': 'string', 'description': '排行榜类型', 'enum': ['Top Songs', 'New Releases']}, 'limit': {'type': 'integer', 'description': '返回结果数量', 'enum': [10, 20, 30, 40, 50]}}, 'required': ['genre', 'chart_type']}, 'result': {'type': 'object', 'properties': {'genre': {'type': 'string', 'description': '音乐流派'}, 'chart_type': {'type': 'string', 'description': '排行榜类型'}, 'songs': {'type': 'array', 'description': '排行榜歌曲列表', 'items': {'type': 'object', 'properties': {'rank': {'type': 'integer', 'description': '歌曲排名'}, 'title': {'type': 'string', 'description': '歌曲标题'}, 'artist': {'type': 'string', 'description': '歌手'}, 'plays': {'type': 'integer', 'description': '歌曲播放次数'}}, 'required': ['rank', 'title', 'artist', 'plays']}}}, 'required': ['genre', 'chart_type', 'songs']}}, {'name': 'search_movie', 'description': '搜索电影信息', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题'}, 'year': {'type': 'integer', 'description': '电影上映年份'}}}, 'result': {'type': 'array', 'description': '搜索结果列表', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题'}, 'year': {'type': 'integer', 'description': '电影上映年份'}}}}}, {'name': 'Social_API', 'description': '这是一个社交API,提供了用户注册、登录、发表帖子等社交功能。用户可以通过API进行账号管理和与其他用户进行交流。', 'parameters': {'type': 'object', 'properties': {'username': {'type': 'string', 'description': '用户名'}, 'password': {'type': 'string', 'description': '密码'}, 'email': {'type': 'string', 'description': '邮箱'}, 'content': {'type': 'string', 'description': '帖子内容'}, 'comment': {'type': 'string', 'description': '评论内容'}}, 'required': ['username', 'password']}, 'result': {'type': 'object', 'properties': {'user': {'type': 'object', 'description': '用户信息', 'properties': {'id': {'type': 'integer', 'description': '用户ID'}, 'name': {'type': 'string', 'description': '用户名'}, 'email': {'type': 'string', 'description': '邮箱'}}}, 'post': {'type': 'object', 'description': '帖子信息', 'properties': {'id': {'type': 'integer', 'description': '帖子ID'}, 'content': {'type': 'string', 'description': '帖子内容'}, 'comments': {'type': 'array', 'description': '评论列表', 'items': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '评论ID'}, 'content': {'type': 'string', 'description': '评论内容'}}}}}}}}}, {'name': 'housekeeping_service_query', 'description': '查询指定区域最近的家政服务', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'object', 'description': '所在区域经纬度', 'properties': {'latitude': {'type': 'number', 'description': '维度'}, 'longitude': {'type': 'number', 'description': '经度'}}, 'required': ['latitude', 'longitude']}, 'service_category': {'type': 'string', 'description': \"服务类别(默认值为'all')\", 'enum': ['all', 'cleaning', 'cooking', 'babysitting', 'grocery shopping']}, 'max_distance': {'type': 'integer', 'description': '最大服务距离(单位:千米,默认值为10)', 'minimum': 0, 'maximum': 50}}, 'required': ['location']}, 'result': {'type': 'object', 'properties': {'service_name': {'type': 'string', 'description': '服务名称'}, 'location': {'type': 'object', 'description': '服务所在位置经纬度', 'properties': {'latitude': {'type': 'number', 'description': '维度'}, 'longitude': {'type': 'number', 'description': '经度'}}, 'required': ['latitude', 'longitude']}, 'service_category': {'type': 'string', 'description': '服务类别'}, 'price': {'type': 'number', 'description': '服务价格'}, 'rating': {'type': 'number', 'description': '服务评分(最高5分)', 'minimum': 0, 'maximum': 5}, 'contact_number': {'type': 'string', 'description': '服务联系电话'}}}}]" |
[
{
"from": "human",
"value": "告诉我如何用鸡蛋做美味的早餐(简单难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鸡蛋\", \"difficulty\": \"简单\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"鸡蛋煎饼\", \"ingredients\": [\"鸡蛋\", \"... | "[{'name': 'search_game_info', 'description': '搜索游戏信息', 'parameters': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'platform': {'type': 'string', 'description': '平台,如:PC、手机、平板等'}}, 'required': ['game_name']}, 'result': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'game_type': {'type': 'string', 'description': '游戏类型,如:角色扮演、策略、动作等'}, 'game_score': {'type': 'number', 'description': '游戏评分'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'random_generator', 'description': '该API用于随机生成指定类型的信息,包括姓名、地址、日期、邮箱等,用于模拟测试或填充表单等场景。', 'parameters': {'type': 'object', 'properties': {'data_type': {'type': 'string', 'description': '数据类型,用于指定需要生成的信息类型,例如姓名、地址、日期等'}, 'length': {'type': 'number', 'description': '生成信息的长度或个数,对于有长度或数量限制的数据类型有效'}}, 'required': ['data_type']}, 'result': {'type': 'object', 'properties': {'data': {'type': 'string', 'description': '生成的随机信息'}}}}, {'name': 'get_job_opportunities', 'description': '获取职业发展机会,支持根据职业、公司等条件筛选', 'parameters': {'type': 'object', 'properties': {'job_type': {'type': 'string', 'description': '职业类型,可选范围包括:前端、后端、产品等', 'enum': ['前端', '后端', '产品']}, 'company_name': {'type': 'string', 'description': '公司名称'}}, 'required': []}, 'result': {'type': 'array', 'description': '职业机会列表数据', 'properties': {'job_id': {'type': 'string', 'description': '职位ID'}, 'job_name': {'type': 'string', 'description': '职位名'}, 'job_type': {'type': 'string', 'description': '职位类型'}, 'company_name': {'type': 'string', 'description': '公司名称'}, 'salary': {'type': 'number', 'description': '薪资'}, 'location': {'type': 'string', 'description': '工作地点'}}}}, {'name': 'entertainment-api', 'description': '该API提供了有关娱乐领域的信息查询及分析功能,包括影视作品、明星动态、音乐等方面的数据。', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '娱乐类别', 'enum': ['film', 'television', 'music']}, 'title': {'type': 'string', 'description': '作品标题'}, 'celebrity': {'type': 'array', 'description': '明星动态', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'age': {'type': 'integer', 'description': '年龄'}}}}}, 'required': ['category', 'title']}, 'result': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '娱乐类别', 'enum': ['film', 'television', 'music']}, 'title': {'type': 'string', 'description': '作品标题'}, 'celebrity': {'type': 'array', 'description': '明星动态', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'age': {'type': 'integer', 'description': '年龄'}}}}}, 'required': ['category', 'title']}}, {'name': 'recipe_generator', 'description': '该API用于随机生成菜谱,包括菜名、烹饪步骤、所需食材等,帮助用户获得美食灵感。', 'parameters': {'type': 'object', 'properties': {'cuisine': {'type': 'string', 'description': '所属菜系,用于指定生成的菜谱属于哪个菜系'}, 'main_ingredient': {'type': 'string', 'description': '主要食材,用于筛选所需食材包含指定主要食材的菜谱'}}, 'required': ['cuisine']}, 'result': {'type': 'object', 'properties': {'recipe_id': {'type': 'string', 'description': '菜谱ID,用于唯一标识每个菜谱'}, 'name': {'type': 'string', 'description': '菜谱的名称'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤列表', 'items': {'type': 'string'}}}}}]" |
[
{
"from": "human",
"value": "请给出一个用牛肉做的主食和配菜(中等难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"牛肉\", \"difficulty\": \"中等\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"牛肉炒饭\", \"ingredients\": [\"牛肉\", \... | "[{'name': 'get_marketing_data', 'description': '获取营销数据报告,包含用户画像、活动渠道等统计信息', 'parameters': {'type': 'object', 'properties': {'start_date': {'type': 'string', 'description': '查询起始日期,格式为YYYY-MM-DD,例如:2022-01-01'}, 'end_date': {'type': 'string', 'description': '查询结束日期,格式为YYYY-MM-DD,例如:2022-01-31'}, 'campaign_id': {'type': 'string', 'description': '活动ID,如有多个以逗号分隔'}}, 'required': ['start_date', 'end_date']}, 'result': {'type': 'object', 'properties': {'user_profile': {'type': 'object', 'description': '用户画像信息', 'properties': {'gender': {'type': 'string', 'description': '用户性别'}, 'age': {'type': 'integer', 'description': '用户年龄'}, 'location': {'type': 'object', 'description': '用户所在地信息', 'properties': {'country': {'type': 'string', 'description': '用户所在国家'}, 'province': {'type': 'string', 'description': '用户所在省份'}, 'city': {'type': 'string', 'description': '用户所在城市'}}}}}, 'channel_stats': {'type': 'array', 'description': '各渠道的统计数据', 'items': {'type': 'object', 'properties': {'channel_id': {'type': 'string', 'description': '渠道ID'}, 'click_count': {'type': 'integer', 'description': '渠道点击量'}, 'conversion_count': {'type': 'integer', 'description': '渠道转化量'}, 'conversion_rate': {'type': 'number', 'description': '渠道转化率'}}}}}}}, {'name': 'social_post', 'description': '发布社交媒体帖子', 'parameters': {'type': 'object', 'properties': {'platform': {'type': 'string', 'description': '发布平台,如微信、微博等'}, 'content': {'type': 'string', 'description': '帖子内容,限制1000字以内'}, 'images': {'type': 'array', 'description': '附图列表,多张图片以逗号分隔', 'items': {'type': 'string'}}, 'location': {'type': 'object', 'description': '发布地理位置信息', 'properties': {'latitude': {'type': 'number', 'description': '纬度'}, 'longitude': {'type': 'number', 'description': '经度'}}}}, 'required': ['platform', 'content']}, 'result': {'type': 'object', 'properties': {'post_id': {'type': 'string', 'description': '帖子ID'}, 'post_time': {'type': 'string', 'description': '帖子发布时间,格式为YYYY-MM-DD HH:mm:ss'}, 'post_link': {'type': 'string', 'description': '帖子链接'}}}}, {'name': 'early_childhood_learning', 'description': '获取早期教育相关信息,包括教育机构、课程安排、教师资格、家庭教育理念等。', 'parameters': {'type': 'object', 'properties': {'structure_type': {'type': 'string', 'description': '教育机构类型,可选参数:公立、私立、非盈利机构等。', 'enum': ['公立', '私立', '非盈利机构']}, 'teacher_certification': {'type': 'string', 'description': '教师资格认证情况,可选参数:已认证、未认证。', 'enum': ['已认证', '未认证']}, 'family_education_philosophy': {'type': 'string', 'description': '家庭教育理念,可选参数:以孩子为中心、以家长为中心。', 'enum': ['以孩子为中心', '以家长为中心']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'org_name': {'type': 'string', 'description': '机构名称', 'enum': []}, 'org_type': {'type': 'string', 'description': '机构类型', 'enum': ['公立', '私立', '非盈利机构']}, 'instructor_name': {'type': 'string', 'description': '责任教师姓名', 'enum': []}, 'certification_status': {'type': 'string', 'description': '教师资格认证情况', 'enum': ['已认证', '未认证']}, 'course_schedule': {'type': 'object', 'description': '课程安排', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_time': {'type': 'string', 'description': '上课时间', 'enum': []}}}}}}, {'name': 'getSportInfo', 'description': '获取运动信息', 'parameters': {'type': 'object', 'properties': {'sportType': {'type': 'string', 'description': '运动类型'}, 'sportDate': {'type': 'string', 'description': '运动日期'}, 'sportDuration': {'type': 'number', 'description': '运动时长'}}, 'required': ['sportType', 'sportDate']}, 'result': {'type': 'object', 'properties': {'sportInfo': {'type': 'array', 'description': '运动信息', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '运动名称'}, 'duration': {'type': 'number', 'description': '运动时长'}, 'calories': {'type': 'number', 'description': '消耗卡路里'}}}}}}}, {'name': 'family_education_api_1', 'description': '查询孩子在不同年龄段下的学习方法和注意事项', 'parameters': {'type': 'object', 'properties': {'child_age': {'type': 'integer', 'description': '孩子的年龄,支持3岁以上', 'enum': [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]}, 'parent_name': {'type': 'string', 'description': '家长姓名'}, 'parent_phone': {'type': 'string', 'description': '家长电话号码'}}, 'required': ['child_age', 'parent_name']}, 'result': {'type': 'object', 'properties': {'study_method': {'type': 'string', 'description': '孩子在不同年龄段下的学习方法'}, 'note': {'type': 'string', 'description': '孩子在不同年龄段下需要注意的事项'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}]" |
[
{
"from": "human",
"value": "请给出一个用鸡肉做的快手晚餐(20分钟内)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鸡肉\", \"time\": 20}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getEnvironmentalData', 'description': '获取环保数据的API接口。可以通过输入时间范围和地区,返回该地区在该时间范围内的环保数据,包括空气质量、PM2.5浓度、CO2排放量等。', 'parameters': {'type': 'object', 'properties': {'startTime': {'type': 'string', 'description': '开始时间'}, 'endTime': {'type': 'string', 'description': '结束时间'}, 'region': {'type': 'string', 'description': '地区'}}, 'required': ['startTime', 'endTime', 'region']}, 'result': {'type': 'object', 'properties': {'startTime': {'type': 'string', 'description': '开始时间'}, 'endTime': {'type': 'string', 'description': '结束时间'}, 'region': {'type': 'string', 'description': '地区'}, 'airQuality': {'type': 'string', 'description': '空气质量'}, 'pm25': {'type': 'number', 'description': 'PM2.5浓度'}, 'co2Emission': {'type': 'number', 'description': 'CO2排放量'}}}}, {'name': 'Environmental_Analysis', 'description': 'This API provides analysis on environmental factors affecting a specific location. It takes into account various parameters such as air quality, water pollution levels, and noise levels. The result contains detailed information about the environmental conditions.', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location for which environmental analysis is to be performed.'}, 'date': {'type': 'string', 'description': 'The date for which environmental analysis is to be performed.'}, 'time': {'type': 'string', 'description': 'The time at which environmental analysis is to be performed.'}, 'factors': {'type': 'array', 'description': 'List of environmental factors to be considered for analysis.', 'items': {'type': 'string', 'enum': ['air quality', 'water pollution', 'noise levels']}}}, 'required': ['location', 'date', 'time']}, 'result': '{parameters}'}, {'name': 'getMarriageDate', 'description': '计算结婚日期', 'parameters': {'type': 'object', 'properties': {'birthday_1': {'type': 'string', 'description': '*方出生日期', 'format': 'date'}, 'birthday_2': {'type': 'string', 'description': '*方出生日期', 'format': 'date'}, 'location': {'type': 'string', 'description': '结婚地点'}}, 'required': ['birthday_1', 'birthday_2', 'location']}, 'result': {'type': 'object', 'properties': {'marriage_date': {'type': 'string', 'description': '结婚日期', 'format': 'date'}, 'best_man': {'type': 'string', 'description': '伴郎姓名'}, 'maid_of_honor': {'type': 'string', 'description': '伴娘姓名'}}, 'required': ['marriage_date', 'best_man', 'maid_of_honor']}}, {'name': 'social_comment', 'description': '查询某个话题的讨论评论', 'parameters': {'type': 'object', 'properties': {'topic_id': {'type': 'string', 'description': '话题编号'}, 'user_id': {'type': 'string', 'description': '用户编号'}, 'filter': {'type': 'string', 'description': '过滤条件', 'enum': ['最新', '最热']}}, 'required': ['topic_id']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'comment_id': {'type': 'string'}, 'user_id': {'type': 'string'}, 'content': {'type': 'string'}, 'creation_time': {'type': 'string'}}}}}, {'name': 'SportsMatchAPI', 'description': '此API用于记录和查询体育比赛的相关信息。', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育比赛的类型'}, 'teams': {'type': 'array', 'description': '参与比赛的团队列表', 'items': {'type': 'string'}}, 'venue': {'type': 'string', 'description': '比赛场馆'}, 'date': {'type': 'string', 'description': '比赛日期'}, 'result': {'type': 'string', 'description': '比赛结果'}, 'score': {'type': 'array', 'description': '比赛得分列表', 'items': {'type': 'integer'}}}, 'required': ['sport', 'teams', 'venue', 'date']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育比赛的类型'}, 'teams': {'type': 'array', 'description': '参与比赛的团队列表', 'items': {'type': 'string'}}, 'venue': {'type': 'string', 'description': '比赛场馆'}, 'date': {'type': 'string', 'description': '比赛日期'}, 'result': {'type': 'string', 'description': '比赛结果'}, 'score': {'type': 'array', 'description': '比赛得分列表', 'items': {'type': 'integer'}}}}}]" |
[
{
"from": "human",
"value": "请告诉我用花菜做的一道美味的素菜(困难难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"花菜\", \"difficulty\": \"困难\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"花菜炒蛋\", \"ingredients\": [\"花菜\", ... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_agricultural_info', 'description': '获取农业产业信息,包括农产品价格,农民收入统计等', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': '查询地点,示例:四川,北京,上海等', 'enum': []}, 'product_type': {'type': 'string', 'description': '查询产品类型,示例:水果类,蔬菜类,畜牧业类等', 'enum': ['水果类', '蔬菜类', '畜牧业类']}, 'time_range': {'type': 'string', 'description': '查询时间范围,示例:近一年,上半年度,3月份等', 'enum': ['近一年', '上半年度', '3月份']}}, 'required': ['location']}, 'result': {'type': 'object', 'properties': {'price': {'type': 'number', 'description': '农产品价格,单位元/公斤,保留两位小数', 'enum': []}, 'income': {'type': 'number', 'description': '农民收入,单位元,保留两位小数', 'enum': []}, 'sales_volume': {'type': 'number', 'description': '销售量,单位吨,保留两位小数', 'enum': []}}}}, {'name': 'music_playlist', 'description': '获取音乐播放列表信息。', 'parameters': {'type': 'object', 'properties': {'user_id': {'type': 'string', 'description': '用户ID。'}, 'playlist_id': {'type': 'string', 'description': '播放列表ID。'}}, 'required': ['user_id']}, 'result': {'type': 'object', 'properties': {'playlist_id': {'type': 'string', 'description': '播放列表ID。'}, 'songs': {'type': 'array', 'description': '歌曲列表。', 'items': {'type': 'object', 'properties': {'song_name': {'type': 'string', 'description': '歌曲名称。'}, 'artist': {'type': 'string', 'description': '歌手。'}, 'duration': {'type': 'number', 'description': '歌曲时长(秒)。'}}}}}}}, {'name': 'get_pet_info', 'description': '获取宠物基本信息', 'parameters': {'type': 'object', 'properties': {'pet_id': {'type': 'string', 'description': '宠物ID', 'enum': []}}, 'required': ['pet_id']}, 'result': {'type': 'object', 'properties': {'pet_name': {'type': 'string', 'description': '宠物名称'}, 'owner': {'type': 'string', 'description': '主人'}, 'age': {'type': 'integer', 'description': '年龄'}}}}, {'name': 'public_speaking_tips', 'description': '获取公开演讲的表达技巧和建议,包括身体语言、声音控制、演讲稿写作等方面的内容。', 'parameters': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '演讲主题'}, 'body_language_tips': {'type': 'array', 'description': '身体语言技巧', 'items': {'type': 'string'}}, 'voice_control_tips': {'type': 'array', 'description': '声音控制技巧', 'items': {'type': 'string'}}, 'speech_writing_tips': {'type': 'array', 'description': '演讲稿写作技巧', 'items': {'type': 'string'}}}, 'required': ['topic']}, 'result': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '演讲主题'}, 'body_language_tips': {'type': 'array', 'description': '身体语言技巧', 'items': {'type': 'string'}}, 'voice_control_tips': {'type': 'array', 'description': '声音控制技巧', 'items': {'type': 'string'}}, 'speech_writing_tips': {'type': 'array', 'description': '演讲稿写作技巧', 'items': {'type': 'string'}}}, 'required': ['topic']}}, {'name': 'cookbook', 'description': '该API用于查询烹饪菜谱,根据食材或菜名搜索相关的菜谱。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '关键词,可以是菜名或食材名'}, 'type': {'type': 'string', 'description': '菜谱类型', 'enum': ['热菜', '凉菜', '主食', '汤羹', '甜品']}, 'calories': {'type': 'number', 'description': '卡路里范围,单位为千卡'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'string'}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜谱名称'}, 'type': {'type': 'string', 'description': '菜谱类型'}, 'calories': {'type': 'number', 'description': '卡路里值'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '食材名称'}, 'quantity': {'type': 'string', 'description': '用量'}}}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}]" |
[
{
"from": "human",
"value": "请告诉我如何使用豆腐和蔬菜做一道美味的小炒菜(中等难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"豆腐\", \"ingredients\": [\"豆腐\", \"蔬菜\"], \"difficulty\": \"中等\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"nam... | "[{'name': 'MovieInfo', 'description': '获取电影详情信息的接口,根据电影ID返回电影的基本信息,包括电影名称、导演、演员、时长、上映时间、评分等。', 'parameters': {'type': 'object', 'properties': {'movieId': {'type': 'string', 'description': '电影ID,每部电影都有一个唯一的ID标识'}}, 'required': ['movieId']}, 'result': {'type': 'object', 'properties': {'movieName': {'type': 'string', 'description': '电影名称'}, 'director': {'type': 'string', 'description': '导演'}, 'actors': {'type': 'array', 'items': {'type': 'string'}, 'description': '演员列表'}, 'duration': {'type': 'number', 'description': '电影时长(单位:分钟)'}, 'releaseDate': {'type': 'string', 'description': '上映时间'}, 'rating': {'type': 'number', 'description': '评分(范围:0-10)'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_economic_indicator', 'description': '查询经济指标', 'parameters': {'type': 'object', 'properties': {'indicator_type': {'type': 'string', 'description': '指标类型,如国内生产总值,人均收入等', 'enum': ['国内生产总值', '人均收入']}, 'time_range': {'type': 'string', 'description': '查询时间范围,如近一年,上半年度,3月份', 'enum': ['近一年', '上半年度', '3月份']}}, 'required': ['indicator_type']}, 'result': {'type': 'object', 'properties': {'value': {'type': 'number', 'description': '指标数值', 'enum': []}, 'unit': {'type': 'string', 'description': '数值单位,如亿元,元/人', 'enum': []}, 'change_rate': {'type': 'number', 'description': '变化率,可为正数、负数或零,单位为%', 'enum': []}}}}, {'name': 'get_language_courses', 'description': '获取语言学习相关课程信息', 'parameters': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': \"目标语言的名称,如'英语'、'法语'、'德语'\", 'required': True}, 'level': {'type': 'string', 'description': \"目标学习者的等级,如'初级'、'中级'、'高级'\", 'required': True}, 'price_range': {'type': 'array', 'description': '价格区间,如[0, 100]表示价格在0-100元之间', 'items': {'type': 'number'}}}, 'required': ['language', 'level']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'description': {'type': 'string'}, 'price': {'type': 'number'}, 'enrollment': {'type': 'integer'}}}}, {'name': 'relationship-api', 'description': '该API提供了有关人际关系领域的信息查询及分析功能,包括恋爱、友谊、亲情等方面的数据。', 'parameters': {'type': 'object', 'properties': {'type': {'type': 'string', 'description': '关系类型', 'enum': ['romantic', 'friendship', 'family']}, 'name': {'type': 'string', 'description': '姓名'}, 'gender': {'type': 'string', 'description': '性别', 'enum': ['*', '*']}, 'age': {'type': 'integer', 'description': '年龄'}}, 'required': ['type', 'name']}, 'result': {'type': 'object', 'properties': {'type': {'type': 'string', 'description': '关系类型', 'enum': ['romantic', 'friendship', 'family']}, 'name': {'type': 'string', 'description': '姓名'}, 'gender': {'type': 'string', 'description': '性别', 'enum': ['*', '*']}, 'age': {'type': 'integer', 'description': '年龄'}}, 'required': ['type', 'name']}}, {'name': 'RandomQuoteAPI', 'description': '此API用于获取随机的名人名言。', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '名言的类别'}}}, 'result': {'type': 'object', 'properties': {'quote': {'type': 'string', 'description': '名人名言'}, 'author': {'type': 'string', 'description': '名人名言的作者'}}}}]" |
[
{
"from": "human",
"value": "请告诉我如何用茄子做一道美味的主菜(简单难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"茄子\", \"difficulty\": \"简单\"}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'fashion_products', 'description': '查询时尚产品信息', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '产品类别'}, 'color': {'type': 'string', 'description': '产品颜色'}}, 'required': ['category']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '产品唯一标识ID'}, 'name': {'type': 'string', 'description': '产品名称'}, 'description': {'type': 'string', 'description': '产品描述'}, 'price': {'type': 'number', 'description': '产品价格'}, 'brand': {'type': 'string', 'description': '产品品牌'}}, 'required': ['id', 'name', 'price']}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_food_by_name', 'description': '根据食物名称获取营养成分', 'parameters': {'type': 'object', 'properties': {'food_name': {'type': 'string', 'description': '指定食物名称'}, 'is_raw': {'type': 'boolean', 'description': '是否返回生食营养成分'}}, 'required': ['food_name']}, 'result': {'type': 'object', 'properties': {'calorie': {'type': 'number', 'description': '卡路里(kcal)'}, 'protein': {'type': 'number', 'description': '蛋白质(g)'}, 'fat': {'type': 'number', 'description': '脂肪(g)'}, 'carbohydrate': {'type': 'number', 'description': '碳水化合物(g)'}}, 'required': ['calorie', 'protein', 'fat', 'carbohydrate']}}, {'name': 'movie_info', 'description': '获取电影详细信息。', 'parameters': {'type': 'object', 'properties': {'movie_id': {'type': 'string', 'description': '电影ID。'}}, 'required': ['movie_id']}, 'result': {'type': 'object', 'properties': {'movie_id': {'type': 'string', 'description': '电影ID。'}, 'title': {'type': 'string', 'description': '电影标题。'}, 'genre': {'type': 'array', 'description': '电影类型列表。', 'items': {'type': 'string', 'description': '电影类型。'}}, 'release_date': {'type': 'string', 'description': '上映日期。'}, 'runtime': {'type': 'integer', 'description': '电影时长(分钟)。'}, 'director': {'type': 'string', 'description': '导演。'}, 'cast': {'type': 'array', 'description': '演员列表。', 'items': {'type': 'string', 'description': '演员。'}}}}}, {'name': 'DrivingRoute', 'description': '交通出行API提供实时道路交通信息,在线查询交通拥堵情况、计算驾车路径等,帮助用户规划最佳行车路线。', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': '出发地点', 'required': True}, 'destination': {'type': 'string', 'description': '目的地', 'required': True}, 'avoid': {'type': 'string', 'description': '避让区域', 'enum': ['tolls', 'highways', 'ferries'], 'default': []}}, 'required': ['origin', 'destination']}, 'result': {'type': 'object', 'properties': {'duration': {'type': 'number', 'description': '预计行车时间,单位为分钟'}, 'distance': {'type': 'number', 'description': '预计行驶距离,单位为公里'}, 'route': {'type': 'array', 'description': '路线详情', 'items': {'type': 'string'}}}, 'required': ['duration', 'distance']}}, {'name': 'getSkills', 'description': '获取职业技能列表。', 'parameters': {'type': 'object', 'properties': {'type': 'string', 'description': '技能类型', 'skillType': {'type': 'string', 'description': '技能类型', 'enum': ['IT', 'Finance', 'Marketing', 'Sales']}}, 'required': ['skillType']}, 'result': {'type': 'object', 'properties': {'type': 'array', 'description': '职业技能列表', 'skills': {'type': 'array', 'items': {'type': 'string', 'description': '技能名称'}}}}}]" |
[
{
"from": "human",
"value": "请告诉我如何用土豆做一道美味的汤(困难难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"土豆\", \"difficulty\": \"困难\"}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'tv_series_info', 'description': '查询指定剧集信息,包括剧集名称、导演、演员等。', 'parameters': {'type': 'object', 'properties': {'series_id': {'type': 'string', 'description': '剧集ID,用于查询指定剧集信息。'}}, 'required': ['series_id']}, 'result': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '剧集名称。'}, 'director': {'type': 'string', 'description': '导演。'}, 'actors': {'type': 'array', 'description': '演员列表。', 'items': {'type': 'string', 'description': '演员姓名。'}}}}}, {'name': 'get_artists', 'description': '获取艺术家列表', 'parameters': {'type': 'object', 'properties': {'sort_by': {'type': 'string', 'description': '艺术家排序方式', 'enum': ['name', 'age']}, 'filter': {'type': 'object', 'description': '筛选条件', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'country': {'type': 'string', 'description': '国籍'}}}}, 'required': []}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'age': {'type': 'integer', 'description': '年龄'}, 'nationality': {'type': 'string', 'description': '国籍'}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'cookbook_search', 'description': '搜索指定菜品的做法和食材搭配等相关信息', 'parameters': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '所要搜索的菜品名称'}, 'ingredient_name': {'type': 'string', 'description': '所要搜索的食材名称'}, 'tag': {'type': 'string', 'description': '所要搜索的菜品标签'}, 'page': {'type': 'integer', 'description': '需要查询的页码数(默认值为1)', 'minimum': 1}}, 'required': ['dish_name']}, 'result': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '菜品名称'}, 'description': {'type': 'string', 'description': '菜品描述'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'object', 'properties': {'ingredient_name': {'type': 'string', 'description': '食材名称'}, 'quantity': {'type': 'string', 'description': '食材用量'}}}}, 'steps': {'type': 'array', 'description': '制作步骤', 'items': {'type': 'object', 'properties': {'step_number': {'type': 'integer', 'description': '步骤编号'}, 'step_description': {'type': 'string', 'description': '步骤描述'}, 'image_url': {'type': 'string', 'description': '步骤图片url'}}}}, 'tips': {'type': 'string', 'description': '小贴士'}, 'related_dishes': {'type': 'array', 'description': '相关菜品推荐', 'items': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '相关菜品名称'}, 'image_url': {'type': 'string', 'description': '相关菜品图片url'}}}}}}}, {'name': 'travel_guide', 'description': '提供目的地的详细旅游攻略及有用信息,如当地美食、景点、交通、住宿等。', 'parameters': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}}, 'required': ['destination']}, 'result': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}, 'food_info': {'type': 'object', 'description': '美食信息', 'properties': {'food_name': {'type': 'string', 'description': '美食名称'}, 'food_type': {'type': 'string', 'description': '美食类型'}}, 'required': ['food_name']}, 'attraction_info': {'type': 'object', 'description': '景点信息', 'properties': {'attraction_name': {'type': 'string', 'description': '景点名称'}, 'attraction_type': {'type': 'string', 'description': '景点类型'}}, 'required': ['attraction_name']}, 'traffic_info': {'type': 'object', 'description': '交通信息', 'properties': {'traffic_type': {'type': 'string', 'description': '交通类型'}, 'traffic_cost': {'type': 'number', 'description': '交通费用'}}, 'required': ['traffic_type']}, 'hotel_info': {'type': 'object', 'description': '酒店信息', 'properties': {'hotel_name': {'type': 'string', 'description': '酒店名称'}, 'hotel_type': {'type': 'string', 'description': '酒店类型'}}, 'required': ['hotel_name']}}, 'required': ['destination', 'travel_time']}}, {'name': 'crop_yield_prediction', 'description': '预测作物产量并输出结果', 'parameters': {'type': 'object', 'properties': {'crop_type': {'type': 'string', 'description': '作物类型'}, 'month': {'type': 'integer', 'description': '月份'}, 'region': {'type': 'string', 'description': '种植地区'}}, 'required': ['crop_type', 'month', 'region']}, 'result': {'type': 'number', 'description': '作物产量预测结果'}}]" |
[
{
"from": "human",
"value": "请告诉我如何用南瓜和胡萝卜做一道美味的素菜(中等难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"ingredients\": [\"南瓜\", \"胡萝卜\"], \"difficulty\": \"中等\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": []}"
},... | "[{'name': 'movieRecommendation', 'description': '根据用户的喜好和观影历史推荐电影。', 'parameters': {'type': 'object', 'properties': {'genre': {'type': 'string', 'description': '用户喜好的电影类型。', 'enum': ['动作', '喜剧', '爱情', '科幻', '惊悚', '动画']}, 'year': {'type': 'integer', 'description': '用户期望的电影上映年份。'}, 'limit': {'type': 'number', 'description': '返回电影推荐数量的限制。'}}, 'required': ['genre']}, 'result': {'type': 'object', 'properties': {'movies': {'type': 'array', 'description': '电影推荐列表。', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题。'}, 'genre': {'type': 'string', 'description': '电影类型。'}, 'year': {'type': 'integer', 'description': '电影上映年份。'}, 'rating': {'type': 'number', 'description': '电影评分。'}}, 'required': ['title', 'genre', 'year', 'rating']}}}, 'required': ['movies']}}, {'name': 'TechnologyNewsAPI', 'description': '这是一个科技新闻相关的API,用于获取最新的科技新闻头条。', 'parameters': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': '新闻语言', 'enum': ['en', 'fr', 'es'], 'required': ['language']}, 'country': {'type': 'string', 'description': '新闻国家', 'enum': ['us', 'ca', 'uk'], 'required': ['country']}}, 'required': ['language', 'country']}, 'result': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': '新闻语言', 'enum': ['en', 'fr', 'es'], 'required': ['language']}, 'country': {'type': 'string', 'description': '新闻国家', 'enum': ['us', 'ca', 'uk'], 'required': ['country']}}, 'required': ['language', 'country']}}, {'name': 'searchMovie', 'description': '电影搜索接口', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '电影关键词'}, 'year': {'type': 'integer', 'description': '上映年份', 'enum': [2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020]}}}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题'}, 'year': {'type': 'integer', 'description': '上映年份'}, 'director': {'type': 'string', 'description': '导演'}, 'actor': {'type': 'string', 'description': '演员'}}, 'required': ['title', 'year', 'director', 'actor']}}}, {'name': 'travel_guide', 'description': '提供目的地的详细旅游攻略及有用信息,如当地美食、景点、交通、住宿等。', 'parameters': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}}, 'required': ['destination']}, 'result': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}, 'food_info': {'type': 'object', 'description': '美食信息', 'properties': {'food_name': {'type': 'string', 'description': '美食名称'}, 'food_type': {'type': 'string', 'description': '美食类型'}}, 'required': ['food_name']}, 'attraction_info': {'type': 'object', 'description': '景点信息', 'properties': {'attraction_name': {'type': 'string', 'description': '景点名称'}, 'attraction_type': {'type': 'string', 'description': '景点类型'}}, 'required': ['attraction_name']}, 'traffic_info': {'type': 'object', 'description': '交通信息', 'properties': {'traffic_type': {'type': 'string', 'description': '交通类型'}, 'traffic_cost': {'type': 'number', 'description': '交通费用'}}, 'required': ['traffic_type']}, 'hotel_info': {'type': 'object', 'description': '酒店信息', 'properties': {'hotel_name': {'type': 'string', 'description': '酒店名称'}, 'hotel_type': {'type': 'string', 'description': '酒店类型'}}, 'required': ['hotel_name']}}, 'required': ['destination', 'travel_time']}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_cooking_recipe', 'description': '查询烹饪菜谱', 'parameters': {'type': 'object', 'properties': {'dish_type': {'type': 'string', 'description': '菜品类型,如川菜,粤菜,湘菜等', 'enum': ['川菜', '粤菜', '湘菜']}, 'ingredient': {'type': 'string', 'description': '食材名称,如鸡蛋,牛肉,芹菜等', 'enum': []}, 'is_veg': {'type': 'boolean', 'description': '是否素食', 'enum': [True, False]}}, 'required': ['dish_type', 'ingredient']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名', 'enum': []}, 'ingredient_list': {'type': 'array', 'description': '食材清单', 'items': {'type': 'string', 'description': '食材名称', 'enum': []}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string', 'description': '烹饪步骤描述', 'enum': []}}}}}]" |
[
{
"from": "human",
"value": "请告诉我如何用鱼做一道美味的主菜(简单难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鱼\", \"difficulty\": \"简单\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"鱼香肉丝\", \"ingredients\": [\"鱼\", \"... | "[{'name': 'politics-api', 'description': '该API提供了有关政治领域的信息查询及分析功能,包括政治事件、政府政策、政治人物等方面的数据。', 'parameters': {'type': 'object', 'properties': {'event': {'type': 'string', 'description': '政治事件', 'enum': ['election', 'protest', 'summit']}, 'policy': {'type': 'object', 'description': '政府政策', 'properties': {'category': {'type': 'string', 'description': '政策类别', 'enum': ['economic', 'social', 'environmental']}, 'year': {'type': 'integer', 'description': '政策发布年份'}}}, 'personnel': {'type': 'array', 'description': '政治人物', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'position': {'type': 'string', 'description': '职位'}}}}}, 'required': ['event']}, 'result': {'type': 'object', 'properties': {'event': {'type': 'string', 'description': '政治事件', 'enum': ['election', 'protest', 'summit']}, 'policy': {'type': 'object', 'description': '政府政策', 'properties': {'category': {'type': 'string', 'description': '政策类别', 'enum': ['economic', 'social', 'environmental']}, 'year': {'type': 'integer', 'description': '政策发布年份'}}}, 'personnel': {'type': 'array', 'description': '政治人物', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'position': {'type': 'string', 'description': '职位'}}}}}, 'required': ['event']}}, {'name': 'get_farm_info', 'description': '查询农场信息', 'parameters': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}}, 'required': ['farm_name']}, 'result': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farmer_name': {'type': 'string', 'description': '农场主名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}, 'plant_info': {'type': 'array', 'description': '作物信息', 'items': {'type': 'object', 'properties': {'plant_name': {'type': 'string', 'description': '作物名称'}, 'plant_count': {'type': 'integer', 'description': '作物数量'}}}}}}}, {'name': 'searchMovies', 'description': '电影搜索的API,用于根据关键词搜索电影信息,包括电影名称、类型、评分和上映日期等信息,帮助用户找到感兴趣的电影。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '搜索关键词'}, 'genre': {'type': 'string', 'description': '电影类型', 'enum': ['Action', 'Comedy', 'Drama', 'Romance', 'Thriller']}, 'year': {'type': 'integer', 'description': '上映年份'}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '搜索关键词'}, 'genre': {'type': 'string', 'description': '电影类型'}, 'year': {'type': 'integer', 'description': '上映年份'}, 'movies': {'type': 'array', 'description': '搜索结果电影列表', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影名称'}, 'rating': {'type': 'number', 'description': '电影评分'}, 'release_date': {'type': 'string', 'description': '电影上映日期'}, 'genre': {'type': 'string', 'description': '电影类型'}}, 'required': ['title', 'rating', 'release_date', 'genre']}}}, 'required': ['keyword', 'movies']}}, {'name': 'create_dish', 'description': '创建一道新的美食菜品。', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}, 'required': ['name', 'ingredients', 'steps']}, 'result': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '新创建菜品的唯一标识。'}, 'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'search_movies', 'description': '搜索电影', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '搜索关键词'}, 'filter': {'type': 'object', 'description': '筛选条件', 'properties': {'actor': {'type': 'string', 'description': '演员'}, 'director': {'type': 'string', 'description': '导演'}}}}, 'required': ['keyword']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影名称'}, 'year': {'type': 'integer', 'description': '上映年份'}, 'actors': {'type': 'array', 'items': {'type': 'string', 'description': '演员列表'}}, 'director': {'type': 'string', 'description': '导演'}}}}}]" |
[
{
"from": "human",
"value": "请给出一个用牛肉和土豆做的主食(中等难度)"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"ingredients\": [\"牛肉\", \"土豆\"], \"difficulty\": \"中等\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"牛肉... | "[{'name': 'political_news', 'description': '该API用于获取最新的政治新闻信息,包括国内外政治动态、重大事件、领导人活动等。', 'parameters': {'type': 'object', 'properties': {'country': {'type': 'string', 'description': '国家名称,用于指定需要获取政治新闻的国家'}, 'keywords': {'type': 'array', 'description': '关键词列表,用于筛选与指定关键词相关的政治新闻', 'items': {'type': 'string'}}}, 'required': ['country']}, 'result': {'type': 'object', 'properties': {'news_id': {'type': 'string', 'description': '新闻ID,用于唯一标识每条政治新闻'}, 'title': {'type': 'string', 'description': '政治新闻的标题'}, 'content': {'type': 'string', 'description': '政治新闻的内容'}, 'publish_date': {'type': 'string', 'description': '政治新闻的发布日期'}}}}, {'name': 'get_music_top_list', 'description': '获取音乐排行榜信息', 'parameters': {'type': 'object', 'properties': {'music_type': {'type': 'string', 'description': '音乐类型,如:流行、摇滚、古典、爵士等'}, 'time_range': {'type': 'string', 'description': '时间范围,如:日、周、月等'}}, 'required': ['music_type']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'song_name': {'type': 'string', 'description': '歌曲名称'}, 'singer': {'type': 'string', 'description': '歌手姓名'}, 'ranking': {'type': 'integer', 'description': '排名'}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getMuseumExhibitList', 'description': '获取博物馆展品列表', 'parameters': {'type': 'object', 'properties': {'museumName': {'type': 'string', 'description': '博物馆名称'}, 'exhibitType': {'type': 'string', 'description': '展品类型'}}, 'required': ['museumName']}, 'result': {'type': 'array', 'description': '展品列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '展品名称'}, 'description': {'type': 'string', 'description': '展品描述'}, 'image': {'type': 'string', 'description': '展品图片链接'}}}}}, {'name': 'search_job', 'description': '搜索职业。', 'parameters': {'type': 'object', 'properties': {'keywords': {'type': 'string', 'description': '关键字。'}, 'job_type': {'type': 'string', 'description': '职业类型。', 'enum': ['全职', '兼职', '实习']}, 'salary_range': {'type': 'object', 'description': '薪资范围。', 'properties': {'min': {'type': 'number', 'description': '最小薪资。'}, 'max': {'type': 'number', 'description': '最大薪资。'}}}, 'query_options': {'type': 'object', 'description': '查询选项。', 'properties': {'skip': {'type': 'integer', 'description': '跳过的数量。'}, 'limit': {'type': 'integer', 'description': '返回的数量。'}}}}}, 'result': {'type': 'object', 'properties': {'jobs': {'type': 'array', 'description': '搜索到的职业列表。', 'items': {'type': 'object', 'properties': {'job_title': {'type': 'string', 'description': '职位名称。'}, 'company_name': {'type': 'string', 'description': '公司名称。'}, 'city': {'type': 'string', 'description': '城市。'}, 'salary': {'type': 'number', 'description': '薪资。'}, 'job_description': {'type': 'string', 'description': '职位描述。'}}}}}}}, {'name': 'TrafficPrediction', 'description': '交通预测API通过分析历史交通数据和实时交通流量信息,预测未来某一时间段内交通情况,提供行车时间预测和拥堵概率。', 'parameters': {'type': 'object', 'properties': {'start_time': {'type': 'string', 'description': '开始时间,格式为yyyy-mm-dd hh:mm', 'required': True}, 'end_time': {'type': 'string', 'description': '结束时间,格式为yyyy-mm-dd hh:mm', 'required': True}, 'route': {'type': 'string', 'description': '行驶路线', 'required': True}}, 'required': ['start_time', 'end_time', 'route']}, 'result': {'type': 'object', 'properties': {'duration_prediction': {'type': 'number', 'description': '预测行车时间,单位为分钟'}, 'congestion_probability': {'type': 'number', 'description': '拥堵概率,范围为0-1'}, 'traffic_flow': {'type': 'array', 'description': '每分钟交通流量数据', 'items': {'type': 'number'}}}, 'required': ['duration_prediction', 'congestion_probability', 'traffic_flow']}}]" |
[
{
"from": "human",
"value": "帮我找到名字中包含“鸡肉”并且难度等级为简单的菜品"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鸡肉\", \"difficulty\": \"简单\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"鸡肉炒饭\", \"ingredients\": [\"鸡肉\... | "[{'name': 'sportsNews', 'description': '获取最新的体育新闻。', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': '新闻发布的地区。', 'enum': ['中国', '美国', '英国', '巴西']}, 'category': {'type': 'string', 'description': '新闻类别。', 'enum': ['足球', '篮球', '网球', '高尔夫']}, 'limit': {'type': 'number', 'description': '返回新闻数量的限制。'}}, 'required': ['region']}, 'result': {'type': 'object', 'properties': {'news': {'type': 'array', 'description': '新闻列表。', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '新闻标题。'}, 'content': {'type': 'string', 'description': '新闻内容。'}, 'source': {'type': 'string', 'description': '新闻来源。'}}, 'required': ['title', 'content', 'source']}}}, 'required': ['news']}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'language_learning', 'description': '根据学习目标选择合适的语言学习课程,包括语言类型、难度等。', 'parameters': {'type': 'object', 'properties': {'target': {'type': 'string', 'description': '学习目标,如旅游、商务等。'}, 'level': {'type': 'string', 'description': '难度等级,如初学者、进阶等。'}}, 'required': ['target', 'level']}, 'result': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': '语言类型。'}, 'difficulty': {'type': 'string', 'description': '难度等级。'}, 'course_name': {'type': 'string', 'description': '课程名称。'}, 'teacher': {'type': 'string', 'description': '授课教师。'}, 'price': {'type': 'number', 'description': '课程价格。'}}}}, {'name': 'ArtMasterpieceAPI', 'description': '此API用于上传工艺美术作品信息,并返回作品的详细数据。', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '工艺美术作品的名称'}, 'creator': {'type': 'string', 'description': '工艺美术作品的创作者'}, 'year': {'type': 'integer', 'description': '工艺美术作品的创作年份'}, 'materials': {'type': 'array', 'description': '工艺美术作品所使用的材料列表', 'items': {'type': 'string'}}, 'dimensions': {'type': 'object', 'description': '工艺美术作品的尺寸信息', 'properties': {'width': {'type': 'number', 'description': '工艺美术作品的宽度'}, 'height': {'type': 'number', 'description': '工艺美术作品的高度'}}}}, 'required': ['name', 'creator']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '工艺美术作品的名称'}, 'creator': {'type': 'string', 'description': '工艺美术作品的创作者'}, 'year': {'type': 'integer', 'description': '工艺美术作品的创作年份'}, 'materials': {'type': 'array', 'description': '工艺美术作品所使用的材料列表', 'items': {'type': 'string'}}, 'dimensions': {'type': 'object', 'description': '工艺美术作品的尺寸信息', 'properties': {'width': {'type': 'number', 'description': '工艺美术作品的宽度'}, 'height': {'type': 'number', 'description': '工艺美术作品的高度'}}}}}}, {'name': 'get_wisdom_quote', 'description': '获取一句智慧名言。', 'parameters': {'type': 'object', 'properties': {'author': {'type': 'string', 'description': '智者姓名。'}}}, 'result': {'type': 'object', 'properties': {'quote': {'type': 'string', 'description': '智慧名言。'}}}}, {'name': 'get_food_by_name', 'description': '根据食物名称获取营养成分', 'parameters': {'type': 'object', 'properties': {'food_name': {'type': 'string', 'description': '指定食物名称'}, 'is_raw': {'type': 'boolean', 'description': '是否返回生食营养成分'}}, 'required': ['food_name']}, 'result': {'type': 'object', 'properties': {'calorie': {'type': 'number', 'description': '卡路里(kcal)'}, 'protein': {'type': 'number', 'description': '蛋白质(g)'}, 'fat': {'type': 'number', 'description': '脂肪(g)'}, 'carbohydrate': {'type': 'number', 'description': '碳水化合物(g)'}}, 'required': ['calorie', 'protein', 'fat', 'carbohydrate']}}]" |
[
{
"from": "human",
"value": "请给我提供一个菜名为“麻辣小龙虾”的烹饪步骤"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"麻辣小龙虾\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"麻辣小龙虾\", \"ingredients\": [\"虾\", \"麻辣调料\", \"葱\", \"姜\... | "[{'name': 'get_music', 'description': '获取音乐信息。', 'parameters': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': '音乐ID。'}, 'artist': {'type': 'string', 'description': '艺术家名称。'}, 'album': {'type': 'string', 'description': '专辑名称。'}, 'query_options': {'type': 'object', 'description': '查询选项。', 'properties': {'skip': {'type': 'integer', 'description': '跳过的数量。'}, 'limit': {'type': 'integer', 'description': '返回的数量。'}}}}, 'required': ['id', 'artist', 'album']}, 'result': {'type': 'object', 'properties': {'music': {'type': 'object', 'description': '音乐信息。', 'properties': {'title': {'type': 'string', 'description': '音乐名称。'}, 'artist': {'type': 'string', 'description': '艺术家名称。'}, 'album': {'type': 'string', 'description': '专辑名称。'}, 'duration': {'type': 'number', 'description': '音乐时长。'}, 'likes': {'type': 'integer', 'description': '喜欢数。'}, 'plays': {'type': 'integer', 'description': '播放数。'}, 'lyrics': {'type': 'string', 'description': '歌词。'}}}}}}, {'name': 'cookbook_search', 'description': '搜索指定菜品的做法和食材搭配等相关信息', 'parameters': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '所要搜索的菜品名称'}, 'ingredient_name': {'type': 'string', 'description': '所要搜索的食材名称'}, 'tag': {'type': 'string', 'description': '所要搜索的菜品标签'}, 'page': {'type': 'integer', 'description': '需要查询的页码数(默认值为1)', 'minimum': 1}}, 'required': ['dish_name']}, 'result': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '菜品名称'}, 'description': {'type': 'string', 'description': '菜品描述'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'object', 'properties': {'ingredient_name': {'type': 'string', 'description': '食材名称'}, 'quantity': {'type': 'string', 'description': '食材用量'}}}}, 'steps': {'type': 'array', 'description': '制作步骤', 'items': {'type': 'object', 'properties': {'step_number': {'type': 'integer', 'description': '步骤编号'}, 'step_description': {'type': 'string', 'description': '步骤描述'}, 'image_url': {'type': 'string', 'description': '步骤图片url'}}}}, 'tips': {'type': 'string', 'description': '小贴士'}, 'related_dishes': {'type': 'array', 'description': '相关菜品推荐', 'items': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': '相关菜品名称'}, 'image_url': {'type': 'string', 'description': '相关菜品图片url'}}}}}}}, {'name': 'MovieInfo', 'description': '获取电影详情信息的接口,根据电影ID返回电影的基本信息,包括电影名称、导演、演员、时长、上映时间、评分等。', 'parameters': {'type': 'object', 'properties': {'movieId': {'type': 'string', 'description': '电影ID,每部电影都有一个唯一的ID标识'}}, 'required': ['movieId']}, 'result': {'type': 'object', 'properties': {'movieName': {'type': 'string', 'description': '电影名称'}, 'director': {'type': 'string', 'description': '导演'}, 'actors': {'type': 'array', 'items': {'type': 'string'}, 'description': '演员列表'}, 'duration': {'type': 'number', 'description': '电影时长(单位:分钟)'}, 'releaseDate': {'type': 'string', 'description': '上映时间'}, 'rating': {'type': 'number', 'description': '评分(范围:0-10)'}}}}, {'name': 'getArtCraftDetails', 'description': '获取工艺美术作品详情的API接口。可以通过输入作品名称,返回该作品的详细信息,包括作品名称、作者、材料、年代等。', 'parameters': {'type': 'object', 'properties': {'artworkName': {'type': 'string', 'description': '作品名称', 'enum': []}}, 'required': ['artworkName']}, 'result': {'type': 'object', 'properties': {'artworkName': {'type': 'string', 'description': '作品名称'}, 'author': {'type': 'string', 'description': '作者'}, 'material': {'type': 'string', 'description': '材料'}, 'year': {'type': 'number', 'description': '年代'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'TechnologyAPI', 'description': '该API为科技领域的数据接口,提供科技相关信息查询和发布功能,可用于获取最新的科技新闻、科技论坛的讨论内容等。用户可以根据自己的兴趣选择感兴趣的科技领域进行订阅和关注。', 'parameters': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '科技新闻的主题类别', 'enum': ['AI', '云计算', '物联网', '5G', '区块链']}, 'keywords': {'type': 'array', 'description': '关键词列表,用于搜索相关科技信息', 'items': {'type': 'string'}}}, 'required': ['topic']}, 'result': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '科技新闻的主题类别'}, 'news': {'type': 'array', 'description': '科技新闻内容列表', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '新闻标题'}, 'author': {'type': 'string', 'description': '新闻作者'}, 'content': {'type': 'string', 'description': '新闻内容'}, 'timestamp': {'type': 'number', 'description': '发布时间戳'}}, 'required': ['title', 'author', 'content', 'timestamp']}}}, 'required': ['topic', 'news']}}]" |
[
{
"from": "human",
"value": "我想知道制作“铁板鱿鱼”的步骤"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"铁板鱿鱼\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"铁板鱿鱼\", \"ingredients\": [\"鱿鱼\", \"青椒\", \"红椒\", \"洋葱\", \"大蒜\... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_drama_info', 'description': '获取剧集相关信息', 'parameters': {'type': 'object', 'properties': {'drama_type': {'type': 'string', 'description': '剧集类型,如:电视剧、电影等'}, 'drama_length': {'type': 'number', 'description': '剧集长度,如:60集、90分钟等'}, 'is_finished': {'type': 'boolean', 'description': '是否已完结'}}, 'required': []}, 'result': {'drama_info': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '剧集标题'}, 'actors': {'type': 'array', 'description': '剧集演员列表', 'items': {'type': 'string', 'description': '演员姓名'}}}}}}, {'name': 'travel_recommendation', 'description': '旅行推荐API,根据用户的出发地、目的地和出行时间等信息,推荐最佳的旅行线路、景点、交通方式等,帮助用户做出合理的旅行规划。', 'parameters': {'type': 'object', 'properties': {'departure': {'type': 'string', 'description': '出发地'}, 'destination': {'type': 'string', 'description': '目的地'}, 'date': {'type': 'string', 'description': '出行日期', 'format': 'yyyy-mm-dd'}}, 'required': ['departure', 'destination']}, 'result': {'type': 'object', 'properties': {'route': {'type': 'array', 'description': '旅行线路', 'items': {'type': 'string'}}, 'attractions': {'type': 'array', 'description': '推荐的景点', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '景点名称'}, 'description': {'type': 'string', 'description': '景点描述'}}, 'required': ['name', 'description']}}, 'transportation': {'type': 'string', 'description': '推荐的交通方式'}}, 'required': ['route', 'attractions', 'transportation']}}, {'name': 'getFurnitureList', 'description': '获取家具列表', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '家具分类', 'enum': ['sofa', 'chair', 'table', 'bed']}, 'material': {'type': 'string', 'description': '家具材质'}, 'color': {'type': 'string', 'description': '家具颜色'}, 'minPrice': {'type': 'number', 'description': '最低价格'}, 'maxPrice': {'type': 'number', 'description': '最高价格'}}, 'required': ['category']}, 'result': {'type': 'object', 'properties': {'total': {'type': 'integer', 'description': '总家具数量'}, 'furniture': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': '家具ID'}, 'name': {'type': 'string', 'description': '家具名称'}, 'type': {'type': 'string', 'description': '家具类型'}, 'price': {'type': 'number', 'description': '家具价格'}}}}}}}, {'name': 'travel_guide', 'description': '提供目的地的详细旅游攻略及有用信息,如当地美食、景点、交通、住宿等。', 'parameters': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}}, 'required': ['destination']}, 'result': {'type': 'object', 'properties': {'destination': {'type': 'string', 'description': '目的地'}, 'travel_time': {'type': 'string', 'description': '旅行时间'}, 'food_info': {'type': 'object', 'description': '美食信息', 'properties': {'food_name': {'type': 'string', 'description': '美食名称'}, 'food_type': {'type': 'string', 'description': '美食类型'}}, 'required': ['food_name']}, 'attraction_info': {'type': 'object', 'description': '景点信息', 'properties': {'attraction_name': {'type': 'string', 'description': '景点名称'}, 'attraction_type': {'type': 'string', 'description': '景点类型'}}, 'required': ['attraction_name']}, 'traffic_info': {'type': 'object', 'description': '交通信息', 'properties': {'traffic_type': {'type': 'string', 'description': '交通类型'}, 'traffic_cost': {'type': 'number', 'description': '交通费用'}}, 'required': ['traffic_type']}, 'hotel_info': {'type': 'object', 'description': '酒店信息', 'properties': {'hotel_name': {'type': 'string', 'description': '酒店名称'}, 'hotel_type': {'type': 'string', 'description': '酒店类型'}}, 'required': ['hotel_name']}}, 'required': ['destination', 'travel_time']}}, {'name': 'family_education_api_1', 'description': '查询孩子在不同年龄段下的学习方法和注意事项', 'parameters': {'type': 'object', 'properties': {'child_age': {'type': 'integer', 'description': '孩子的年龄,支持3岁以上', 'enum': [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]}, 'parent_name': {'type': 'string', 'description': '家长姓名'}, 'parent_phone': {'type': 'string', 'description': '家长电话号码'}}, 'required': ['child_age', 'parent_name']}, 'result': {'type': 'object', 'properties': {'study_method': {'type': 'string', 'description': '孩子在不同年龄段下的学习方法'}, 'note': {'type': 'string', 'description': '孩子在不同年龄段下需要注意的事项'}}}}]" |
[
{
"from": "human",
"value": "请提供一些以“牛腩”为主料的菜品"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"牛腩\"}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"红烧牛腩\", \"ingredients\": [\"牛腩\", \"姜\", \"葱\", \"蒜\", \"红糖\", \... | "[{'name': 'get_artists', 'description': '获取艺术家列表', 'parameters': {'type': 'object', 'properties': {'sort_by': {'type': 'string', 'description': '艺术家排序方式', 'enum': ['name', 'age']}, 'filter': {'type': 'object', 'description': '筛选条件', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'country': {'type': 'string', 'description': '国籍'}}}}, 'required': []}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'age': {'type': 'integer', 'description': '年龄'}, 'nationality': {'type': 'string', 'description': '国籍'}}}}}, {'name': 'car_inventory', 'description': '查询汽车库存信息', 'parameters': {'type': 'object', 'properties': {'brand': {'type': 'string', 'description': '汽车品牌'}, 'model': {'type': 'string', 'description': '汽车型号'}, 'color': {'type': 'string', 'description': '汽车颜色'}}, 'required': ['brand', 'model']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '汽车编号'}, 'stock': {'type': 'integer', 'description': '汽车库存量'}}, 'required': ['id', 'stock']}}}, {'name': 'GetHistoricalEvent', 'description': '用于获取历史事件的API。通过指定事件名称、时间范围和相关参数,可以获得特定历史事件的详细信息。', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'start_date': {'type': 'string', 'description': '起始日期 (YYYY-MM-DD)'}, 'end_date': {'type': 'string', 'description': '结束日期 (YYYY-MM-DD)'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别', 'enum': ['政治', '战争', '科技', '艺术']}}, 'required': ['event_name', 'start_date', 'end_date']}, 'result': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'date': {'type': 'string', 'description': '事件日期'}, 'description': {'type': 'string', 'description': '事件描述'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别'}}, 'required': ['event_name', 'date', 'description']}}, {'name': 'art_gallery_info', 'description': '获取艺术画廊展品信息', 'parameters': {'type': 'object', 'properties': {'gallery_id': {'type': 'string', 'description': '画廊ID'}}, 'required': ['gallery_id']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'artwork_id': {'type': 'string', 'description': '艺术品ID'}, 'artwork_name': {'type': 'string', 'description': '艺术品名称'}, 'artist_name': {'type': 'string', 'description': '艺术家姓名'}}}}}, {'name': 'search_house', 'description': '搜索房地产信息。', 'parameters': {'type': 'object', 'properties': {'city': {'type': 'string', 'description': '城市名称。'}, 'price_range': {'type': 'array', 'description': '价格区间。', 'items': {'type': 'number'}}}, 'required': ['city']}, 'result': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '信息标题。'}, 'content': {'type': 'string', 'description': '信息内容。'}, 'price': {'type': 'number', 'description': '价格。'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}]" |
[
{
"from": "human",
"value": "帮我找到名字中包含“土豆”的菜品,且我想知道每个菜品所需的食材"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"土豆\"}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'GetSportsPlayerStats', 'description': '用于获取运动员统计信息的API。通过指定运动员姓名、所属队伍和相关参数,可以获得特定运动员的详细统计数据。', 'parameters': {'type': 'object', 'properties': {'player_name': {'type': 'string', 'description': '运动员姓名'}, 'team': {'type': 'string', 'description': '所属队伍'}, 'start_date': {'type': 'string', 'description': '起始日期 (YYYY-MM-DD)'}, 'end_date': {'type': 'string', 'description': '结束日期 (YYYY-MM-DD)'}, 'category': {'type': 'string', 'description': '统计类别', 'enum': ['得分', '篮板', '助攻']}}, 'required': ['player_name', 'team', 'start_date', 'end_date']}, 'result': {'type': 'object', 'properties': {'player_name': {'type': 'string', 'description': '运动员姓名'}, 'team': {'type': 'string', 'description': '所属队伍'}, 'date': {'type': 'string', 'description': '日期'}, 'category': {'type': 'string', 'description': '统计类别'}, 'value': {'type': 'number', 'description': '统计数值'}}, 'required': ['player_name', 'team', 'date', 'category', 'value']}}, {'name': 'relationship-api', 'description': '该API提供了有关人际关系领域的信息查询及分析功能,包括恋爱、友谊、亲情等方面的数据。', 'parameters': {'type': 'object', 'properties': {'type': {'type': 'string', 'description': '关系类型', 'enum': ['romantic', 'friendship', 'family']}, 'name': {'type': 'string', 'description': '姓名'}, 'gender': {'type': 'string', 'description': '性别', 'enum': ['*', '*']}, 'age': {'type': 'integer', 'description': '年龄'}}, 'required': ['type', 'name']}, 'result': {'type': 'object', 'properties': {'type': {'type': 'string', 'description': '关系类型', 'enum': ['romantic', 'friendship', 'family']}, 'name': {'type': 'string', 'description': '姓名'}, 'gender': {'type': 'string', 'description': '性别', 'enum': ['*', '*']}, 'age': {'type': 'integer', 'description': '年龄'}}, 'required': ['type', 'name']}}, {'name': 'getCourseInfo', 'description': '获取课程信息', 'parameters': {'type': 'object', 'properties': {'courseId': {'type': 'integer', 'description': '课程ID'}}, 'required': ['courseId']}, 'result': {'type': 'object', 'properties': {'courseName': {'type': 'string', 'description': '课程名称'}, 'teacherName': {'type': 'string', 'description': '教师姓名'}, 'courseIntro': {'type': 'string', 'description': '课程介绍'}, 'courseSchedule': {'type': 'array', 'description': '课程安排', 'items': {'type': 'object', 'properties': {'weekDay': {'type': 'string', 'description': '星期几'}, 'startTime': {'type': 'string', 'description': '开始时间'}, 'endTime': {'type': 'string', 'description': '结束时间'}}}}}}}, {'name': 'TechNews', 'description': '获取科技新闻的接口,返回最新的科技新闻标题和内容。', 'parameters': {}, 'result': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '科技新闻标题'}, 'content': {'type': 'string', 'description': '科技新闻内容'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_game_info', 'description': '获取游戏基本信息', 'parameters': {'type': 'object', 'properties': {'game_id': {'type': 'string', 'description': '游戏ID', 'enum': []}, 'platform': {'type': 'string', 'description': '游戏平台', 'enum': ['PC', 'mobile', 'console']}}, 'required': ['game_id', 'platform']}, 'result': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'company': {'type': 'string', 'description': '公司名称'}, 'platform': {'type': 'string', 'description': '游戏平台'}, 'release_time': {'type': 'string', 'description': '发行时间'}}}}]" |
[
{
"from": "human",
"value": "我想知道烹饪步骤中包含关键词“煎”的菜品"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"煎\"}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'family_education_api_1', 'description': '查询孩子在不同年龄段下的学习方法和注意事项', 'parameters': {'type': 'object', 'properties': {'child_age': {'type': 'integer', 'description': '孩子的年龄,支持3岁以上', 'enum': [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]}, 'parent_name': {'type': 'string', 'description': '家长姓名'}, 'parent_phone': {'type': 'string', 'description': '家长电话号码'}}, 'required': ['child_age', 'parent_name']}, 'result': {'type': 'object', 'properties': {'study_method': {'type': 'string', 'description': '孩子在不同年龄段下的学习方法'}, 'note': {'type': 'string', 'description': '孩子在不同年龄段下需要注意的事项'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'GetHistoricalEvent', 'description': '用于获取历史事件的API。通过指定事件名称、时间范围和相关参数,可以获得特定历史事件的详细信息。', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'start_date': {'type': 'string', 'description': '起始日期 (YYYY-MM-DD)'}, 'end_date': {'type': 'string', 'description': '结束日期 (YYYY-MM-DD)'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别', 'enum': ['政治', '战争', '科技', '艺术']}}, 'required': ['event_name', 'start_date', 'end_date']}, 'result': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'date': {'type': 'string', 'description': '事件日期'}, 'description': {'type': 'string', 'description': '事件描述'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别'}}, 'required': ['event_name', 'date', 'description']}}, {'name': 'get_farm_info', 'description': '查询农场信息', 'parameters': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}}, 'required': ['farm_name']}, 'result': {'type': 'object', 'properties': {'farm_name': {'type': 'string', 'description': '农场名字'}, 'farmer_name': {'type': 'string', 'description': '农场主名字'}, 'farm_location': {'type': 'string', 'description': '农场位置'}, 'plant_info': {'type': 'array', 'description': '作物信息', 'items': {'type': 'object', 'properties': {'plant_name': {'type': 'string', 'description': '作物名称'}, 'plant_count': {'type': 'integer', 'description': '作物数量'}}}}}}}, {'name': 'cooking_recipe', 'description': '查询某个菜谱的制作步骤和所需材料', 'parameters': {'type': 'object', 'properties': {'recipe_name': {'type': 'string', 'description': '菜谱名称'}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['初学者', '中等难度', '高级烹饪']}, 'ingredients': {'type': 'array', 'description': '所需材料', 'items': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'amount': {'type': 'number'}}}}}, 'required': ['recipe_name', 'difficulty']}, 'result': {'type': 'object', 'properties': {'steps': {'type': 'array', 'description': '制作步骤', 'items': {'type': 'string'}}, 'tips': {'type': 'string', 'description': '制作技巧'}}}}, {'name': 'PoliticsAPI', 'description': '这是一个政治相关的API,用于获取政治新闻和政策信息的接口。', 'parameters': {'type': 'object', 'properties': {'type': 'string', 'description': '返回的信息类型', 'enum': ['news', 'articles', 'policies'], 'required': ['type']}}, 'result': {'type': 'object', 'properties': {'type': 'string', 'description': '返回的信息类型', 'enum': ['news', 'articles', 'policies'], 'required': ['type']}}}]" |
[
{
"from": "human",
"value": "查询一道简单的使用鸡肉和土豆做的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"鸡肉 土豆\", \"difficulty\": \"简单\", \"ingredients\": [\"鸡肉\", \"土豆\"]}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'sportsNews', 'description': '获取最新的体育新闻。', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': '新闻发布的地区。', 'enum': ['中国', '美国', '英国', '巴西']}, 'category': {'type': 'string', 'description': '新闻类别。', 'enum': ['足球', '篮球', '网球', '高尔夫']}, 'limit': {'type': 'number', 'description': '返回新闻数量的限制。'}}, 'required': ['region']}, 'result': {'type': 'object', 'properties': {'news': {'type': 'array', 'description': '新闻列表。', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '新闻标题。'}, 'content': {'type': 'string', 'description': '新闻内容。'}, 'source': {'type': 'string', 'description': '新闻来源。'}}, 'required': ['title', 'content', 'source']}}}, 'required': ['news']}}, {'name': 'DrivingRoute', 'description': '交通出行API提供实时道路交通信息,在线查询交通拥堵情况、计算驾车路径等,帮助用户规划最佳行车路线。', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': '出发地点', 'required': True}, 'destination': {'type': 'string', 'description': '目的地', 'required': True}, 'avoid': {'type': 'string', 'description': '避让区域', 'enum': ['tolls', 'highways', 'ferries'], 'default': []}}, 'required': ['origin', 'destination']}, 'result': {'type': 'object', 'properties': {'duration': {'type': 'number', 'description': '预计行车时间,单位为分钟'}, 'distance': {'type': 'number', 'description': '预计行驶距离,单位为公里'}, 'route': {'type': 'array', 'description': '路线详情', 'items': {'type': 'string'}}}, 'required': ['duration', 'distance']}}, {'name': 'housekeeping_service_query', 'description': '查询指定区域最近的家政服务', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'object', 'description': '所在区域经纬度', 'properties': {'latitude': {'type': 'number', 'description': '维度'}, 'longitude': {'type': 'number', 'description': '经度'}}, 'required': ['latitude', 'longitude']}, 'service_category': {'type': 'string', 'description': \"服务类别(默认值为'all')\", 'enum': ['all', 'cleaning', 'cooking', 'babysitting', 'grocery shopping']}, 'max_distance': {'type': 'integer', 'description': '最大服务距离(单位:千米,默认值为10)', 'minimum': 0, 'maximum': 50}}, 'required': ['location']}, 'result': {'type': 'object', 'properties': {'service_name': {'type': 'string', 'description': '服务名称'}, 'location': {'type': 'object', 'description': '服务所在位置经纬度', 'properties': {'latitude': {'type': 'number', 'description': '维度'}, 'longitude': {'type': 'number', 'description': '经度'}}, 'required': ['latitude', 'longitude']}, 'service_category': {'type': 'string', 'description': '服务类别'}, 'price': {'type': 'number', 'description': '服务价格'}, 'rating': {'type': 'number', 'description': '服务评分(最高5分)', 'minimum': 0, 'maximum': 5}, 'contact_number': {'type': 'string', 'description': '服务联系电话'}}}}, {'name': 'JobDetails', 'description': '获取职位的详细信息', 'parameters': {'type': 'object', 'properties': {'jobId': {'type': 'string', 'description': '职位ID'}, 'title': {'type': 'string', 'description': '职位标题'}, 'requirements': {'type': 'array', 'description': '职位要求', 'items': {'type': 'string', 'description': '具体要求'}}}, 'required': ['jobId', 'title']}, 'result': {'type': 'object', 'properties': {'jobId': {'type': 'string', 'description': '职位ID'}, 'title': {'type': 'string', 'description': '职位标题'}, 'requirements': {'type': 'array', 'description': '职位要求', 'items': {'type': 'string', 'description': '具体要求'}}}}}, {'name': 'CookingAPI', 'description': '该API为烹饪领域的数据接口,提供各种菜谱查询和厨师技巧分享功能,可用于查找不同食材的烹饪方法、学习厨师的烹饪技巧等。用户可以根据自己的口味选择关注感兴趣的菜系进行订阅。', 'parameters': {'type': 'object', 'properties': {'cuisine': {'type': 'string', 'description': '菜系名称', 'enum': ['中餐', '西餐', '日料', '韩餐', '泰菜']}, 'ingredient': {'type': 'string', 'description': '食材名称'}}, 'required': ['cuisine']}, 'result': {'type': 'object', 'properties': {'cuisine': {'type': 'string', 'description': '菜系名称'}, 'recipes': {'type': 'array', 'description': '菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜谱名称'}, 'ingredients': {'type': 'array', 'description': '所需食材列表', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤列表', 'items': {'type': 'string'}}}, 'required': ['name', 'ingredients', 'steps']}}, 'chefs': {'type': 'array', 'description': '厨师列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '厨师姓名'}, 'specialty': {'type': 'string', 'description': '擅长菜系'}}, 'required': ['name', 'specialty']}}}, 'required': ['cuisine', 'recipes', 'chefs']}}]" |
[
{
"from": "human",
"value": "替换掉鸡肉,用鸭肉代替,制作一道中等难度的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"difficulty\": \"中等\", \"ingredients\": [\"鸭肉\"], \"steps\": {\"step1\": \"加入鸭肉\"}}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\... | "[{'name': 'weather_forecast', 'description': '天气预报API,提供实时的天气信息和预测的天气趋势,帮助用户做出合理的出行、穿衣、活动等安排。', 'parameters': {'type': 'object', 'properties': {'city': {'type': 'string', 'description': '城市名称', 'enum': ['北京', '上海', '广州', '深圳', '杭州']}, 'date': {'type': 'string', 'description': '日期', 'format': 'yyyy-mm-dd'}, 'time': {'type': 'string', 'description': '时间', 'format': 'hh:mm:ss'}}, 'required': ['city']}, 'result': {'type': 'object', 'properties': {'city': {'type': 'string', 'description': '城市名称'}, 'date': {'type': 'string', 'description': '日期', 'format': 'yyyy-mm-dd'}, 'time': {'type': 'string', 'description': '时间', 'format': 'hh:mm:ss'}, 'weather': {'type': 'string', 'description': '天气情况'}, 'temperature': {'type': 'number', 'description': '温度'}, 'humidity': {'type': 'number', 'description': '湿度'}, 'wind_direction': {'type': 'string', 'description': '风向'}, 'wind_speed': {'type': 'number', 'description': '风速'}}, 'required': ['city', 'date', 'time', 'weather', 'temperature', 'humidity', 'wind_direction', 'wind_speed']}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_music', 'description': '获取音乐信息。', 'parameters': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': '音乐ID。'}, 'artist': {'type': 'string', 'description': '艺术家名称。'}, 'album': {'type': 'string', 'description': '专辑名称。'}, 'query_options': {'type': 'object', 'description': '查询选项。', 'properties': {'skip': {'type': 'integer', 'description': '跳过的数量。'}, 'limit': {'type': 'integer', 'description': '返回的数量。'}}}}, 'required': ['id', 'artist', 'album']}, 'result': {'type': 'object', 'properties': {'music': {'type': 'object', 'description': '音乐信息。', 'properties': {'title': {'type': 'string', 'description': '音乐名称。'}, 'artist': {'type': 'string', 'description': '艺术家名称。'}, 'album': {'type': 'string', 'description': '专辑名称。'}, 'duration': {'type': 'number', 'description': '音乐时长。'}, 'likes': {'type': 'integer', 'description': '喜欢数。'}, 'plays': {'type': 'integer', 'description': '播放数。'}, 'lyrics': {'type': 'string', 'description': '歌词。'}}}}}}, {'name': 'Environmental_Analysis', 'description': 'This API provides analysis on environmental factors affecting a specific location. It takes into account various parameters such as air quality, water pollution levels, and noise levels. The result contains detailed information about the environmental conditions.', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location for which environmental analysis is to be performed.'}, 'date': {'type': 'string', 'description': 'The date for which environmental analysis is to be performed.'}, 'time': {'type': 'string', 'description': 'The time at which environmental analysis is to be performed.'}, 'factors': {'type': 'array', 'description': 'List of environmental factors to be considered for analysis.', 'items': {'type': 'string', 'enum': ['air quality', 'water pollution', 'noise levels']}}}, 'required': ['location', 'date', 'time']}, 'result': '{parameters}'}, {'name': 'sports', 'description': '提供关于体育赛事和运动健身的相关信息,包括赛程安排、比赛结果、运动训练计划等内容。', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '运动项目', 'enum': ['足球', '篮球', '网球', '游泳']}, 'date': {'type': 'string', 'description': '日期'}, 'location': {'type': 'string', 'description': '比赛地点'}}, 'required': ['sport', 'date']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '运动项目', 'enum': ['足球', '篮球', '网球', '游泳']}, 'date': {'type': 'string', 'description': '日期'}, 'location': {'type': 'string', 'description': '比赛地点'}}, 'required': ['sport', 'date']}}, {'name': 'public_speaking_tips', 'description': '获取公开演讲的表达技巧和建议,包括身体语言、声音控制、演讲稿写作等方面的内容。', 'parameters': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '演讲主题'}, 'body_language_tips': {'type': 'array', 'description': '身体语言技巧', 'items': {'type': 'string'}}, 'voice_control_tips': {'type': 'array', 'description': '声音控制技巧', 'items': {'type': 'string'}}, 'speech_writing_tips': {'type': 'array', 'description': '演讲稿写作技巧', 'items': {'type': 'string'}}}, 'required': ['topic']}, 'result': {'type': 'object', 'properties': {'topic': {'type': 'string', 'description': '演讲主题'}, 'body_language_tips': {'type': 'array', 'description': '身体语言技巧', 'items': {'type': 'string'}}, 'voice_control_tips': {'type': 'array', 'description': '声音控制技巧', 'items': {'type': 'string'}}, 'speech_writing_tips': {'type': 'array', 'description': '演讲稿写作技巧', 'items': {'type': 'string'}}}, 'required': ['topic']}}]" |
[
{
"from": "human",
"value": "制作食材包含虾仁,难度为困难的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"difficulty\": \"困难\", \"ingredients\": [\"虾仁\"], \"steps\": {\"step1\": \"加入虾仁\"}}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'get_artists', 'description': '获取艺术家列表', 'parameters': {'type': 'object', 'properties': {'sort_by': {'type': 'string', 'description': '艺术家排序方式', 'enum': ['name', 'age']}, 'filter': {'type': 'object', 'description': '筛选条件', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'country': {'type': 'string', 'description': '国籍'}}}}, 'required': []}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '艺术家姓名'}, 'age': {'type': 'integer', 'description': '年龄'}, 'nationality': {'type': 'string', 'description': '国籍'}}}}}, {'name': 'cosmetics', 'description': '提供关于美容产品和护肤技术的相关信息,包括产品推荐、使用方法、护肤步骤等内容。', 'parameters': {'type': 'object', 'properties': {'cosmetic_type': {'type': 'string', 'description': '美容产品类型', 'enum': ['面膜', '乳液', '精华液', '洗面奶']}, 'brand': {'type': 'string', 'description': '品牌名称'}, 'ingredients': {'type': 'array', 'description': '成分列表', 'items': {'type': 'string', 'description': '成分名称'}}}, 'required': ['cosmetic_type', 'brand']}, 'result': {'type': 'object', 'properties': {'cosmetic_type': {'type': 'string', 'description': '美容产品类型', 'enum': ['面膜', '乳液', '精华液', '洗面奶']}, 'brand': {'type': 'string', 'description': '品牌名称'}, 'ingredients': {'type': 'array', 'description': '成分列表', 'items': {'type': 'string', 'description': '成分名称'}}}, 'required': ['cosmetic_type', 'brand']}}, {'name': 'professional_skills_training', 'description': '获取职业技能培训相关信息,包括培训课程、报名流程、就业前景等。', 'parameters': {'type': 'object', 'properties': {'course_type': {'type': 'string', 'description': '课程类型,可选参数:线上、线下、半在线。', 'enum': ['线上', '线下', '半在线']}, 'sign_up_method': {'type': 'string', 'description': '报名方式,可选参数:在线报名、电话报名、现场报名。', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景,可选参数:良好、一般、差。', 'enum': ['良好', '一般', '差']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_type': {'type': 'string', 'description': '课程类型', 'enum': ['线上', '线下', '半在线']}, 'course_content': {'type': 'string', 'description': '课程内容', 'enum': []}, 'sign_up_method': {'type': 'string', 'description': '报名方式', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景', 'enum': ['良好', '一般', '差']}}}}, {'name': 'cook_recipe', 'description': '查询某种菜品的详细制作方法', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': \"菜品名称,如'红烧肉'、'鱼香肉丝'等\"}, 'ingredients': {'type': 'array', 'description': '菜品所需原料', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '原料名称'}, 'amount': {'type': 'string', 'description': '原料用量'}}}}}, 'required': ['name', 'ingredients']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': \"菜品名称,如'红烧肉'、'鱼香肉丝'等\"}, 'materials': {'type': 'array', 'description': '菜品所需原料', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '原料名称'}, 'amount': {'type': 'string', 'description': '原料用量'}}}}, 'steps': {'type': 'array', 'description': '菜品制作步骤', 'items': {'type': 'string'}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'search_movies', 'description': '搜索电影', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '搜索关键词'}, 'filter': {'type': 'object', 'description': '筛选条件', 'properties': {'actor': {'type': 'string', 'description': '演员'}, 'director': {'type': 'string', 'description': '导演'}}}}, 'required': ['keyword']}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影名称'}, 'year': {'type': 'integer', 'description': '上映年份'}, 'actors': {'type': 'array', 'items': {'type': 'string', 'description': '演员列表'}}, 'director': {'type': 'string', 'description': '导演'}}}}}]" |
[
{
"from": "human",
"value": "查询任何一道由牛肉制作且总烹饪时间超过90分钟的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"牛肉\", \"time\": 90}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'cosmetics', 'description': '提供关于美容产品和护肤技术的相关信息,包括产品推荐、使用方法、护肤步骤等内容。', 'parameters': {'type': 'object', 'properties': {'cosmetic_type': {'type': 'string', 'description': '美容产品类型', 'enum': ['面膜', '乳液', '精华液', '洗面奶']}, 'brand': {'type': 'string', 'description': '品牌名称'}, 'ingredients': {'type': 'array', 'description': '成分列表', 'items': {'type': 'string', 'description': '成分名称'}}}, 'required': ['cosmetic_type', 'brand']}, 'result': {'type': 'object', 'properties': {'cosmetic_type': {'type': 'string', 'description': '美容产品类型', 'enum': ['面膜', '乳液', '精华液', '洗面奶']}, 'brand': {'type': 'string', 'description': '品牌名称'}, 'ingredients': {'type': 'array', 'description': '成分列表', 'items': {'type': 'string', 'description': '成分名称'}}}, 'required': ['cosmetic_type', 'brand']}}, {'name': 'TrafficPrediction', 'description': '交通预测API通过分析历史交通数据和实时交通流量信息,预测未来某一时间段内交通情况,提供行车时间预测和拥堵概率。', 'parameters': {'type': 'object', 'properties': {'start_time': {'type': 'string', 'description': '开始时间,格式为yyyy-mm-dd hh:mm', 'required': True}, 'end_time': {'type': 'string', 'description': '结束时间,格式为yyyy-mm-dd hh:mm', 'required': True}, 'route': {'type': 'string', 'description': '行驶路线', 'required': True}}, 'required': ['start_time', 'end_time', 'route']}, 'result': {'type': 'object', 'properties': {'duration_prediction': {'type': 'number', 'description': '预测行车时间,单位为分钟'}, 'congestion_probability': {'type': 'number', 'description': '拥堵概率,范围为0-1'}, 'traffic_flow': {'type': 'array', 'description': '每分钟交通流量数据', 'items': {'type': 'number'}}}, 'required': ['duration_prediction', 'congestion_probability', 'traffic_flow']}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getEconomyData', 'description': '获取经济数据的API,用于查询最新的经济指标、市场信息以及企业财报等数据,帮助用户了解经济的发展趋势和行业现状。', 'parameters': {'type': 'object', 'properties': {'date': {'type': 'string', 'description': '查询日期', 'enum': ['2021-01-01', '2021-01-02', '2021-01-03']}, 'indicator': {'type': 'string', 'description': '查询的经济指标', 'enum': ['GDP', 'CPI', 'Unemployment Rate']}}, 'required': ['date', 'indicator']}, 'result': {'type': 'object', 'properties': {'date': {'type': 'string', 'description': '查询日期'}, 'indicator': {'type': 'string', 'description': '查询的经济指标'}, 'value': {'type': 'number', 'description': '指标数值'}}, 'required': ['date', 'indicator', 'value']}}, {'name': 'SportsMatchAPI', 'description': '此API用于记录和查询体育比赛的相关信息。', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育比赛的类型'}, 'teams': {'type': 'array', 'description': '参与比赛的团队列表', 'items': {'type': 'string'}}, 'venue': {'type': 'string', 'description': '比赛场馆'}, 'date': {'type': 'string', 'description': '比赛日期'}, 'result': {'type': 'string', 'description': '比赛结果'}, 'score': {'type': 'array', 'description': '比赛得分列表', 'items': {'type': 'integer'}}}, 'required': ['sport', 'teams', 'venue', 'date']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育比赛的类型'}, 'teams': {'type': 'array', 'description': '参与比赛的团队列表', 'items': {'type': 'string'}}, 'venue': {'type': 'string', 'description': '比赛场馆'}, 'date': {'type': 'string', 'description': '比赛日期'}, 'result': {'type': 'string', 'description': '比赛结果'}, 'score': {'type': 'array', 'description': '比赛得分列表', 'items': {'type': 'integer'}}}}}, {'name': 'search_game_info', 'description': '搜索游戏信息', 'parameters': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'platform': {'type': 'string', 'description': '平台,如:PC、手机、平板等'}}, 'required': ['game_name']}, 'result': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'game_type': {'type': 'string', 'description': '游戏类型,如:角色扮演、策略、动作等'}, 'game_score': {'type': 'number', 'description': '游戏评分'}}}}]" |
[
{
"from": "human",
"value": "查询一道所需食材包含苹果的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"ingredients\": [\"苹果\"]}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"apple pie\", \"ingredients\": [\"apple\"... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'cooking_recipe', 'description': '查询某个菜谱的制作步骤和所需材料', 'parameters': {'type': 'object', 'properties': {'recipe_name': {'type': 'string', 'description': '菜谱名称'}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['初学者', '中等难度', '高级烹饪']}, 'ingredients': {'type': 'array', 'description': '所需材料', 'items': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'amount': {'type': 'number'}}}}}, 'required': ['recipe_name', 'difficulty']}, 'result': {'type': 'object', 'properties': {'steps': {'type': 'array', 'description': '制作步骤', 'items': {'type': 'string'}}, 'tips': {'type': 'string', 'description': '制作技巧'}}}}, {'name': 'get_food_by_name', 'description': '根据食物名称获取营养成分', 'parameters': {'type': 'object', 'properties': {'food_name': {'type': 'string', 'description': '指定食物名称'}, 'is_raw': {'type': 'boolean', 'description': '是否返回生食营养成分'}}, 'required': ['food_name']}, 'result': {'type': 'object', 'properties': {'calorie': {'type': 'number', 'description': '卡路里(kcal)'}, 'protein': {'type': 'number', 'description': '蛋白质(g)'}, 'fat': {'type': 'number', 'description': '脂肪(g)'}, 'carbohydrate': {'type': 'number', 'description': '碳水化合物(g)'}}, 'required': ['calorie', 'protein', 'fat', 'carbohydrate']}}, {'name': 'professional_skills_training', 'description': '获取职业技能培训相关信息,包括培训课程、报名流程、就业前景等。', 'parameters': {'type': 'object', 'properties': {'course_type': {'type': 'string', 'description': '课程类型,可选参数:线上、线下、半在线。', 'enum': ['线上', '线下', '半在线']}, 'sign_up_method': {'type': 'string', 'description': '报名方式,可选参数:在线报名、电话报名、现场报名。', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景,可选参数:良好、一般、差。', 'enum': ['良好', '一般', '差']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_type': {'type': 'string', 'description': '课程类型', 'enum': ['线上', '线下', '半在线']}, 'course_content': {'type': 'string', 'description': '课程内容', 'enum': []}, 'sign_up_method': {'type': 'string', 'description': '报名方式', 'enum': ['在线报名', '电话报名', '现场报名']}, 'job_prospects': {'type': 'string', 'description': '就业前景', 'enum': ['良好', '一般', '差']}}}}, {'name': 'family_education_api_1', 'description': '查询孩子在不同年龄段下的学习方法和注意事项', 'parameters': {'type': 'object', 'properties': {'child_age': {'type': 'integer', 'description': '孩子的年龄,支持3岁以上', 'enum': [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]}, 'parent_name': {'type': 'string', 'description': '家长姓名'}, 'parent_phone': {'type': 'string', 'description': '家长电话号码'}}, 'required': ['child_age', 'parent_name']}, 'result': {'type': 'object', 'properties': {'study_method': {'type': 'string', 'description': '孩子在不同年龄段下的学习方法'}, 'note': {'type': 'string', 'description': '孩子在不同年龄段下需要注意的事项'}}}}, {'name': 'search_game_info', 'description': '搜索游戏信息', 'parameters': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'platform': {'type': 'string', 'description': '平台,如:PC、手机、平板等'}}, 'required': ['game_name']}, 'result': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'game_type': {'type': 'string', 'description': '游戏类型,如:角色扮演、策略、动作等'}, 'game_score': {'type': 'number', 'description': '游戏评分'}}}}]" |
[
{
"from": "human",
"value": "查询一道由鸡蛋和牛奶制作的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"ingredients\": [\"鸡蛋\", \"牛奶\"]}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'MovieInfo', 'description': '获取电影详情信息的接口,根据电影ID返回电影的基本信息,包括电影名称、导演、演员、时长、上映时间、评分等。', 'parameters': {'type': 'object', 'properties': {'movieId': {'type': 'string', 'description': '电影ID,每部电影都有一个唯一的ID标识'}}, 'required': ['movieId']}, 'result': {'type': 'object', 'properties': {'movieName': {'type': 'string', 'description': '电影名称'}, 'director': {'type': 'string', 'description': '导演'}, 'actors': {'type': 'array', 'items': {'type': 'string'}, 'description': '演员列表'}, 'duration': {'type': 'number', 'description': '电影时长(单位:分钟)'}, 'releaseDate': {'type': 'string', 'description': '上映时间'}, 'rating': {'type': 'number', 'description': '评分(范围:0-10)'}}}}, {'name': 'createPost', 'description': '用于创建社交媒体上的帖子的API接口,用户可以在指定平台上发布帖子。', 'parameters': {'type': 'object', 'properties': {'platform': {'type': 'string', 'description': '要发布到的社交媒体平台。'}, 'content': {'type': 'string', 'description': '帖子内容。'}, 'images': {'type': 'array', 'description': '帖子中的图片列表。', 'items': {'type': 'string', 'description': '图片URL地址。'}}, 'tags': {'type': 'array', 'description': '帖子的标签列表。', 'items': {'type': 'string', 'description': '标签名称。'}}}, 'required': ['platform', 'content']}, 'result': {'type': 'object', 'properties': {'postId': {'type': 'string', 'description': '帖子ID。'}, 'platform': {'type': 'string', 'description': '发布平台。'}, 'message': {'type': 'string', 'description': '发布结果信息。'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_drama_info', 'description': '获取剧集相关信息', 'parameters': {'type': 'object', 'properties': {'drama_type': {'type': 'string', 'description': '剧集类型,如:电视剧、电影等'}, 'drama_length': {'type': 'number', 'description': '剧集长度,如:60集、90分钟等'}, 'is_finished': {'type': 'boolean', 'description': '是否已完结'}}, 'required': []}, 'result': {'drama_info': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '剧集标题'}, 'actors': {'type': 'array', 'description': '剧集演员列表', 'items': {'type': 'string', 'description': '演员姓名'}}}}}}, {'name': 'getSportResults', 'description': '获取体育比赛结果', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目', 'enum': ['soccer', 'basketball', 'tennis']}, 'year': {'type': 'integer', 'description': '年份'}}, 'required': ['sport', 'year']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目'}, 'year': {'type': 'integer', 'description': '年份'}, 'results': {'type': 'array', 'description': '比赛结果', 'items': {'type': 'object', 'properties': {'team1': {'type': 'string', 'description': '队伍1'}, 'team2': {'type': 'string', 'description': '队伍2'}, 'score1': {'type': 'integer', 'description': '队伍1得分'}, 'score2': {'type': 'integer', 'description': '队伍2得分'}}}}}}}, {'name': 'BeautyProductRecommendation', 'description': '根据用户的肤质和需求,推荐适合的美容产品。', 'parameters': {'type': 'object', 'properties': {'skinType': {'type': 'string', 'description': '皮肤类型,包括干性、油性、中性等'}, 'skinConcern': {'type': 'array', 'items': {'type': 'string'}, 'description': '皮肤问题,如痘痘、黑头等'}}, 'required': ['skinType', 'skinConcern']}, 'result': {'type': 'object', 'properties': {'productName': {'type': 'string', 'description': '美容产品名称'}, 'brand': {'type': 'string', 'description': '品牌'}, 'price': {'type': 'number', 'description': '价格(单位:元)'}}}}]" |
[
{
"from": "human",
"value": "查询一道使用白萝卜和香菜制作的简单难度菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"白萝卜 香菜\", \"difficulty\": \"简单\", \"ingredients\": [\"白萝卜\", \"香菜\"]}, \"name\": \"Cooking_API\"}"
}
] | "[{'name': 'get_parenting_tips', 'description': '获取家庭教育方面的提示', 'parameters': {'type': 'object', 'properties': {'age': {'type': 'integer', 'description': '孩子的年龄'}, 'topic': {'type': 'string', 'description': \"待学习的主题,如'语文'、'数学'、'英语'\"}}}, 'result': {'type': 'array', 'items': {'type': 'object', 'properties': {'title': {'type': 'string'}, 'content': {'type': 'string'}}}}}, {'name': 'early_childhood_learning', 'description': '获取早期教育相关信息,包括教育机构、课程安排、教师资格、家庭教育理念等。', 'parameters': {'type': 'object', 'properties': {'structure_type': {'type': 'string', 'description': '教育机构类型,可选参数:公立、私立、非盈利机构等。', 'enum': ['公立', '私立', '非盈利机构']}, 'teacher_certification': {'type': 'string', 'description': '教师资格认证情况,可选参数:已认证、未认证。', 'enum': ['已认证', '未认证']}, 'family_education_philosophy': {'type': 'string', 'description': '家庭教育理念,可选参数:以孩子为中心、以家长为中心。', 'enum': ['以孩子为中心', '以家长为中心']}}, 'required': []}, 'result': {'type': 'object', 'properties': {'org_name': {'type': 'string', 'description': '机构名称', 'enum': []}, 'org_type': {'type': 'string', 'description': '机构类型', 'enum': ['公立', '私立', '非盈利机构']}, 'instructor_name': {'type': 'string', 'description': '责任教师姓名', 'enum': []}, 'certification_status': {'type': 'string', 'description': '教师资格认证情况', 'enum': ['已认证', '未认证']}, 'course_schedule': {'type': 'object', 'description': '课程安排', 'properties': {'course_name': {'type': 'string', 'description': '课程名称', 'enum': []}, 'course_time': {'type': 'string', 'description': '上课时间', 'enum': []}}}}}}, {'name': 'get_language_courses', 'description': '获取语言学习相关课程信息', 'parameters': {'type': 'object', 'properties': {'language': {'type': 'string', 'description': \"目标语言的名称,如'英语'、'法语'、'德语'\", 'required': True}, 'level': {'type': 'string', 'description': \"目标学习者的等级,如'初级'、'中级'、'高级'\", 'required': True}, 'price_range': {'type': 'array', 'description': '价格区间,如[0, 100]表示价格在0-100元之间', 'items': {'type': 'number'}}}, 'required': ['language', 'level']}, 'result': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'description': {'type': 'string'}, 'price': {'type': 'number'}, 'enrollment': {'type': 'integer'}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getEnvironmentalData', 'description': '获取环保数据的API接口。可以通过输入时间范围和地区,返回该地区在该时间范围内的环保数据,包括空气质量、PM2.5浓度、CO2排放量等。', 'parameters': {'type': 'object', 'properties': {'startTime': {'type': 'string', 'description': '开始时间'}, 'endTime': {'type': 'string', 'description': '结束时间'}, 'region': {'type': 'string', 'description': '地区'}}, 'required': ['startTime', 'endTime', 'region']}, 'result': {'type': 'object', 'properties': {'startTime': {'type': 'string', 'description': '开始时间'}, 'endTime': {'type': 'string', 'description': '结束时间'}, 'region': {'type': 'string', 'description': '地区'}, 'airQuality': {'type': 'string', 'description': '空气质量'}, 'pm25': {'type': 'number', 'description': 'PM2.5浓度'}, 'co2Emission': {'type': 'number', 'description': 'CO2排放量'}}}}, {'name': 'search_movie', 'description': '搜索电影信息', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题'}, 'year': {'type': 'integer', 'description': '电影上映年份'}}}, 'result': {'type': 'array', 'description': '搜索结果列表', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '电影标题'}, 'year': {'type': 'integer', 'description': '电影上映年份'}}}}}]" |
[
{
"from": "human",
"value": "替换掉葱,用洋葱代替,制作一道中等难度的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"difficulty\": \"中等\", \"ingredients\": [\"洋葱\"], \"steps\": {\"step2\": \"加入洋葱\"}}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"... | "[{'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'get_technology_articles', 'description': '获取技术文章列表', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '文章分类,如Web前端、Python后端等'}, 'page': {'type': 'integer', 'description': '页码,每页显示10篇文章'}}, 'required': ['category']}, 'result': {'type': 'object', 'properties': {'total_count': {'type': 'integer', 'description': '总文章数'}, 'article_list': {'type': 'array', 'description': '文章列表', 'items': {'type': 'object', 'properties': {'article_id': {'type': 'string', 'description': '文章ID'}, 'title': {'type': 'string', 'description': '文章标题'}, 'author': {'type': 'string', 'description': '文章作者'}, 'published_time': {'type': 'string', 'description': '文章发布时间,格式为YYYY-MM-DD HH:mm:ss'}, 'content': {'type': 'string', 'description': '文章正文内容'}}}}}}}, {'name': 'create_dish', 'description': '创建一道新的美食菜品。', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}, 'required': ['name', 'ingredients', 'steps']}, 'result': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '新创建菜品的唯一标识。'}, 'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}}}, {'name': 'entertainment-api', 'description': '该API提供了有关娱乐领域的信息查询及分析功能,包括影视作品、明星动态、音乐等方面的数据。', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '娱乐类别', 'enum': ['film', 'television', 'music']}, 'title': {'type': 'string', 'description': '作品标题'}, 'celebrity': {'type': 'array', 'description': '明星动态', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'age': {'type': 'integer', 'description': '年龄'}}}}}, 'required': ['category', 'title']}, 'result': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': '娱乐类别', 'enum': ['film', 'television', 'music']}, 'title': {'type': 'string', 'description': '作品标题'}, 'celebrity': {'type': 'array', 'description': '明星动态', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '姓名'}, 'age': {'type': 'integer', 'description': '年龄'}}}}}, 'required': ['category', 'title']}}, {'name': 'sportsNews', 'description': '获取最新的体育新闻。', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': '新闻发布的地区。', 'enum': ['中国', '美国', '英国', '巴西']}, 'category': {'type': 'string', 'description': '新闻类别。', 'enum': ['足球', '篮球', '网球', '高尔夫']}, 'limit': {'type': 'number', 'description': '返回新闻数量的限制。'}}, 'required': ['region']}, 'result': {'type': 'object', 'properties': {'news': {'type': 'array', 'description': '新闻列表。', 'items': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': '新闻标题。'}, 'content': {'type': 'string', 'description': '新闻内容。'}, 'source': {'type': 'string', 'description': '新闻来源。'}}, 'required': ['title', 'content', 'source']}}}, 'required': ['news']}}, {'name': 'search_game_info', 'description': '搜索游戏信息', 'parameters': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'platform': {'type': 'string', 'description': '平台,如:PC、手机、平板等'}}, 'required': ['game_name']}, 'result': {'type': 'object', 'properties': {'game_name': {'type': 'string', 'description': '游戏名称'}, 'game_type': {'type': 'string', 'description': '游戏类型,如:角色扮演、策略、动作等'}, 'game_score': {'type': 'number', 'description': '游戏评分'}}}}]" |
[
{
"from": "human",
"value": "查询任何一道使用虾米和面粉制作的菜谱"
},
{
"from": "function_call",
"value": "{\"arguments\": {\"keyword\": \"\", \"ingredients\": [\"虾米\", \"面粉\"]}, \"name\": \"Cooking_API\"}"
},
{
"from": "observation",
"value": "{\"recipes\": [{\"name\": \"虾米面粉煎饼\", \"ingredients\": [\... | "[{'name': 'create_dish', 'description': '创建一道新的美食菜品。', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}, 'required': ['name', 'ingredients', 'steps']}, 'result': {'type': 'object', 'properties': {'id': {'type': 'integer', 'description': '新创建菜品的唯一标识。'}, 'name': {'type': 'string', 'description': '菜品名称。'}, 'ingredients': {'type': 'array', 'description': '菜品所需的原材料列表。', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '菜品烹饪步骤列表。', 'items': {'type': 'string'}}}}}, {'name': 'health_check', 'description': '进行保健健康检查,如血糖、血脂等', 'parameters': {'type': 'object', 'properties': {'user_id': {'type': 'string', 'description': '用户唯一标识符,用于记录用户历史信息'}, 'check_type': {'type': 'string', 'description': '检查类型,如血糖、血脂等'}}, 'required': ['user_id', 'check_type']}, 'result': {'type': 'object', 'properties': {'check_result': {'type': 'number', 'description': '检查结果'}, 'advice': {'type': 'string', 'description': '检查结果建议,如血糖过高需要进行控制饮食等'}}, 'required': ['check_result', 'advice']}}, {'name': 'HousekeepingService', 'description': '家政服务API可以提供各类家政服务信息以及在线预订功能。用户可以根据自身需求选择不同类型的服务(如家庭保洁、月嫂、老人看护等),提供相关信息(如服务时间、家庭成员人数)后即可获得符合需求的家政服务推荐并进行在线预订。', 'parameters': {'type': 'object', 'properties': {'serviceType': {'type': 'string', 'description': \"家政服务类型,可选值包括'家庭保洁'、'月嫂'、'老人看护'等\"}, 'serviceTime': {'type': 'string', 'description': '服务时间'}, 'familyMembers': {'type': 'integer', 'description': '家庭成员人数'}, 'houseSize': {'type': 'string', 'description': '住房面积'}, 'additionalRequirements': {'type': 'string', 'description': '额外需求'}}, 'required': ['serviceType', 'serviceTime', 'familyMembers']}, 'result': {'type': 'object', 'properties': {'recommendedServices': {'type': 'array', 'description': '符合需求的家政服务推荐', 'items': {'type': 'object', 'properties': {'serviceName': {'type': 'string', 'description': '服务名称'}, 'serviceProvider': {'type': 'string', 'description': '服务提供商'}, 'price': {'type': 'number', 'description': '服务价格'}, 'availability': {'type': 'string', 'description': '服务可用时间'}}}}}}}, {'name': 'Cooking_API', 'description': '这是一个烹饪API,提供了各种烹饪相关的功能和信息。包括菜谱查询、食材替换、烹饪步骤等功能。', 'parameters': {'type': 'object', 'properties': {'keyword': {'type': 'string', 'description': '查询关键词,可用于搜索菜谱'}, 'ingredients': {'type': 'array', 'description': '食材列表', 'items': {'type': 'string'}}, 'difficulty': {'type': 'string', 'description': '难度等级', 'enum': ['简单', '中等', '困难']}, 'time': {'type': 'number', 'description': '烹饪时间(分钟)'}, 'steps': {'type': 'object', 'description': '烹饪步骤', 'properties': {'step1': {'type': 'string', 'description': '第一步'}, 'step2': {'type': 'string', 'description': '第二步'}}}}, 'required': ['keyword']}, 'result': {'type': 'object', 'properties': {'recipes': {'type': 'array', 'description': '匹配的菜谱列表', 'items': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': '菜名'}, 'ingredients': {'type': 'array', 'description': '所需食材', 'items': {'type': 'string'}}, 'steps': {'type': 'array', 'description': '烹饪步骤', 'items': {'type': 'string'}}}}}}}}, {'name': 'getSportResults', 'description': '获取体育比赛结果', 'parameters': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目', 'enum': ['soccer', 'basketball', 'tennis']}, 'year': {'type': 'integer', 'description': '年份'}}, 'required': ['sport', 'year']}, 'result': {'type': 'object', 'properties': {'sport': {'type': 'string', 'description': '体育项目'}, 'year': {'type': 'integer', 'description': '年份'}, 'results': {'type': 'array', 'description': '比赛结果', 'items': {'type': 'object', 'properties': {'team1': {'type': 'string', 'description': '队伍1'}, 'team2': {'type': 'string', 'description': '队伍2'}, 'score1': {'type': 'integer', 'description': '队伍1得分'}, 'score2': {'type': 'integer', 'description': '队伍2得分'}}}}}}}, {'name': 'GetHistoricalEvent', 'description': '用于获取历史事件的API。通过指定事件名称、时间范围和相关参数,可以获得特定历史事件的详细信息。', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'start_date': {'type': 'string', 'description': '起始日期 (YYYY-MM-DD)'}, 'end_date': {'type': 'string', 'description': '结束日期 (YYYY-MM-DD)'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别', 'enum': ['政治', '战争', '科技', '艺术']}}, 'required': ['event_name', 'start_date', 'end_date']}, 'result': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': '事件名称'}, 'date': {'type': 'string', 'description': '事件日期'}, 'description': {'type': 'string', 'description': '事件描述'}, 'location': {'type': 'string', 'description': '地点'}, 'category': {'type': 'string', 'description': '事件类别'}}, 'required': ['event_name', 'date', 'description']}}]" |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4