Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
10
tools
stringclasses
9 values
[ { "from": "human", "value": "你可以帮我预定从纽约到伦敦的航班吗?" }, { "from": "gpt", "value": "抱歉,我目前无法预订航班,我的功能仅限于获取两种货币之间的汇率。如果你需要这方面的帮助,随时可以询问我!" } ]
[{"name": "get_exchange_rate", "description": "获取两种货币之间的汇率", "parameters": {"type": "object", "properties": {"base_currency": {"type": "string", "description": "需要转换的货币"}, "target_currency": {"type": "string", "description": "要兑换的货币"}}, "required": ["base_currency", "target_currency"]}}]
[ { "from": "human", "value": "你能告诉我美国的最新新闻头条吗?" }, { "from": "function_call", "value": "{\"name\": \"get_news_headlines\", \"arguments\": {\"country\": \"United States\"}}" }, { "from": "observation", "value": "{\"headlines\": [\"Biden announces new vaccine mandates\", \"Hurricane Ida...
[{"name": "get_news_headlines", "description": "获取最新新闻头条", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "要获取新闻的国家"}}, "required": ["country"]}}]
[ { "from": "human", "value": "我需要一个新的密码,你能为我生成一个吗?" }, { "from": "gpt", "value": "当然,你想要的密码有多长?并且,你希望包含符号吗?" }, { "from": "human", "value": "我希望能设置为12个字符长,并且是的,请包含符号。" }, { "from": "function_call", "value": "{\"name\": \"generate_password\", \"arguments\": {\"length\": 12,...
[{"name": "generate_password", "description": "生成一个随机密码", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "密码的长度"}, "include_symbols": {"type": "boolean", "description": "是否应该包含符号在密码中"}}, "required": ["length"]}}, {"name": "create_task", "description": "在任务管理系统中创建一个新的任务", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "任务的标题"}, "due_date": {"type": "string", "format": "date", "description": "任务的截止日期"}, "priority": {"type": "string", "enum": ["low", "medium", "high"], "description": "任务的优先级"}}, "required": ["title", "due_date", "priority"]}}]
[ { "from": "human", "value": "我需要一个新的密码,你能为我生成一个吗?" }, { "from": "gpt", "value": "当然可以!你想要的密码有多长?并且你希望它包含数字和特殊字符吗?" }, { "from": "human", "value": "我想让它长度为12个字符,并且是的,它应该包含数字和特殊字符。" }, { "from": "function_call", "value": "{\"name\": \"generate_password\", \"arguments\": {\"...
[{"name": "generate_password", "description": "生成一个具有指定条件的随机密码", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "密码的长度"}, "include_numbers": {"type": "boolean", "description": "请在密码中包含数字"}, "include_special_characters": {"type": "boolean", "description": "请在密码中包含特殊字符"}}, "required": ["length"]}}]
[ { "from": "human", "value": "你好,我有一个数字列表,需要找到中位数。你能帮我吗?" }, { "from": "gpt", "value": "当然,我可以帮助你处理这个问题。请提供给我数字清单。" }, { "from": "human", "value": "这些数字是:5, 2, 9, 1, 7, 4, 6, 3, 8。" }, { "from": "function_call", "value": "{\"name\": \"calculate_median\", \"arguments\": {\"...
[{"name": "calculate_median", "description": "计算一个数字列表的中位数", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "number"}, "description": "一个数字列表"}}, "required": ["numbers"]}}]
[ { "from": "human", "value": "请您帮我订购一份比萨好吗?" }, { "from": "gpt", "value": "对不起,我目前无法协助您。我的功能仅限于根据电影标题提供信息。我无法进行订购或执行外部任务。" } ]
[{"name": "get_movie_details", "description": "获取一部电影的详细信息", "parameters": {"type": "object", "properties": {"movie_title": {"type": "string", "description": "电影的标题"}}, "required": ["movie_title"]}}]
[ { "from": "human", "value": "我需要为我的朋友约翰· Doe 创建一个新的联系人。他的邮箱是 johndoe@example.com。" }, { "from": "function_call", "value": "{\"name\": \"create_contact\", \"arguments\": {\"name\": \"John Doe\", \"email\": \"johndoe@example.com\"}}" }, { "from": "observation", "value": "{\"status\": \...
[{"name": "create_contact", "description": "创建一个新的联系人", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "联系人的名字"}, "email": {"type": "string", "description": "联系人的电子邮件地址"}}, "required": ["name", "email"]}}]
[ { "from": "human", "value": "你能帮我创建一个日历事件吗,为我明天的会议?" }, { "from": "gpt", "value": "当然,我可以帮助处理这件事情。请提供给我这个活动的标题,以及开始和结束时间。" }, { "from": "human", "value": "标题是“团队会议”。会议从上午10:00开始,11:00结束。" }, { "from": "function_call", "value": "{\"name\": \"create_calendar_event\", \"argu...
[{"name": "create_calendar_event", "description": "创建一个新的日历事件", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "活动的标题"}, "start_time": {"type": "string", "description": "活动的开始时间格式为YYYY-MM-DD HH:MM"}, "end_time": {"type": "string", "description": "事件结束时间格式为YYYY-MM-DD HH:MM"}}, "required": ["title", "start_time", "end_time"]}}]
[ { "from": "human", "value": "你被给出了一列数字:2、4、6、8、10。每个数字代表时间的一个刻度,就像海浪一样。当你继续这个序列时,你注意到每个数字之间的差值保持不变。就像风和水流塑造海浪一样,有些东西在塑造这个数字序列。序列中的下一个数字是什么,它与时间的关系是什么?" }, { "from": "gpt", "value": "根据描述的模式,序列中的下一个数字将是12。这代表了一个时间点,它是以数字10表示的时间点之后的两个时间单位。这个模式表明序列中的每一个后续数字都将比上一个数字晚两个时间单位。因此,12之后的下一个数字将是14,然后是16,以此...
[]
[ { "from": "human", "value": "在一辆2010年的丰田卡罗拉四缸发动机汽车中,出现大声敲击声和发动机减速的可能原因是什么?给定以下通过OBD-II扫描器获取的故障代码:P0325、P0300、P0301、P0302、P0303、P0304,你能提供一个逐步解决方案吗?该方案需要检查和更换任何磨损或损坏的火花塞、故障点火线圈、堵塞或故障的喷油器,以及必要时检查和更换敲缸传感器。使用Scala代码和必要的库以及定义的变量。\n以下是一个模拟修复问题的Scala代码示例:\n```scala\nimport scala.io.StdIn.readLine\nobject EngineDia...
[]
README.md exists but content is empty.
Downloads last month
5