id
stringlengths 23
23
| tools
listlengths 1
1
| messages
listlengths 2
8
| label_kind
stringclasses 2
values |
|---|---|---|---|
ex_0006723_0fb0cd62d05f
|
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random interesting fact",
"parameters_json": "{\"type\":\"object\",\"properties\":{},\"required\":[]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有辦法執行像訂披薩這類的外部任務。我的現有功能可以提供一則隨機的有趣事實。你想聽一則嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0006730_103011766016
|
[
{
"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": "嗨,我有 1000 美元。我想知道這會換成多少歐元?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你處理這件事。讓我為你換算貨幣。\nAI to=convert_currency: {\"from_currency\": \"USD\", \"to_currency\": \"EUR\", \"amount\": 1000}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"converted_amount\":850,\"from_currency\":\"美元\",\"to_currency\":\"歐元\"}"
]
},
{
"role": "assistant",
"content_text": "您的1000美元約為850歐元。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006777_c6dcbeaf19a9
|
[
{
"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": []
}
] |
full
|
ex_0006789_eb1c17e8a2ba
|
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這樣的外部任務。我的目前功能允許我向你提供一則隨機事實。你想聽一則嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0006805_969e92dca90f
|
[
{
"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_0006808_4016393d71a2
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"origin\":{\"type\":\"string\",\"description\":\"The origin 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_0006826_ab4af34271f5
|
[
{
"type": "function",
"function": {
"name": "convert_temperature",
"description": "Convert temperature from one unit to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"temperature\":{\"type\":\"number\",\"description\":\"The temperature to convert\"},\"from_unit\":{\"type\":\"string\",\"description\":\"The unit to convert from (e.g., Celsius, Fahrenheit)\"},\"to_unit\":{\"type\":\"string\",\"description\":\"The unit to convert to (e.g., Celsius, Fahrenheit)\"}},\"required\":[\"temperature\",\"from_unit\",\"to_unit\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力執行像訂披薩這類的外部任務。我目前的功能是將溫度從一種單位轉換到另一種單位。還有其他我可以協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0006846_256007f31e25
|
[
{
"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_0006855_ca31839e6581
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the birthdate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The birthdate in YYYY-MM-DD format\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂機票。我的能力限於系統提供的功能,目前只能根據出生日期計算年齡。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006873_452694ec5e88
|
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一份披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。如果你願意,我可以為你產生一則隨機名言。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006876_144aa6861c78
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount for a given 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": "嘿,我剛在餐廳吃了一餐,帳單是 $50。我想留下 20% 的小費。你可以幫我算一算是多少嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我幫你算一下。\nAI to=calculate_tip: {\"bill_amount\": 50, \"tip_percentage\": 20}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"tip_amount\":10}"
]
},
{
"role": "assistant",
"content_text": "在 $50 的帳單上,20% 的小費金額為 $10。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006898_919db15ff167
|
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"string\",\"description\":\"The category of the fact\"}}}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力目前僅限於根據我可使用的功能提供資訊。在這種情況下,我可以根據你選擇的類別提供一則隨機事實。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006901_74a36292ca62
|
[
{
"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\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the QR code in pixels\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票,因為那是外部任務,且我沒有可用於該任務的功能。我可以協助從給定的文字產生 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006902_a9893d8e275f
|
[
{
"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\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我的功能目前僅限於建立待辦事項。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006929_12a966330f8b
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a specified content",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"content\":{\"type\":\"string\",\"description\":\"The content to be encoded in the QR code\"}},\"required\":[\"content\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法代為訂機票。我目前的功能是從指定內容產生 QR 碼。如果您需要任何特定內容的 QR 碼,請隨時告訴我。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006932_7a8c68c717f9
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert currency from one to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount to convert\"},\"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_0006945_55be0ac2fafd
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount based on the bill total and percentage",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"bill_total\":{\"type\":\"number\",\"description\":\"The total bill amount\"},\"tip_percentage\":{\"type\":\"number\",\"description\":\"The tip percentage\"}},\"required\":[\"bill_total\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我算一下晚餐帳單的小費嗎?帳單是 $75,我想給 20% 的小費。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,讓我幫你計算。\nAI to=calculate_tip: {\"bill_total\": 75, \"tip_percentage\": 20}",
"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_0007003_d51d146a97db
|
[
{
"type": "function",
"function": {
"name": "schedule_maintenance",
"description": "Schedule maintenance for a specific equipment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"equipment_id\":{\"type\":\"string\",\"description\":\"The unique identifier of the equipment\"},\"maintenance_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The date for the maintenance to be scheduled\"}},\"required\":[\"equipment_id\",\"maintenance_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理那件事。我目前的功能僅限於為特定設備安排維護。我沒有點披薩或執行其他外部任務的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007005_59ce7f788e56
|
[
{
"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": []
}
] |
full
|
ex_0007017_3a5bdd44d27d
|
[
{
"type": "function",
"function": {
"name": "get_song_lyrics",
"description": "Get the lyrics of a song",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"artist\":{\"type\":\"string\",\"description\":\"The name of the artist\"},\"song_title\":{\"type\":\"string\",\"description\":\"The title of the song\"}},\"required\":[\"artist\",\"song_title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法訂披薩,因為那屬於外部任務。我的現有功能可以取得歌曲的歌詞。如果你需要某首歌的歌詞,歡迎隨時告訴我!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007030_37396c64116e
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price of a product",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price of the product\"},\"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_0007047_5b300f5fdd6b
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly loan payment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"number\",\"description\":\"The principal amount of the loan\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The loan term in years\"}},\"required\":[\"principal\",\"interest_rate\",\"loan_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助預訂機票。我目前的功能僅限於計算貸款的還款金額。還有其他需要我幫忙的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007074_541981479735
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two coordinates",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"latitude1\":{\"type\":\"number\",\"description\":\"The latitude of the first coordinate\"},\"longitude1\":{\"type\":\"number\",\"description\":\"The longitude of the first coordinate\"},\"latitude2\":{\"type\":\"number\",\"description\":\"The latitude of the second coordinate\"},\"longitude2\":{\"type\":\"number\",\"description\":\"The longitude of the second coordinate\"}},\"required\":[\"latitude1\",\"longitude1\",\"latitude2\",\"longitude2\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法協助預訂機票。我目前只能計算兩個座標之間的距離。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007079_a635105d8424
|
[
{
"type": "function",
"function": {
"name": "check_internet_speed",
"description": "Check the speed of the internet connection",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂購披薩這類的外部任務。我目前的功能只允許我檢查網路連線速度。還有其他我可以幫忙的嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007081_7ae818f8d2ce
|
[
{
"type": "function",
"function": {
"name": "find_shopping_mall",
"description": "Find the nearest shopping mall",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The current location\"}},\"required\":[\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我在附近的餐廳預訂今晚兩人晚餐的座位嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法幫您在餐廳訂位。我目前提供的功能是根據您的位置查找最近的購物中心。如果您需要這項服務,歡迎隨時告訴我。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007085_8e3bb1a99307
|
[
{
"type": "function",
"function": {
"name": "search_recipe",
"description": "Search for recipes based on ingredients",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients to search for\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The cuisine type to filter the recipes\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票。我目前的功能僅限於根據食材和料理類型搜尋食譜。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007103_d985a83a4666
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount based on bill total and percentage",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"bill_total\":{\"type\":\"number\",\"description\":\"The total bill amount\"},\"tip_percentage\":{\"type\":\"number\",\"description\":\"The percentage of tip to be given\"}},\"required\":[\"bill_total\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,我剛在一家餐廳吃完晚餐。帳單是 $100,我想給 15% 的小費。你能幫我算一下小費會是多少嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "好的,讓我幫你計算。\nAI to=calculate_tip FUNCTION: {\"name\": \"calculate_tip\", \"arguments\": '{\"bill_total\": 100, \"tip_percentage\": 15}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"tip_amount\":15}"
]
},
{
"role": "assistant",
"content_text": "帳單為 $100,15% 的小費為 $15。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007120_70244056468d
|
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"property_price\":{\"type\":\"number\",\"description\":\"The price of the property\"},\"down_payment\":{\"type\":\"number\",\"description\":\"The down payment amount\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"mortgage_term\":{\"type\":\"integer\",\"description\":\"The term of the mortgage in years\"}},\"required\":[\"property_price\",\"down_payment\",\"interest_rate\",\"mortgage_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要你幫我從紐約訂一張飛往倫敦的機票。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助處理該事項。我的現有功能僅限於計算房貸還款。我沒有訂機票的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007163_5f848c27fce8
|
[
{
"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 for restaurants\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The cuisine type to search for\"}},\"required\":[\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我目前無法代為訂機票。我可以提供的功能是依據地點與料理類型搜尋餐廳。如果你需要這方面的協助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007174_cce25f3f85db
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly loan payment",
"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\":\"number\",\"description\":\"The loan term 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_0007182_a949c856695c
|
[
{
"type": "function",
"function": {
"name": "play_sound",
"description": "Play a sound",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"sound_name\":{\"type\":\"string\",\"description\":\"The name of the sound file\"}},\"required\":[\"sound_name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我目前的功能允許我在提供檔名時播放音訊檔案。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007187_ada3a0fc3bf2
|
[
{
"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": []
}
] |
ask_cut
|
ex_0007194_91c44a8f4dfc
|
[
{
"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\",\"year\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張電影 \"Inception\" 的票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法為您訂電影票,因為那是需要外部操作的任務,而我沒有執行該任務的功能。如果您願意,我可以提供電影《全面啟動》的相關資訊。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007208_34d16ac2672c
|
[
{
"type": "function",
"function": {
"name": "analyze_sentiment",
"description": "Analyze the sentiment of a text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to analyze\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我可以協助您處理與我所提供的功能相關的工作。例如,我可以為您分析一段文字的情感。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007216_5e819ad294c0
|
[
{
"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\":\"The title of the movie\"},\"actor\":{\"type\":\"string\",\"description\":\"The name of an actor/actress in the movie\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the movie\"}},\"required\":[\"title\",\"actor\",\"genre\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我沒有執行外部任務(例如訂購披薩)的能力。我的主要功能是根據片名、演員或類型,協助您取得與電影相關的資訊。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007219_1cdac30d1735
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount for a given 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 give\"}},\"required\":[\"bill_amount\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於提供給我的功能。在這種情況下,我可以幫你計算給定帳單的小費金額。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007237_293ba0b74aae
|
[
{
"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_0007246_1879e2b73d8e
|
[
{
"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_0007294_5fc2c96d95fd
|
[
{
"type": "function",
"function": {
"name": "search_movie",
"description": "Search for 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\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the movie\"}},\"required\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我找電影《Inception》嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n好的,讓我幫你找一下。\nAI to= search_movie {\"title\": \"Inception\"}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"title\":\"開始\",\"year\":2010,\"genre\":\"科幻小說\",\"director\":\"克里斯托弗·諾蘭\",\"rating\":8.8}"
]
},
{
"role": "assistant",
"content_text": "我找到電影「Inception」。它於2010年上映,由克里斯托弗·諾蘭執導,屬於科幻片。它的評分為8.8。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007305_4f2679121930
|
[
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get the 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": "很抱歉,但我沒有能力預訂電影票。我目前的功能只能提供電影的相關資訊,例如片名與上映年份。如果您需要關於'Inception'的資訊,我當然可以幫忙。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007317_680e9fd4796b
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a geometric shape",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"shape\":{\"type\":\"string\",\"description\":\"The type of shape (e.g. circle, rectangle, triangle)\"},\"dimensions\":{\"type\":\"object\",\"properties\":{\"radius\":{\"type\":\"number\",\"description\":\"The radius of the circle\"},\"length\":{\"type\":\"number\",\"description\":\"The length of the rectangle\"},\"width\":{\"type\":\"number\",\"description\":\"The width of the rectangle\"},\"base\":{\"type\":\"number\",\"description\":\"The base of the triangle\"},\"height\":{\"type\":\"number\",\"description\":\"The height of the triangle\"}},\"required\":[\"radius\",\"length\",\"width\",\"base\",\"height\"]}},\"required\":[\"shape\",\"dimensions\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助這個要求。我目前的能力僅限於計算幾何圖形的面積,無法執行例如預訂航班等外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007321_190013fa60e4
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on birth date",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birth_date\":{\"type\":\"string\",\"description\":\"The birth date (YYYY-MM-DD)\"}},\"required\":[\"birth_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班。我的目前功能僅限於根據提供的出生日期計算年齡。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007328_d6d41070b978
|
[
{
"type": "function",
"function": {
"name": "execute_program",
"description": "Execute a program",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"program_path\":{\"type\":\"string\",\"description\":\"The path of the program to execute\"},\"arguments\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The arguments to pass to the program\"}},\"required\":[\"program_path\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力下訂單或執行像訂披薩這類的外部任務。 我目前的功能僅允許我執行程式。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007347_994b6205b6e8
|
[
{
"type": "function",
"function": {
"name": "calculate_tax",
"description": "Calculate the tax amount based on income and tax rate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"income\":{\"type\":\"number\",\"description\":\"The income amount\"},\"tax_rate\":{\"type\":\"number\",\"description\":\"The tax rate\"}},\"required\":[\"income\",\"tax_rate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算今年的稅額。我的收入是 $50000,稅率是 20%。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "好的,讓我為你計算一下。\nAI to=calculate_tax code: {\"name\": \"calculate_tax\", \"arguments\": '{\"income\": 50000, \"tax_rate\": 20}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"result\":10000}"
]
},
{
"role": "assistant",
"content_text": "根據您的收入和稅率,您今年應繳的稅額為 $10,000。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007350_4f22e686b4ba
|
[
{
"type": "function",
"function": {
"name": "play_music",
"description": "Play music from a selected playlist",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"playlist\":{\"type\":\"string\",\"description\":\"The name of the playlist\"}},\"required\":[\"playlist\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我沒有能力訂購披薩,因為那是外部任務。我目前的功能允許我從所選的播放清單播放音樂。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007351_70d626dbfd83
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price of a product",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price of the product\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The percentage discount on the product\"}},\"required\":[\"original_price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力僅限於提供給我的功能。目前,我可以協助你計算產品的折扣後價格。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007355_ae808251bd25
|
[
{
"type": "function",
"function": {
"name": "create_note",
"description": "Create a new note",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the note\"},\"content\":{\"type\":\"string\",\"description\":\"The content of the note\"}},\"required\":[\"title\",\"content\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂披薩這類的外部任務。我目前的功能是可以為你建立備忘錄。如果你需要記得訂披薩,我當然可以幫你建立一則備忘錄。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007367_d1d22dd03517
|
[
{
"type": "function",
"function": {
"name": "create_calendar_event",
"description": "Create a new event in the calendar",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the event\"},\"start_time\":{\"type\":\"string\",\"format\":\"date-time\",\"description\":\"The start time of the event\"},\"end_time\":{\"type\":\"string\",\"format\":\"date-time\",\"description\":\"The end time of the event\"}},\"required\":[\"title\",\"start_time\",\"end_time\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。依我目前的能力,我可以協助建立行事曆事件。如果你需要這方面的幫助,歡迎隨時詢問。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007369_edd1d381b034
|
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random inspirational quote",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法預訂航班,因為那是外部任務。我目前的功能可以產生隨機的勵志語錄。你想聽一則嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007370_585ef3b10970
|
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random inspirational quote",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一份披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這類的外部任務。我目前的功能僅能產生隨機的勵志語錄。還有其他需要我協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007378_79efa65e1be6
|
[
{
"type": "function",
"function": {
"name": "calculate_tax",
"description": "Calculate the tax amount",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"income\":{\"type\":\"number\",\"description\":\"The taxable income\"}},\"required\":[\"income\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約預訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法在那方面提供協助。我目前的功能僅限於根據收入計算稅額。我沒有預訂機票或執行其他外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007387_c9999b95305a
|
[
{
"type": "function",
"function": {
"name": "calculate_fibonacci_sequence",
"description": "Calculate the Fibonacci sequence",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"n\":{\"type\":\"integer\",\"description\":\"The number of Fibonacci numbers to generate\"}},\"required\":[\"n\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行外部任務,例如訂披薩。我的能力目前僅限於計算費波那契數列。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007401_69042642cec3
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price based on the original price and discount percentage",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"original_price\":{\"type\":\"number\",\"description\":\"The original price\"},\"discount_percentage\":{\"type\":\"number\",\"description\":\"The discount percentage\"}},\"required\":[\"original_price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我預訂從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂機票,因為那屬於外部任務。我目前的能力僅限於提供給我的功能,例如計算折扣。如果你需要這方面或其他任何資訊的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007406_0d9db36e034a
|
[
{
"type": "function",
"function": {
"name": "check_website_status",
"description": "Check the status of a website",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"website_url\":{\"type\":\"string\",\"description\":\"The URL of the website to check\"}},\"required\":[\"website_url\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我向 Domino's 訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像幫你訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能。在這種情況下,我可以幫你檢查網站的狀態。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007424_44e36a2dad0e
|
[
{
"type": "function",
"function": {
"name": "calculate_rectangle_perimeter",
"description": "Calculate the perimeter of a rectangle",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"width\":{\"type\":\"number\",\"description\":\"The width of the rectangle\"},\"height\":{\"type\":\"number\",\"description\":\"The height of the rectangle\"}},\"required\":[\"width\",\"height\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助這項要求。我目前的能力僅限於所提供給我的功能,訂機票屬於外部任務,我沒有處理該任務的功能。如果您提供寬度和高度,我可以幫忙計算矩形的周長。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007434_10fcf9db23c6
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given data",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"data\":{\"type\":\"string\",\"description\":\"The data to be encoded in the QR code\"}},\"required\":[\"data\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理該事項。我的目前功能僅能根據你提供的資料產生 QR 碼。訂購披薩屬於外部任務,我沒有能力處理。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007435_bf7e77b3fa0e
|
[
{
"type": "function",
"function": {
"name": "calculate_carbon_footprint",
"description": "Calculate the carbon footprint based on various factors",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"distance\":{\"type\":\"number\",\"description\":\"The distance travelled\"},\"vehicle_type\":{\"type\":\"string\",\"description\":\"The type of vehicle used\"},\"fuel_type\":{\"type\":\"string\",\"description\":\"The type of fuel used\"}},\"required\":[\"distance\",\"vehicle_type\",\"fuel_type\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我最近去了一趟公路旅行,想知道我的碳足跡。我開柴油車行駛了500英里。你可以幫我計算嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你。讓我們來計算你的碳足跡。\n<functioncall> {\"name\": \"calculate_carbon_footprint\", \"arguments\": '{\"distance\": 500, \"vehicle_type\": \"car\", \"fuel_type\": \"diesel\"}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"carbon_footprint\":0.28}"
]
},
{
"role": "assistant",
"content_text": "根據您行駛的距離、車輛類型與使用的燃料,您此行的碳足跡約為 0.28 公噸。了解我們對環境的影響總是件好事。請繼續追蹤!",
"tool_uses": [],
"tool_results": []
},
{
"role": "user",
"content_text": "那比我預期的還高。如果我改用汽油車會怎麼樣?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "讓我們來看看。我會計算如果你以汽油車行駛相同距離的碳足跡。\n<functioncall> {\"name\": \"calculate_carbon_footprint\", \"arguments\": '{\"distance\": 500, \"vehicle_type\": \"car\", \"fuel_type\": \"petrol\"}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"carbon_footprint\":0.24}"
]
},
{
"role": "assistant",
"content_text": "如果你用汽油車行駛同樣的距離,你的碳足跡大約會是0.24公噸。這比柴油略低。在規劃我們的旅行時,考慮這些因素很重要。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007459_c5778d01a382
|
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩等外部任務。我目前的功能可以產生隨機顏色。還有其他我能在能力範圍內協助的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007476_134d9a256f15
|
[
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"symbol\":{\"type\":\"string\",\"description\":\"The stock symbol, e.g. AAPL\"}},\"required\":[\"symbol\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張從紐約飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂航班。我的目前能力僅限於查詢股票價格。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007487_8aeafc4ec8ff
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a shape",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"shape\":{\"type\":\"string\",\"description\":\"The type of shape (e.g. rectangle, circle)\"},\"dimensions\":{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"number\",\"description\":\"The length of the shape\"},\"width\":{\"type\":\"number\",\"description\":\"The width of the shape\"},\"radius\":{\"type\":\"number\",\"description\":\"The radius of the circle\"}},\"required\":[\"length\",\"width\",\"radius\"]}},\"required\":[\"shape\",\"dimensions\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我的能力目前僅限於提供給我的功能,例如計算圖形的面積。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007506_4899abe6720d
|
[
{
"type": "function",
"function": {
"name": "search_recipe",
"description": "Search for a recipe",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The keywords to search for in the recipe\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The type of cuisine to filter the results\"},\"max_prep_time\":{\"type\":\"integer\",\"description\":\"The maximum preparation time in minutes\"}}}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我正在找一個快速的義大利麵食譜。你可以幫我找一個嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n當然,我可以幫你處理這件事。讓我幫你找一份食譜。\nAI to= search_recipe {\"keywords\": [\"pasta\"], \"cuisine\": \"Italian\", \"max_prep_time\": 30}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"status\":\"成功\",\"data\":{\"recipe_name\":\"快速義大利麵\",\"ingredients\":[\"義大利麵\",\"---\\n番茄醬\\n---\",\"大蒜\",\"羅勒\",\"橄欖油\"],\"preparation_time\":\"25 分鐘\",\"instructions\":\"把義大利麵煮熟。在另一個鍋中,用橄欖油將大蒜炒香,加入番茄醬和羅勒。將醬汁與義大利麵拌勻,趁熱上桌。\"}}"
]
},
{
"role": "assistant",
"content_text": "我為你找到一個食譜。它叫做「快速義大利麵」。你需要的食材有:義大利麵、番茄醬、大蒜、羅勒和橄欖油。準備時間為25分鐘。以下是做法:煮義大利麵。在另一個鍋中以橄欖油炒香大蒜,加入番茄醬和羅勒。將醬料與義大利麵拌勻,趁熱上桌。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007513_c399552e9978
|
[
{
"type": "function",
"function": {
"name": "analyze_sentiment",
"description": "Analyze sentiment of a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to analyze\"},\"language\":{\"type\":\"string\",\"description\":\"The language of the text\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "可以請你幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂披薩這類的外部任務。我的能力目前僅限於分析給定文本的情感。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007526_f720209a57d6
|
[
{
"type": "function",
"function": {
"name": "calculate_factorial",
"description": "Calculate the factorial of a number",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"number\":{\"type\":\"integer\",\"description\":\"The number to calculate factorial for\"}},\"required\":[\"number\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我預訂一張從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理那件事。我的目前能力僅限於計算一個數字的階乘。我沒有能力執行像訂機票這類的外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007528_a745e6fde384
|
[
{
"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_0007529_597c75b77759
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a shape",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"shape\":{\"type\":\"string\",\"enum\":[\"circle\",\"rectangle\",\"triangle\"],\"description\":\"The shape for which the area needs to be calculated\"},\"dimensions\":{\"type\":\"object\",\"properties\":{\"radius\":{\"type\":\"integer\",\"description\":\"The radius of the circle\"},\"length\":{\"type\":\"integer\",\"description\":\"The length of the rectangle\"},\"width\":{\"type\":\"integer\",\"description\":\"The width of the rectangle\"},\"base\":{\"type\":\"integer\",\"description\":\"The base of the triangle\"},\"height\":{\"type\":\"integer\",\"description\":\"The height of the triangle\"}},\"required\":[\"radius\",\"length\",\"width\",\"base\",\"height\"]}},\"required\":[\"shape\",\"dimensions\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理該項事務。我目前的能力僅限於計算像圓形、矩形或三角形等形狀的面積。我沒有預訂航班或執行其他外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007531_bac95832dd21
|
[
{
"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 嗎?我體重 75 公斤,身高 1.8 公尺。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n當然,我可以幫忙。讓我為你計算。\nAI to=calculate_bmi: {\"weight\": 75, \"height\": 1.8}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"bmi\":23.15}"
]
},
{
"role": "assistant",
"content_text": "你的身體質量指數(BMI)為 23.15。這被視為你身高的健康體重。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007540_45105a343399
|
[
{
"type": "function",
"function": {
"name": "analyze_image",
"description": "Analyze the content of an image",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"image_url\":{\"type\":\"string\",\"format\":\"uri\",\"description\":\"The URL of the image\"},\"features\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The features to analyze in the image\"}},\"required\":[\"image_url\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法為您預訂機票,因為那是外部任務,我沒有提供執行該任務的功能。我可以協助您分析圖片。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007541_27401e273045
|
[
{
"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_0007545_3c854bcdac57
|
[
{
"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 for which QR code needs to be generated\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the QR code\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我可以協助您處理與提供給我的功能相關的工作,例如為給定的文字產生 QR 碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007551_6c00938ebb66
|
[
{
"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 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_0007564_a51a123d98b7
|
[
{
"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_0007565_964256d0f411
|
[
{
"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": []
}
] |
full
|
ex_0007566_dbd0793160b1
|
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法幫你訂披薩,因為那是外部任務。我目前的功能僅能取得最新新聞標題。還有其他需要我協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007570_3e9488c80be1
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_interest",
"description": "Calculate the interest on a loan",
"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_duration\":{\"type\":\"integer\",\"description\":\"The duration of the loan in months\"}},\"required\":[\"loan_amount\",\"interest_rate\",\"loan_duration\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算一筆貸款的利息。貸款金額為 $50000,利率為 5%,貸款期限為 60 個月。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我為你計算一下。\nAI to=calculate_loan_interest: {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_duration\": 60}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"interest\":12500}"
]
},
{
"role": "assistant",
"content_text": "您貸款的利息將為 $12500。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007575_af268e1cb8ac
|
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"loan_amount\":{\"type\":\"number\",\"description\":\"The loan amount\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The interest rate\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The loan term 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_0007578_c45172447540
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on birthdate",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\",\"description\":\"The birthdate in format YYYY-MM-DD\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法協助處理這件事。我的目前能力僅限於提供給我的功能,而訂機票屬於我沒有相應功能的外部任務。不過,我可以根據出生日期來計算年齡。還有其他我能在能力範圍內幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007593_95bc50c89b7c
|
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on title or genre",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre 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": []
}
] |
ask_cut
|
ex_0007616_5d39042ab412
|
[
{
"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": "很抱歉,但我無法幫您訂電影票,因為那是外部任務,而且我沒有為該任務提供相關功能。不過,如果您願意,我可以提供有關電影「全面啟動」的資訊。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007679_1602e38cdec0
|
[
{
"type": "function",
"function": {
"name": "generate_random_password",
"description": "Generate a random password with specified length",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"integer\",\"description\":\"Length of the password\"}},\"required\":[\"length\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我從我最喜歡的餐廳訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助處理該項要求。我目前的能力僅限於我所被提供的功能。在這種情況下,我可以幫忙產生隨機密碼。訂購披薩屬於外部任務,目前我無法處理。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007718_a2551b4563f4
|
[
{
"type": "function",
"function": {
"name": "get_forecast_weather",
"description": "Get the weather forecast for the next 7 days",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and state, e.g. London, UK\"}},\"required\":[\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從最近的披薩店訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行該任務,因為它是外部任務,而且我沒有用於訂購食物的功能。我可以協助處理與我所提供功能相關的任務,例如取得未來 7 天的天氣預報。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007720_98379ce862ee
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"origin\":{\"type\":\"string\",\"description\":\"The origin 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_0007735_abd52486ef8e
|
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two points",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"point1\":{\"type\":\"object\",\"properties\":{\"latitude\":{\"type\":\"number\",\"description\":\"The latitude of the first point\"},\"longitude\":{\"type\":\"number\",\"description\":\"The longitude of the first point\"}},\"required\":[\"latitude\",\"longitude\"]},\"point2\":{\"type\":\"object\",\"properties\":{\"latitude\":{\"type\":\"number\",\"description\":\"The latitude of the second point\"},\"longitude\":{\"type\":\"number\",\"description\":\"The longitude of the second point\"}},\"required\":[\"latitude\",\"longitude\"]}},\"required\":[\"point1\",\"point2\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張從紐約到洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有預訂機票的能力。 我目前的功能是根據兩點的緯度和經度計算它們之間的距離。 如果你需要知道紐約和洛杉磯之間的距離,我可以幫忙。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007753_bc944cead5f0
|
[
{
"type": "function",
"function": {
"name": "calculate_gpa",
"description": "Calculate the Grade Point Average (GPA) based on grades and credit hours",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"grades\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The list of grades obtained\"},\"credit_hours\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},\"description\":\"The list of credit hours corresponding to each grade\"}},\"required\":[\"grades\",\"credit_hours\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法幫您訂機票。我的目前功能是根據成績與學分計算 GPA。還有其他我可以協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007763_9993d02f9715
|
[
{
"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\"}},\"required\":[\"price\",\"discount_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能,例如計算商品折扣。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007783_51c3db39dc14
|
[
{
"type": "function",
"function": {
"name": "generate_username",
"description": "Generate a unique username for a user",
"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_0007801_e63bc69beafa
|
[
{
"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 source language of the text\"},\"target_language\":{\"type\":\"string\",\"description\":\"The target language for the translation\"}},\"required\":[\"text\",\"target_language\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我從附近的披薩店訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這類的外部任務。我的目前功能允許我將文字從一種語言翻譯為另一種語言。如果你需要翻譯方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007810_ef0cc3da2af9
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount",
"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": "你可以幫我訂一張從紐約到洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票。我目前的功能僅限於提供給我的那些功能,例如計算帳單的小費金額。如果您需要這方面或任何其他在我能力範圍內的協助,請隨時告訴我。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007815_607535b8f46b
|
[
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price of a specific 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_0007867_6237a8a275d8
|
[
{
"type": "function",
"function": {
"name": "schedule_meeting",
"description": "Schedule a meeting with participants",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"meeting_title\":{\"type\":\"string\",\"description\":\"The title of the meeting\"},\"participants\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"The name of a participant\"}},\"date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The date of the meeting\"},\"time\":{\"type\":\"string\",\"format\":\"time\",\"description\":\"The time of the meeting\"}},\"required\":[\"meeting_title\",\"participants\",\"date\",\"time\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法替你訂披薩,因為那是外部任務。我目前的功能允許我安排會議。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007868_cdec2c481ae2
|
[
{
"type": "function",
"function": {
"name": "calculate_gpa",
"description": "Calculate the Grade Point Average (GPA) based on grades and credit hours",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"grades\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The grades for each course\"},\"credit_hours\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},\"description\":\"The credit hours for each course\"}},\"required\":[\"grades\",\"credit_hours\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助訂機票。我目前的功能僅限於系統提供的項目,例如根據成績和學分時數計算 GPA。如果你需要這方面或我其他功能的幫助,請隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007870_4a9fd270769c
|
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法替您訂機票。我的目前功能僅能產生隨機顏色。還有其他我能在能力範圍內協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0007890_219684f56e7f
|
[
{
"type": "function",
"function": {
"name": "calculate_total_price",
"description": "Calculate the total price of items in a shopping cart",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"product_name\":{\"type\":\"string\",\"description\":\"The name of the product\"},\"quantity\":{\"type\":\"integer\",\"description\":\"The quantity of the product\"},\"unit_price\":{\"type\":\"number\",\"description\":\"The unit price of the product\"}},\"required\":[\"product_name\",\"quantity\",\"unit_price\"]}}},\"required\":[\"items\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助處理該項請求。我目前的功能僅限於計算購物車中商品的總價。我無法預訂機票或執行其他外部任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007891_ceb7f773b73d
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a shape",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"shape\":{\"type\":\"string\",\"description\":\"The shape you want to calculate the area for\"},\"dimensions\":{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"number\",\"description\":\"The length of the shape\"},\"width\":{\"type\":\"number\",\"description\":\"The width of the shape\"},\"radius\":{\"type\":\"number\",\"description\":\"The radius of the shape\"}},\"required\":[\"length\",\"width\",\"radius\"]}},\"required\":[\"shape\",\"dimensions\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助那件事。我目前的能力僅限於計算圖形的面積。我沒有預訂機票或執行其他外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007894_d6d9337c7570
|
[
{
"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": []
}
] |
ask_cut
|
ex_0007907_3ba518dd08d9
|
[
{
"type": "function",
"function": {
"name": "schedule_meeting",
"description": "Schedule a meeting with participants and time",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"participants\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The participants of the meeting\"},\"date\":{\"type\":\"string\",\"description\":\"The date of the meeting\"},\"time\":{\"type\":\"string\",\"description\":\"The time of the meeting\"}},\"required\":[\"participants\",\"date\",\"time\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要在3月15日下午3點與 John 和 Sarah 安排會議。你可以幫我處理嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我為你安排會議。\nAI to= schedule_meeting {\"participants\": [\"John\", \"Sarah\"], \"date\": \"15th March\", \"time\": \"3 PM\"}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"status\":\"成功\",\"message\":\"已成功與 John 和 Sarah 安排在 3 月 15 日下午 3 點的會議\"}"
]
},
{
"role": "assistant",
"content_text": "會議已成功安排,與 John 和 Sarah 於 3 月 15 日下午 3 點舉行。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007917_7e0be3acc18e
|
[
{
"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 for the recipe search\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力幫忙訂機票。我目前的功能僅限於依據食材搜尋食譜。如果你需要這方面的協助,歡迎詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007942_1fe9de6812be
|
[
{
"type": "function",
"function": {
"name": "generate_random_number",
"description": "Generate a random number within a specified 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": []
}
] |
full
|
ex_0007943_d9457f11d5a1
|
[
{
"type": "function",
"function": {
"name": "play_music",
"description": "Play music based on user's preferences",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"genre\":{\"type\":\"string\",\"description\":\"The genre of music to play\"},\"mood\":{\"type\":\"string\",\"description\":\"The mood of music to play\"}},\"required\":[\"genre\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行該任務。我目前的功能僅限於根據您的喜好播放音樂。我沒有點餐或執行其他外部任務的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0007997_b66978552f28
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on user's preferences",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"genre\":{\"type\":\"string\",\"description\":\"The genre of the book\"},\"author\":{\"type\":\"string\",\"description\":\"The author of the book\"}},\"required\":[\"genre\",\"author\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於提供給我的功能。在這種情況下,我可以幫你根據你的偏好搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0008032_1ca56b9fa0a2
|
[
{
"type": "function",
"function": {
"name": "calculate_area",
"description": "Calculate the area of a rectangle",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"length\":{\"type\":\"number\",\"description\":\"The length of the rectangle\"},\"width\":{\"type\":\"number\",\"description\":\"The width of the rectangle\"}},\"required\":[\"length\",\"width\"]}"
}
}
] |
[
{
"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.