id
stringlengths 23
23
| tools
listlengths 1
1
| messages
listlengths 2
8
| label_kind
stringclasses 2
values |
|---|---|---|---|
ex_0009446_d67a879e201a
|
[
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力執行像訂披薩這樣的外部任務。我的能力目前限於提供給我的功能。在這種情況下,我可以告訴你一個隨機笑話。你想聽一個嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009457_f61df1fc7674
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount for a bill",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"bill_amount\":{\"type\":\"number\",\"description\":\"The total bill amount\"},\"tip_percentage\":{\"type\":\"number\",\"description\":\"The percentage of tip to be given\"}},\"required\":[\"bill_amount\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要一些幫助來計算帳單的小費。總帳單金額是 $100,我想給 15% 的小費。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我幫你計算。\nAI to=calculate_tip: {\"bill_amount\": 100, \"tip_percentage\": 15}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"tip_amount\":15}"
]
},
{
"role": "assistant",
"content_text": "您的帳單小費為 $15。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009474_4478be89a001
|
[
{
"type": "function",
"function": {
"name": "generate_random_password",
"description": "Generate a random password",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"integer\",\"description\":\"The length of the password\"}},\"required\":[\"length\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我目前的能力僅限於提供給我的功能,例如產生隨機密碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009477_7ada55296c1f
|
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color in hexadecimal format",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這樣的外部任務。我可以協助您處理與我所具備的功能相關的任務,例如產生十六進位格式的隨機顏色。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009518_da67d2f6608f
|
[
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price for a given company",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"company\":{\"type\":\"string\",\"description\":\"The name of the company\"}},\"required\":[\"company\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行外部任務,例如幫您訂披薩。我的目前能力僅限於提供給我的功能。在這種情況下,我可以提供某家公司的當前股價資訊。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009519_bbfe192d2d1a
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a shape",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"shape\":{\"type\":\"string\",\"description\":\"The shape to calculate the area of\"},\"dimensions\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},\"description\":\"The dimensions of the shape\"}},\"required\":[\"shape\",\"dimensions\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我計算長為 5、寬為 3 的長方形面積嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我為你計算。\nAI to=calculate_area: {\"shape\": \"rectangle\", \"dimensions\": [5, 3]}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"area\":15}"
]
},
{
"role": "assistant",
"content_text": "長為5、寬為3的長方形面積為15平方單位。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009563_54d61f9136e2
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"start_location\":{\"type\":\"string\",\"description\":\"The starting location\"},\"end_location\":{\"type\":\"string\",\"description\":\"The ending location\"}},\"required\":[\"start_location\",\"end_location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法預訂航班。我目前的功能僅能計算兩個地點之間的距離。還有其他我可以協助的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009586_c9ddb28a82d9
|
[
{
"type": "function",
"function": {
"name": "translate_text",
"description": "Translate text from one language to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to be translated\"},\"source_language\":{\"type\":\"string\",\"description\":\"The language of the source text\"},\"target_language\":{\"type\":\"string\",\"description\":\"The language to translate the text to\"}},\"required\":[\"text\",\"source_language\",\"target_language\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我目前的功能是將文字從一種語言翻譯成另一種語言。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009588_0023e04848de
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details of a movie",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"year\":{\"type\":\"integer\",\"description\":\"The release year of the movie\"}},\"required\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以跟我說一下電影《Inception》嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "好的,讓我幫你取得詳細資料。\nAI to= get_movie_details: {\"title\": \"Inception\"}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"title\":\"全面啟動\",\"year\":2010,\"director\":\"克里斯多福·諾蘭\",\"genre\":\"科幻小說\",\"rating\":8.8}"
]
},
{
"role": "assistant",
"content_text": "電影 \"Inception\" 於2010年上映。由克里斯托弗·諾蘭執導,屬於科幻類型。評分為8.8。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009602_fba820f93d33
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price of the item\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The percentage of discount\"}},\"required\":[\"original_price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於我所擁有的功能。在這種情況下,我可以幫忙計算價格折扣。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009607_4ff04de9ecc7
|
[
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news headlines",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"string\",\"description\":\"The category of news, e.g. sports, politics\"}},\"required\":[\"category\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助這件事。我目前的功能僅限於根據您提供的類別擷取最新的新聞標題。我無法下訂單或執行外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009653_70224ce0bc07
|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on user's preferences",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Keywords for recipe search\"},\"dietary_restrictions\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Dietary restrictions for recipe search\"}},\"required\":[\"keywords\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票。我目前的能力僅限於根據你的偏好搜尋食譜。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009658_865b5dff8067
|
[
{
"type": "function",
"function": {
"name": "calculate_average",
"description": "Calculate the average of a list of numbers",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"numbers\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},\"description\":\"The list of numbers\"}},\"required\":[\"numbers\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一張從紐約飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班。我的目前功能僅限於計算一組數字的平均值。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009665_472e93e846fd
|
[
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"task\":{\"type\":\"string\",\"description\":\"The task description\"},\"priority\":{\"type\":\"string\",\"description\":\"The priority level of the task\",\"enum\":[\"low\",\"medium\",\"high\"]}},\"required\":[\"task\",\"priority\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像幫你訂披薩這類的外部任務。我的能力僅限於提供給我的功能。目前我可以協助你建立新的待辦事項。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009670_6751f1652025
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The percentage of discount\"}},\"required\":[\"original_price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我在一家店看到一件外套,標價 $200。他們提供 20% 的折扣。你可以告訴我折扣後我需要付多少嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,讓我為你計算。\nAI to=calculate_discount: {\"original_price\": 200, \"discount_percentage\": 20}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"discounted_price\":160}"
]
},
{
"role": "assistant",
"content_text": "套用20%折扣後,這件夾克的價格為$160。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009676_9a300f90a890
|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on given ingredients",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients to search recipes for\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂機票。我目前的功能僅限於根據提供的食材搜尋食譜。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009753_7b0167296c00
|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on ingredients",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients to search for\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法幫您訂機票。 我目前的功能可以根據食材搜尋食譜。 還有其他我可以協助的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009761_7607971fee77
|
[
{
"type": "function",
"function": {
"name": "find_nearby_restaurants",
"description": "Find nearby restaurants based on location",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location to search for restaurants\"},\"cuisine_type\":{\"type\":\"string\",\"description\":\"The type of cuisine desired\"}},\"required\":[\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我目前沒有預訂機票的功能。我可以根據指定地點幫你查找附近的餐廳。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009770_61d4fb344ce4
|
[
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price of a company",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"company\":{\"type\":\"string\",\"description\":\"The name of the company\"}},\"required\":[\"company\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我目前的能力僅限於系統提供的功能。例如,我可以幫你取得某間公司的即時股價。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009771_ebdf10df06e4
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to encode\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於提供給我的功能。在這種情況下,我可以協助為給定的文字產生 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009782_a157820f1b42
|
[
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the todo item\"},\"due_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The due date of the todo item\"}},\"required\":[\"title\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於建立待辦事項。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009787_917b8f2e095d
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details of a movie using its title",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"}},\"required\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力幫你訂披薩,因為那屬於外部的任務。我目前的功能允許我透過電影標題取得電影的詳細資訊。如果你需要有關電影的資訊,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009816_3a3eb6d108c3
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the birthdate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\",\"description\":\"The birthdate in the format 'YYYY-MM-DD'\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助那件事。預訂機票屬於外部任務,我沒有提供執行該任務的功能。我可以幫你根據出生日期計算年齡。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009838_3baf56764cd2
|
[
{
"type": "function",
"function": {
"name": "search_lyrics",
"description": "Search for lyrics of a song",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"song_title\":{\"type\":\"string\",\"description\":\"The title of the song\"},\"artist\":{\"type\":\"string\",\"description\":\"The artist of the song\"}},\"required\":[\"song_title\",\"artist\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能。在這種情況下,我可以幫你搜尋歌曲歌詞。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009842_74b42fe6302a
|
[
{
"type": "function",
"function": {
"name": "generate_random_name",
"description": "Generate a random name",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我從紐約訂一張到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有預訂機票的能力。我目前的功能是能產生隨機姓名。還有其他我可以幫忙的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009883_7fafee9b239c
|
[
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"integer\",\"description\":\"The length of the password\"}},\"required\":[\"length\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像是訂機票等外部任務。我的目前能力僅限於提供給我的功能。在這種情況下,我可以幫你產生一個隨機密碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009898_b6da9f72fa9d
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI)",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"},\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"}},\"required\":[\"weight\",\"height\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算我的 BMI。我體重 70 公斤,身高 1.75 公尺。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我幫你計算。\nAI to=calculate_bmi: {\"weight\": 70, \"height\": 1.75}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"bmi\":22.86}"
]
},
{
"role": "assistant",
"content_text": "根據您提供的資訊,您的身體質量指數(BMI)為22.86。這被視為健康的體重。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009933_e6adcc6c5664
|
[
{
"type": "function",
"function": {
"name": "play_music",
"description": "Play music",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"song_name\":{\"type\":\"string\",\"description\":\"The name of the song to play\"}},\"required\":[\"song_name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法幫你訂披薩,因為那是外部任務,且沒有提供可執行該任務的功能。我可以協助播放音樂,如果你願意。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009939_e7b1f4be1fbc
|
[
{
"type": "function",
"function": {
"name": "generate_random_number",
"description": "Generate a random number within a given range",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"min\":{\"type\":\"integer\",\"description\":\"The minimum value of the range\"},\"max\":{\"type\":\"integer\",\"description\":\"The maximum value of the range\"}},\"required\":[\"min\",\"max\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有辦法執行像訂披薩這類的外部任務。我的現有功能只允許我在給定的範圍內產生隨機數。還有其他在我能力範圍內可以幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009951_16c305cacb20
|
[
{
"type": "function",
"function": {
"name": "generate_random_fact",
"description": "Generate a random fact",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我向附近的披薩店訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂餐這類的外部任務。我的目前功能可以產生隨機事實。你要改聽一則隨機事實嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009958_e384af99e7a5
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly payment for a loan",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"loan_amount\":{\"type\":\"number\",\"description\":\"The loan amount\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The loan term in years\"}},\"required\":[\"loan_amount\",\"interest_rate\",\"loan_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算我的每月還款金額。我借了 $50000,年利率為 5%,貸款期限為 10 年。你可以幫我嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你。讓我來為你計算。\nAI to=calculate_loan_payment: {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 10}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"monthly_payment\":530.33}"
]
},
{
"role": "assistant",
"content_text": "根據您提供的資訊,您的每月貸款付款約為 $530.33。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009960_462b6229df07
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details of a movie",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"year\":{\"type\":\"integer\",\"description\":\"The release year of the movie\"}},\"required\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我在我最喜歡的餐廳預訂今晚兩人座位嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法替你在餐廳訂位。我目前的功能僅能提供有關電影的資訊。如果你需要任何電影方面的資料,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009962_2b22e12c9861
|
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"string\",\"description\":\"The category of news, e.g. sports, politics\"}},\"required\":[\"category\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理那個。我的現有功能允許我根據你提供的類別擷取最新的新聞標題。我沒有下訂單或執行外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009978_f142016062c6
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location1\":{\"type\":\"string\",\"description\":\"The first location\"},\"location2\":{\"type\":\"string\",\"description\":\"The second location\"}},\"required\":[\"location1\",\"location2\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於提供給我的功能。在這種情況下,我可以協助計算兩個地點之間的距離。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009985_18f3579c88f5
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI)",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"},\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"}},\"required\":[\"weight\",\"height\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我點一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能,例如計算 BMI。如果你需要我在這些功能或其他我能執行的功能上提供協助,隨時都可以問我!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0009992_757e9075aa2c
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the given birthdate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The birthdate of the person\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助那件事。預訂機票屬於外部作業,我沒有提供執行該作業的功能。我可以根據提供的出生日期幫忙計算年齡。還有其他需要我協助的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0009995_d5505316ea21
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on title, author, or genre",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the book\"},\"author\":{\"type\":\"string\",\"description\":\"The author of the book\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the book\"}},\"required\":[]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。 目前我的功能允許我根據書名、作者或類別搜尋書籍。 如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010009_584638660e14
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly payment for a loan",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"number\",\"description\":\"The principal amount of the loan\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate of the loan\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The term of the loan in years\"}},\"required\":[\"principal\",\"interest_rate\",\"loan_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算我的貸款還款。貸款本金為 $50000,年利率為 5%,貸款期限為 10 年。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我為你計算一下。\n\nAI to=calculate_loan_payment: {\"principal\": 50000, \"interest_rate\": 5, \"loan_term\": 10}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"monthly_payment\":530.33}"
]
},
{
"role": "assistant",
"content_text": "根據所提供的資訊,您的每月貸款還款金額約為 $530.33。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010017_4c0e35610adf
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price of a product",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"price\":{\"type\":\"number\",\"description\":\"The original price of the product\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The percentage discount to be applied\"}},\"required\":[\"price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我可以協助你處理與我所具備的功能相關的任務,例如計算商品的折後價格。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010020_9c3662577028
|
[
{
"type": "function",
"function": {
"name": "search_restaurants",
"description": "Search for restaurants based on location and cuisine",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location to search in\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The cuisine to search for\"}},\"required\":[\"location\",\"cuisine\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往巴黎的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我沒有預訂機票的能力。我目前的功能只允許我根據地點和菜系搜尋餐廳。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010034_e980feadfe88
|
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on a keyword",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keyword\":{\"type\":\"string\",\"description\":\"The keyword to search for\"},\"year\":{\"type\":\"integer\",\"description\":\"The release year of the movies\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the movies\"}},\"required\":[\"keyword\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我找一些2019年的好看動作電影嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我替你查找這些資訊。\nAI to= search_movies: {\"keyword\": \"action\", \"year\": 2019}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"movies\":[{\"title\":\"復仇者聯盟:終局之戰\",\"year\":2019,\"genre\":\"動作\"},{\"title\":\"約翰·威克:第三章 – 戰前準備\",\"year\":2019,\"genre\":\"動作\"},{\"title\":\"玩命關頭:特別行動\",\"year\":2019,\"genre\":\"---\\n動作\\n---\"}]}"
]
},
{
"role": "assistant",
"content_text": "---\n以下是一些你可能會喜歡的 2019 年動作片:\n1. Avengers: Endgame\n2. John Wick: Chapter 3 – Parabellum\n3. Fast & Furious Presents: Hobbs & Shaw\n---",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010045_abb365e51865
|
[
{
"type": "function",
"function": {
"name": "check_word_count",
"description": "Check the word count of a text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to be checked\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法預訂機票,因為那是外部任務。我目前的功能是檢查文本的字數。還有其他與文本分析相關的需要我協助的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0010081_4063cac0e6fb
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on keywords",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The keywords to search for in books\"},\"author\":{\"type\":\"string\",\"description\":\"The author of the books\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the books\"}},\"required\":[\"keywords\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我可以協助您處理與我提供的功能相關的工作,例如根據關鍵字、作者或類型搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010101_579e9c0e7f0e
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI)",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"},\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"}},\"required\":[\"weight\",\"height\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法幫您預訂機票。我目前的功能是根據您提供的體重和身高來計算身體質量指數 (BMI)。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010102_d0ddd63f21f3
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount for a bill",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"bill_amount\":{\"type\":\"number\",\"description\":\"The total amount of the bill\"},\"tip_percentage\":{\"type\":\"number\",\"description\":\"The percentage tip to be given\"}},\"required\":[\"bill_amount\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力目前僅限於我所擁有的功能。在這種情況下,我可以幫你計算帳單的小費金額。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010107_57123166782b
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the birth date",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birth_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The birth date of the person\"}},\"required\":[\"birth_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有辦法執行像訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能,例如根據出生日期計算年齡。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010126_a0f3050e6f13
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to be encoded in the QR code\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我預訂一張從紐約飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班,因為那屬於外部任務。我目前的能力僅限於為給定文字生成 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010132_d1d72305bc17
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to encode in the QR code\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,因為那是外部任務,我無法幫你訂披薩。我可以協助你完成與我可用功能相關的工作,例如為指定文字產生 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010157_c8ff6d59a41f
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details about a movie",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"year\":{\"type\":\"integer\",\"description\":\"The year the movie was released\"},\"director\":{\"type\":\"string\",\"description\":\"The director of the movie\"}},\"required\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張《全面啟動》的電影票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有執行外部任務(例如預訂電影票)的能力。我的功能僅限於根據提供給我的功能提供資訊。在這種情況下,我可以提供關於電影「Inception」的詳細資訊,但無法為您預訂電影票。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010172_04c8da746be9
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert one currency to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount to be converted\"},\"from_currency\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"from_currency\",\"to_currency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班,因為那屬於外部任務。我的目前能力僅限於被賦予的功能,例如貨幣換算。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010173_c4e39f9d2405
|
[
{
"type": "function",
"function": {
"name": "generate_username",
"description": "Generate a unique username for a user",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"first_name\":{\"type\":\"string\",\"description\":\"The first name of the user\"},\"last_name\":{\"type\":\"string\",\"description\":\"The last name of the user\"}},\"required\":[\"first_name\",\"last_name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助處理那件事。預訂機票是外部任務,我沒有提供可執行該任務的功能。我可以根據你的名字和姓氏,幫你產生一個獨特的使用者名稱。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010198_663cf01e55c5
|
[
{
"type": "function",
"function": {
"name": "analyze_image",
"description": "Analyze the content of an image",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"image_url\":{\"type\":\"string\",\"description\":\"The URL of the image to be analyzed\"},\"features\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The features to be analyzed in the image\"}},\"required\":[\"image_url\",\"features\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你能幫我訂一張從紐約飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法預訂機票。我目前的功能僅限於分析影像。如果你需要這方面的協助,請隨時告訴我!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010204_c3672197ec1e
|
[
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news headlines",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"string\",\"description\":\"The news category\"},\"country\":{\"type\":\"string\",\"description\":\"The country for the news\"}},\"required\":[\"category\",\"country\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法執行像訂披薩這類的外部任務。我的能力目前僅限於系統提供給我的功能。在這種情況下,我可以幫你取得根據特定類別和國家/地區的最新新聞標題。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010205_b39b89af1c2d
|
[
{
"type": "function",
"function": {
"name": "detect_language",
"description": "Detect the language of a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text for language detection\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有執行像訂披薩這類外部任務的能力。我目前的功能是偵測給定文字的語言。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010211_beffb5114601
|
[
{
"type": "function",
"function": {
"name": "generate_random_joke",
"description": "Generate a random joke",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力訂購披薩,因為那是個外部任務。我可以為你生成一則隨機笑話,如果你願意。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010212_e40214d43623
|
[
{
"type": "function",
"function": {
"name": "find_nearby_places",
"description": "Find nearby places of interest",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"latitude\":{\"type\":\"number\",\"description\":\"The latitude of the location\"},\"longitude\":{\"type\":\"number\",\"description\":\"The longitude of the location\"},\"radius\":{\"type\":\"integer\",\"description\":\"The radius in meters\"},\"type\":{\"type\":\"string\",\"description\":\"The type of place to search for\"}},\"required\":[\"latitude\",\"longitude\",\"radius\",\"type\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你能幫我在附近的餐廳預訂兩人座位嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力幫您在餐廳訂位。我的現有功能可以根據您的位置尋找附近的景點,但我無法執行像是代為預約這類的外部操作。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010216_5331d7236d87
|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on given ingredients",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients to search for\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以為我預訂一張從紐約到洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法替你訂機票。我目前的功能是根據所提供的食材搜尋食譜。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010233_c40130c3e740
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details of a specific movie",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"year\":{\"type\":\"integer\",\"description\":\"The release year of the movie\"}},\"required\":[\"title\",\"year\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂今晚在我最喜歡的餐廳的兩人座位嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像替你在餐廳訂位這類的外部任務。我目前的功能僅限於提供特定電影的相關資訊。如果你需要電影的資訊,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010242_8f59d0e08661
|
[
{
"type": "function",
"function": {
"name": "generate_quote",
"description": "Generate a random quote",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我目前的功能僅能產生隨機語錄。還有其他我可以協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0010250_f9e3b44dc7fc
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert currency from one unit to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount of currency to convert\"},\"from\":{\"type\":\"string\",\"description\":\"The source currency unit\"},\"to\":{\"type\":\"string\",\"description\":\"The target currency unit\"}},\"required\":[\"amount\",\"from\",\"to\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法協助訂機票,因為那是外部任務,而且我沒有相應的功能來執行該任務。不過,如果你需要,我可以協助進行貨幣兌換。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010258_ba2e45d1ff2c
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert currency from one type to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount to be converted\"},\"from_currency\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"from_currency\",\"to_currency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像預訂航班等外部任務。我可以協助您處理與我所提供功能相關的事項,例如進行貨幣換算。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010269_d2233b4ea97f
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the birthdate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\",\"description\":\"The birthdate of the person\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助那件事。我的現有能力僅能根據出生日期計算年齡。我沒有訂機票的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010295_d8612ccfd494
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert an amount from one currency to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount to be converted\"},\"from_currency\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"from_currency\",\"to_currency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我有100 美元,想知道換算成歐元會是多少?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我幫你換算。\nAI to=convert_currency: {\"amount\": 100, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"converted_amount\":85.3,\"from_currency\":\"美元\",\"to_currency\":\"歐元\"}"
]
},
{
"role": "assistant",
"content_text": "從 100 美元兌換成歐元的金額為 85.30 歐元。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010312_cc60afeb0901
|
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"number\",\"description\":\"The principal amount of the mortgage\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"term\":{\"type\":\"integer\",\"description\":\"The term of the mortgage in years\"}},\"required\":[\"principal\",\"interest_rate\",\"term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "我在考慮買房。你能幫我計算每月的房貸付款金額嗎?本金為 $200,000、年利率為 3.5%、貸款期限為 30 年。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我幫你算一下。\nAI to=calculate_mortgage_payment: {\"principal\": 200000, \"interest_rate\": 3.5, \"term\": 30}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"monthly_payment\":898.09}"
]
},
{
"role": "assistant",
"content_text": "根據所提供的資訊,您估計的每月房貸還款金額為 $898.09。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010315_9984a5a07805
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on date of birth",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"date_of_birth\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The date of birth in YYYY-MM-DD format\"}},\"required\":[\"date_of_birth\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像預訂機票這樣的外部任務。我可以協助與提供給我的功能相關的任務。目前,我可以根據出生日期幫助計算年齡。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010351_0cc55f4234b1
|
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on title, actor, or genre",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"Keywords to search for in movie titles\"},\"actor\":{\"type\":\"string\",\"description\":\"The actor in the movies to search for\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the movies to search for\"}},\"required\":[]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有預訂機票的能力。我目前的功能只能根據片名、演員或類型搜尋電影。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010353_3a838e392404
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a specified text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to encode in the QR code\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂購披薩這類的外部任務。我目前的功能僅限於為指定的文字產生 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010354_4ef1cfa3f829
|
[
{
"type": "function",
"function": {
"name": "check_palindrome",
"description": "Check if a word or phrase is a palindrome",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"The word or phrase to check\"}},\"required\":[\"word\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班。我的現有功能僅能檢查單字或片語是否為回文。還有其他在我能力範圍內可以幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0010367_150386019515
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert one currency to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"from_currency\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to\"},\"amount\":{\"type\":\"number\",\"description\":\"The amount to convert\"}},\"required\":[\"from_currency\",\"to_currency\",\"amount\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要把 100 美元兌換成歐元。你可以幫我嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你處理這件事。讓我為你做匯率換算。\nAI to=convert_currency: {\"from_currency\": \"USD\", \"to_currency\": \"EUR\", \"amount\": 100}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"converted_amount\":85.3,\"from_currency\":\"美元\",\"to_currency\":\"歐元\"}"
]
},
{
"role": "assistant",
"content_text": "從100美元兌換成歐元的金額為85.30歐元。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010384_82de3e7b5a3b
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"source_location\":{\"type\":\"string\",\"description\":\"The source location\"},\"destination_location\":{\"type\":\"string\",\"description\":\"The destination location\"}},\"required\":[\"source_location\",\"destination_location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這類的外部任務。我可以提供資訊並執行與我所擁有功能相關的工作。在這種情況下,我可以協助計算兩個地點之間的距離。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010399_6dabdc897062
|
[
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the todo item\"},\"description\":{\"type\":\"string\",\"description\":\"The description of the todo item\"},\"due_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The due date of the todo item\"}},\"required\":[\"title\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理那件事。我目前的功能可以為你建立新的待辦事項,但我沒有能力為你訂購披薩。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010401_88497df2b4b3
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price of an item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price of the item\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The percentage of discount applied\"}},\"required\":[\"original_price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我可以協助您處理與我所具備的功能相關的工作,例如計算商品的折扣價。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010402_78f19553d708
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly loan payment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"loan_amount\":{\"type\":\"number\",\"description\":\"The amount of the loan\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The term of the loan in years\"}},\"required\":[\"loan_amount\",\"interest_rate\",\"loan_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助那項事宜。我目前的功能能夠根據貸款金額、利率和貸款期限計算還款金額。我也沒有能力代為訂機票或執行其他外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010411_8d2683343030
|
[
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像是訂購披薩等外部任務。我目前的功能允許我講一個隨機笑話。你想聽一個嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0010438_44957f552a0f
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"origin\":{\"type\":\"string\",\"description\":\"The starting location\"},\"destination\":{\"type\":\"string\",\"description\":\"The destination location\"}},\"required\":[\"origin\",\"destination\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從最近的披薩店訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂餐這類的外部任務。我目前的能力僅限於賦予我的功能。例如,我可以協助計算兩個地點之間的距離。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010442_3ef146d606fd
|
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on title or actors",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"actors\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The actors in the movie\"}},\"required\":[]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。目前我的功能僅限於根據片名或演員搜尋電影。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010443_e8c9ae20fdc9
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI)",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"weight\":{\"type\":\"number\",\"description\":\"The weight of the person in kilograms\"},\"height\":{\"type\":\"number\",\"description\":\"The height of the person in meters\"}},\"required\":[\"weight\",\"height\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我的目前功能是計算 BMI。如果你需要這方面的幫助,我很樂意協助。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010455_5bf45c75302f
|
[
{
"type": "function",
"function": {
"name": "generate_username",
"description": "Generate a unique username",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"The name of the user\"}},\"required\":[\"name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你能幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票,因為那是外部任務,我沒有可用來執行該任務的功能。如果你願意,我可以幫你產生一個獨特的使用者名稱。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010465_9a62208788e9
|
[
{
"type": "function",
"function": {
"name": "search_jobs",
"description": "Search for job listings",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location of the job\"},\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The keywords to search for\"}},\"required\":[\"location\",\"keywords\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從我最喜歡的餐廳訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法幫你訂餐。我目前的功能是根據地點和關鍵字搜尋職缺。如果你需要這方面的協助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010469_5eef5fb1e1c6
|
[
{
"type": "function",
"function": {
"name": "generate_barcode",
"description": "Generate a barcode for a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to encode in barcode\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助那件事。我目前的功能僅限於為指定文字產生條碼。我沒有能力執行像訂披薩這樣的外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0010470_bfbdfb058ce9
|
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies by genre",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"genre\":{\"type\":\"string\",\"description\":\"The genre of movies to search for\"},\"year\":{\"type\":\"integer\",\"description\":\"The release year of movies (optional)\"}},\"required\":[\"genre\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於系統提供的功能。在這種情況下,我可以協助你依照類型和年份搜尋電影。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.