id
stringlengths 23
23
| tools
listlengths 1
1
| messages
listlengths 2
8
| label_kind
stringclasses 2
values |
|---|---|---|---|
ex_0005226_3dd004bc5673
|
[
{
"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\":\"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_0005231_034d1f752f37
|
[
{
"type": "function",
"function": {
"name": "create_calendar_event",
"description": "Create a new calendar event",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the event\"},\"start_time\":{\"type\":\"string\",\"description\":\"The start time of the event\"},\"end_time\":{\"type\":\"string\",\"description\":\"The end time of the event\"},\"location\":{\"type\":\"string\",\"description\":\"The location 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_0005234_66a93c04da76
|
[
{
"type": "function",
"function": {
"name": "calculate_interest",
"description": "Calculate the interest earned on a principal amount",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"principal_amount\":{\"type\":\"number\",\"description\":\"The principal amount\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate\"},\"time_period\":{\"type\":\"integer\",\"description\":\"The time period in years\"}},\"required\":[\"principal_amount\",\"interest_rate\",\"time_period\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算在本金 $5000、年利率 5%、期間 3 年下我會獲得多少利息。你可以幫我嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫您處理這件事。讓我們來計算吧。\n\nAI to=calculate_interest: {\"principal_amount\": 5000, \"interest_rate\": 5, \"time_period\": 3}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"interest\":750}"
]
},
{
"role": "assistant",
"content_text": "根據所提供的資料,若本金為 $5000、年利率為 5%、期間為 3 年,所能獲得的利息為 $750。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005247_41e696ff817f
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount based on bill total",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"bill_total\":{\"type\":\"number\",\"description\":\"The total amount of the bill\"},\"tip_percentage\":{\"type\":\"number\",\"description\":\"The percentage of tip to calculate\"}},\"required\":[\"bill_total\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我預訂一張從紐約飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂航班。我的目前功能僅限於系統提供的那些,例如根據帳單總額計算小費金額。如果你需要在這方面或其他我能執行的功能上取得協助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005259_1800b6028633
|
[
{
"type": "function",
"function": {
"name": "search_jobs",
"description": "Search for job listings based on keywords and location",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The keywords to search for\"},\"location\":{\"type\":\"string\",\"description\":\"The location to search for jobs\"},\"job_type\":{\"type\":\"string\",\"description\":\"The type of job (e.g. full-time, part-time)\"}},\"required\":[\"keywords\",\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我做一杯咖啡嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像是幫你泡一杯咖啡等實體的工作。我可以協助你處理屬於我功能範圍內的任務,例如根據關鍵字與地點搜尋職缺。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005307_35267084dd56
|
[
{
"type": "function",
"function": {
"name": "get_definition",
"description": "Get the definition of a word",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"The word to get the definition for\"}},\"required\":[\"word\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。 我目前的能力僅限於提供給我的功能。在這種情況下,我可以提供詞語的定義。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005320_58819ae82fba
|
[
{
"type": "function",
"function": {
"name": "calculate_shipping_cost",
"description": "Calculate the shipping cost based on weight and destination",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"weight\":{\"type\":\"number\",\"description\":\"The weight of the package in kilograms\"},\"destination\":{\"type\":\"string\",\"description\":\"The destination address\"}},\"required\":[\"weight\",\"destination\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法幫您預訂機票。我目前的能力僅限於根據重量和目的地計算運費。如果您需要這方面的幫助,請隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005324_f34f5c57bdab
|
[
{
"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 random number\"},\"max\":{\"type\":\"integer\",\"description\":\"The maximum value of the random number\"}},\"required\":[\"min\",\"max\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於在指定範圍內產生隨機數。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005329_fc2125ae4acc
|
[
{
"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\"},\"unit\":{\"type\":\"string\",\"description\":\"The unit of distance (e.g. miles, kilometers)\"}},\"required\":[\"origin\",\"destination\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你能告訴我紐約和洛杉磯之間相距多少英里嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n好的,讓我為你計算。\nAI to=calculate_distance: {\"origin\": \"New York\", \"destination\": \"Los Angeles\", \"unit\": \"miles\"}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"distance\":2448.54}"
]
},
{
"role": "assistant",
"content_text": "紐約和洛杉磯之間的距離約為 2448.54 英里。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005340_f078dd311732
|
[
{
"type": "function",
"function": {
"name": "create_task",
"description": "Create a new task",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the task\"},\"due_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The due date of the task\"},\"priority\":{\"type\":\"string\",\"enum\":[\"low\",\"medium\",\"high\"],\"description\":\"The priority of the task\"}},\"required\":[\"title\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助那件事。我的能力僅限於提供給我的功能。目前,我可以幫你建立具有標題、到期日和優先順序的任務。訂購披薩是外部的任務,超出我能處理的範圍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005343_de1bcc11e4e3
|
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount based on the bill total and tip 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": "你可以幫我訂一張從紐約到洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助預訂機票,因為這是外部任務。我目前的能力僅限於提供給我的功能。例如,我可以幫你根據帳單總額和小費百分比計算小費金額。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005352_4d4093b7595f
|
[
{
"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\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the QR code in pixels\"}},\"required\":[\"data\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助這件事。我目前的功能僅能為給定資料產生 QR 碼。我沒有下訂單或執行外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005378_bf54024d94e8
|
[
{
"type": "function",
"function": {
"name": "identify_language",
"description": "Identify the language of a given text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to identify the language\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的現有能力僅限於提供給我的功能。例如,我可以辨識給定文字的語言。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005394_59cf36d743a5
|
[
{
"type": "function",
"function": {
"name": "search_recipes_by_ingredients",
"description": "Search for recipes based on available ingredients",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients available for cooking\"},\"diet\":{\"type\":\"string\",\"enum\":[\"vegetarian\",\"vegan\",\"gluten-free\",\"dairy-free\",\"nut-free\"],\"description\":\"The dietary restrictions to consider\"},\"max_prep_time\":{\"type\":\"integer\",\"description\":\"The maximum preparation time for the recipe\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "我家有一些番茄、洋蔥和義大利麵。你可以幫我找一個可以在30分鐘內做好的食譜嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫忙。讓我們為你找一個食譜。\nAI to= search_recipes_by_ingredients: {\"ingredients\": [\"tomatoes\", \"onions\", \"pasta\"], \"max_prep_time\": 30}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"recipes\":[{\"name\":\"番茄義大利麵\",\"prep_time\":20,\"ingredients\":[\"番茄\",\"洋蔥\",\"義大利麵\"],\"instructions\":\"把義大利麵煮熟。 在另一個鍋子中,將洋蔥和番茄快炒。 將義大利麵與炒好的蔬菜拌勻,趁熱上桌。\"}]}"
]
},
{
"role": "assistant",
"content_text": "我為你找到了一個食譜。你可以做番茄義大利麵(Pasta Pomodoro)。準備時間約20分鐘。以下是做法:把義大利麵煮熟。在另一個鍋子裡,把洋蔥和番茄炒香。將義大利麵和炒好的蔬菜拌勻,趁熱享用。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005406_9da3b19fb4ac
|
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment based on loan amount, interest rate, and loan term",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"loan_amount\":{\"type\":\"number\",\"description\":\"The total 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": "嗨,我需要一些關於我的房貸的幫助。我有一筆 $200,000 的貸款,年利率為 5%,貸款期限為 30 年。你可以幫我計算每月的房貸還款金額嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你處理這件事。讓我為你計算。\nAI to=calculate_mortgage_payment: {\"loan_amount\": 200000, \"interest_rate\": 5, \"loan_term\": 30}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"monthly_payment\":1073.64}"
]
},
{
"role": "assistant",
"content_text": "根據您提供的資訊,您的每月房貸付款約為 $1073.64。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005416_668244b04951
|
[
{
"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 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_0005427_02e3409316c3
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI) based on height and weight",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"},\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"}},\"required\":[\"height\",\"weight\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算我的身體質量指數(BMI)。我的身高是1.75公尺,體重是70公斤。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n當然,我可以幫你處理。讓我為你計算一下。\nAI to=calculate_bmi: {\"height\": 1.75, \"weight\": 70}\n---",
"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_0005449_bc8274d812b1
|
[
{
"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_0005479_ca1ca78db035
|
[
{
"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\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"from\",\"to\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我有100美元。換算成歐元會是多少?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "讓我幫你查一下目前的匯率。\nAI to=convert_currency: {\"amount\": 100, \"from\": \"USD\", \"to\": \"EUR\"}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"converted_amount\":85.0,\"from\":\"美元\",\"to\":\"歐元\"}"
]
},
{
"role": "assistant",
"content_text": "根據目前的匯率,100 美元約為 85 歐元。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005484_fbdc5436efde
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the date of birth",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"date_of_birth\":{\"type\":\"string\",\"description\":\"The date of birth\"}},\"required\":[\"date_of_birth\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你能幫我訂機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有預訂機票的能力。我目前的功能是根據出生日期計算年齡。還有其他您想知道的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0005494_8374f288e1bb
|
[
{
"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\"},\"include_symbols\":{\"type\":\"boolean\",\"description\":\"Include symbols in the password\"}},\"required\":[\"length\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這類的外部任務。我的目前功能允許我為你產生隨機密碼。還有其他需要我協助的地方嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0005503_fa1030f63c89
|
[
{
"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 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_0005541_113e6cd864f3
|
[
{
"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\",\"description\":\"The due date of the todo item (YYYY-MM-DD)\"}},\"required\":[\"title\",\"description\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助那件事。我目前的能力僅限於建立待辦事項。我沒有下訂單或執行外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005566_025173733d34
|
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage 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_0005571_103bc2081c45
|
[
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert one currency to another",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"amount\":{\"type\":\"number\",\"description\":\"The amount to convert\"},\"from\":{\"type\":\"string\",\"description\":\"The currency to convert from\"},\"to\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"from\",\"to\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助預訂機票。我目前的能力僅限於系統提供的功能,其中包括貨幣兌換。如果您需要貨幣兌換或其他我具備的功能的協助,請隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005594_23b78890b7a6
|
[
{
"type": "function",
"function": {
"name": "get_definition",
"description": "Get the definition of a word",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"The word to get the definition of\"}},\"required\":[\"word\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助這件事。我目前的能力僅限於提供詞語的定義。我沒有下訂單或執行外部任務的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005609_710bdea6e448
|
[
{
"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 list of ingredients\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張飛往紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力預訂機票。我目前的功能允許我根據食材搜尋食譜。如果你需要這方面的幫助,隨時可以問我!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005620_6af42c7dab97
|
[
{
"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_0005640_281a04b2e9a0
|
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given value",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\",\"description\":\"The value to encode as a QR code\"}},\"required\":[\"value\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助處理那件事。我目前的功能僅限於產生 QR 碼。我沒有訂機票的功能。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005690_cea952d550b3
|
[
{
"type": "function",
"function": {
"name": "translate_text",
"description": "Translate text",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The text to translate\"},\"source_language\":{\"type\":\"string\",\"description\":\"The source language\"},\"target_language\":{\"type\":\"string\",\"description\":\"The target language\"}},\"required\":[\"text\",\"source_language\",\"target_language\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助那件事。我目前的能力僅限於將文字從一種語言翻譯成另一種語言。我沒有執行像訂披薩這類外部任務的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005693_19db5e6a537b
|
[
{
"type": "function",
"function": {
"name": "get_song_lyrics",
"description": "Get the lyrics of a song",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"artist\":{\"type\":\"string\",\"description\":\"The artist of the song\"},\"title\":{\"type\":\"string\",\"description\":\"The title of the song\"}},\"required\":[\"artist\",\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力執行像訂購披薩這類的外部任務。我可以協助您處理與我可用的功能相關的任務,例如擷取歌曲歌詞。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005752_404752483866
|
[
{
"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": []
}
] |
full
|
ex_0005759_f695a23c1d14
|
[
{
"type": "function",
"function": {
"name": "create_calendar_event",
"description": "Create a calendar event with specified details",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the event\"},\"start_time\":{\"type\":\"string\",\"description\":\"The start time of the event in yyyy-mm-dd hh:mm format\"},\"end_time\":{\"type\":\"string\",\"description\":\"The end time of the event in yyyy-mm-dd hh:mm format\"}},\"required\":[\"title\",\"start_time\",\"end_time\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉, 我沒有能力執行像訂披薩這類的外部任務。我可以協助您處理與我所提供的功能相關的任務,例如建立行事曆事件。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005760_e440341155c4
|
[
{
"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 of currency to be converted\"},\"from_currency\":{\"type\":\"string\",\"description\":\"The currency to convert from, e.g. USD\"},\"to_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to, e.g. EUR\"}},\"required\":[\"amount\",\"from_currency\",\"to_currency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法幫您預訂機票。我的目前能力僅限於提供給我的那些功能,例如貨幣換算。如果您需要這方面的幫助或任何與我功能相關的其他資訊,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005773_dde170948e07
|
[
{
"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\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The cuisine type to filter the recipes\"},\"diet\":{\"type\":\"string\",\"description\":\"The diet 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_0005775_2e908ac11a20
|
[
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age in years",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"birth_date\":{\"type\":\"string\",\"description\":\"The birth date in YYYY-MM-DD format\"}},\"required\":[\"birth_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你好,如果我出生於1990-05-15,你能告訴我現在幾歲嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n好的,讓我幫你算一下。\nAI to=calculate_age: {\"birth_date\": \"1990-05-15\"}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"age\":31}"
]
},
{
"role": "assistant",
"content_text": "根據您提供的出生日期,您是31歲。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005795_5db47465caea
|
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像幫你訂披薩這類的外部任務。我的目前能力僅限於提供給我的功能。在這種情況下,我可以提供一則隨機名言。你想聽一則嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0005815_3f7b15deaebc
|
[
{
"type": "function",
"function": {
"name": "calculate_fuel_cost",
"description": "Calculate the cost of fuel for a trip",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"distance\":{\"type\":\"number\",\"description\":\"The distance of the trip in miles\"},\"fuel_efficiency\":{\"type\":\"number\",\"description\":\"The fuel efficiency of the vehicle in miles per gallon\"},\"fuel_price\":{\"type\":\"number\",\"description\":\"The price of fuel per gallon\"}},\"required\":[\"distance\",\"fuel_efficiency\",\"fuel_price\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我正在規劃一趟公路旅行,需要計算旅程的燃料費用。距離為500英里,車輛油耗為25英里/加侖,目前油價為每加侖3美元。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "---\n當然,我可以幫你處理。讓我為你計算一下。\nAI to=calculate_fuel_cost: {\"distance\": 500, \"fuel_efficiency\": 25, \"fuel_price\": 3}\n---",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"fuel_cost\":60}"
]
},
{
"role": "assistant",
"content_text": "您此行的燃料費約為 $60。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005828_10200002938e
|
[
{
"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": []
}
] |
ask_cut
|
ex_0005844_d03d9aba3ada
|
[
{
"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_0005852_feaf13e1562e
|
[
{
"type": "function",
"function": {
"name": "search_products",
"description": "Search for products based on keyword or category",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"keyword\":{\"type\":\"string\",\"description\":\"The keyword to search for products\"},\"category\":{\"type\":\"string\",\"description\":\"The desired category of products\"}},\"required\":[\"keyword\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "我在找一台新的筆電。你可以幫我找一些選項嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你處理這個。讓我們開始搜尋。\n<functioncall> {\"name\": \"search_products\", \"arguments\": '{\"keyword\": \"laptop\"}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"products\":[{\"name\":\"戴爾 XPS 15\",\"price\":\"$1500\",\"rating\":\"4.5\"},{\"name\":\"MacBook Pro\",\"price\":\"$2000\",\"rating\":\"4.7\"},{\"name\":\"惠普 Spectre x360\",\"price\":\"$1300\",\"rating\":\"4.4\"}]}"
]
},
{
"role": "assistant",
"content_text": "Here are some options I found:\n1. Dell XPS 15, 價格為 $1500,評分為 4.5\n2. MacBook Pro, 價格為 $2000,評分為 4.7\n3. HP Spectre x360, 價格為 $1300,評分為 4.4\n您想要知道更多關於這些選項的任何資訊嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "user",
"content_text": "你能在遊戲類別中找到一些選項嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "好的,我們來為你找一些電競筆電。\n<functioncall> {\"name\": \"search_products\", \"arguments\": '{\"keyword\": \"gaming laptop\"}'}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"products\":[{\"name\":\"Alienware M15 R3\",\"price\":\"$1800\",\"rating\":\"4.6\"},{\"name\":\"華碩 ROG Zephyrus G14\",\"price\":\"$1450\",\"rating\":\"4.7\"},{\"name\":\"Razer Blade 15\",\"price\":\"$1600\",\"rating\":\"4.5\"}]}"
]
},
{
"role": "assistant",
"content_text": "這裡有我找到的一些遊戲筆電:\n1. Alienware M15 R3,價格 $1800,評分 4.6\n2. Asus ROG Zephyrus G14,價格 $1450,評分 4.7\n3. Razer Blade 15,價格 $1600,評分 4.5\n你想進一步了解其中任何一款嗎?",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005868_5d2885f7997b
|
[
{
"type": "function",
"function": {
"name": "check_palindrome",
"description": "Check if a word or phrase is a palindrome",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"The word or phrase to check\"}},\"required\":[\"text\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的現有功能只允許我檢查一個單字或片語是否為回文。還有其他在我能力範圍內可以幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0005883_b0fd92f27d6c
|
[
{
"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 convert\"},\"source_currency\":{\"type\":\"string\",\"description\":\"The currency of the amount\"},\"target_currency\":{\"type\":\"string\",\"description\":\"The currency to convert to\"}},\"required\":[\"amount\",\"source_currency\",\"target_currency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像預訂機票這類的外部任務。我的目前能力僅限於提供給我的功能。在這種情況下,我可以協助進行貨幣兌換。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005900_aa3e45579c8b
|
[
{
"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\"},\"birth_year\":{\"type\":\"integer\",\"description\":\"The birth year of the user\"}},\"required\":[\"first_name\",\"last_name\",\"birth_year\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂航班,因為那是外部任務,我沒有為該特定任務提供相應的功能。我目前的功能僅能生成獨特的使用者名稱。還有其他在我能力範圍內可以幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0005927_317bfc315cd8
|
[
{
"type": "function",
"function": {
"name": "calculate_sales_tax",
"description": "Calculate the sales tax amount for a purchase",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"purchase_amount\":{\"type\":\"number\",\"description\":\"The total purchase amount\"},\"tax_rate\":{\"type\":\"number\",\"description\":\"The sales tax rate\"}},\"required\":[\"purchase_amount\",\"tax_rate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票,因為那屬於外部任務,我沒有提供可用來執行該任務的功能。不過我可以幫你計算購買的銷售稅。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005940_52c3d242fe98
|
[
{
"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 total amount of the loan\"},\"interest_rate\":{\"type\":\"number\",\"description\":\"The annual interest rate for the loan\"},\"loan_term\":{\"type\":\"integer\",\"description\":\"The term of the loan in months\"}},\"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_0005960_d4abd34b5b59
|
[
{
"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 the tip\"}},\"required\":[\"bill_amount\",\"tip_percentage\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我預訂一張從紐約飛往洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助預訂機票,因為那是外部任務,而且我沒有提供執行該任務的功能。我可以協助像計算帳單小費金額這類的任務。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0005997_380e83779a5b
|
[
{
"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 point 1\"},\"longitude\":{\"type\":\"number\",\"description\":\"The longitude of point 1\"}},\"required\":[\"latitude\",\"longitude\"]},\"point2\":{\"type\":\"object\",\"properties\":{\"latitude\":{\"type\":\"number\",\"description\":\"The latitude of point 2\"},\"longitude\":{\"type\":\"number\",\"description\":\"The longitude of point 2\"}},\"required\":[\"latitude\",\"longitude\"]}},\"required\":[\"point1\",\"point2\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往洛杉磯的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像預訂機票這類的外部任務。我可以協助與我可使用的功能相關的工作。例如,如果你提供緯度和經度,我可以計算兩點之間的距離。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006003_486338d1accf
|
[
{
"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 to be played\"}},\"required\":[\"sound_name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法協助那件事。我目前的能力僅限於我被賦予的功能。在這種情況下,我可以為你播放聲音。訂購披薩是需要外部處理的任務,我不具備處理它的能力。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006004_a266404e6397
|
[
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send an email to a recipient",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"The email address of the recipient\"},\"subject\":{\"type\":\"string\",\"description\":\"The subject of the email\"},\"message\":{\"type\":\"string\",\"description\":\"The content of the email\"}},\"required\":[\"recipient\",\"subject\",\"message\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我的目前能力僅限於系統提供給我的功能。在這種情況下,我可以協助發送電子郵件。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006005_01b3d8ea81c5
|
[
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send an email to a recipient",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"The email address of the recipient\"},\"subject\":{\"type\":\"string\",\"description\":\"The subject of the email\"},\"message\":{\"type\":\"string\",\"description\":\"The content of the email\"}},\"required\":[\"recipient\",\"subject\",\"message\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助這項事宜。訂機票屬於外部作業,我沒有提供執行該作業的功能。我可以協助發送電子郵件。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006016_f9cf053c290a
|
[
{
"type": "function",
"function": {
"name": "search_book",
"description": "Search for a book using its title or author",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"book_title\":{\"type\":\"string\",\"description\":\"The title of the book\"},\"author\":{\"type\":\"string\",\"description\":\"The author of the book\"}},\"required\":[\"book_title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於提供給我的功能,例如使用書名或作者搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006017_2ef87383b3d7
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate BMI (Body Mass Index) based on height and weight",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"},\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"}},\"required\":[\"height\",\"weight\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助處理這件事。我目前的能力僅限於提供給我的功能,而訂機票是外部的任務,我沒有相關的功能。不過,如果你提供身高和體重,我可以幫你計算 BMI。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006026_92bdaa052bfc
|
[
{
"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 annual 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_0006027_baef1ec68498
|
[
{
"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 translation\"}},\"required\":[\"text\",\"source_language\",\"target_language\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我有一句法文需要翻譯成英文。這句話是 \"Je suis très heureux de vous rencontrer\".",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你處理。讓我幫你翻譯。\nAI to=translate_text>: {\"text\": \"Je suis très heureux de vous rencontrer\", \"source_language\": \"fr\", \"target_language\": \"en\"}",
"tool_uses": [],
"tool_results": []
},
{
"role": "tool",
"content_text": "",
"tool_uses": [],
"tool_results": [
"{\"translated_text\":\"很高興認識你\"}"
]
},
{
"role": "assistant",
"content_text": "句子 \"Je suis très heureux de vous rencontrer\" 翻譯成英文是 \"I am very happy to meet you\"。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006035_b9ac9be512ed
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI) based on height and weight",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"height\":{\"type\":\"number\",\"description\":\"The height in meters\"},\"weight\":{\"type\":\"number\",\"description\":\"The weight in kilograms\"}},\"required\":[\"height\",\"weight\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,我需要計算我的 BMI。我身高 1.75 公尺,體重 70 公斤。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然,我可以幫你。讓我為你計算一下。\nAI to=calculate_bmi: {\"height\": 1.75, \"weight\": 70}",
"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_0006052_ae473c66cb14
|
[
{
"type": "function",
"function": {
"name": "find_nearby_places",
"description": "Find nearby places based on location and type",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location to search near\"},\"place_type\":{\"type\":\"string\",\"description\":\"The type of place to search for\"}},\"required\":[\"location\",\"place_type\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我點一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂購披薩這類的外部任務。我的目前能力僅限於提供給我的功能。在這種情況下,我可以幫你根據位置和類型尋找附近的地點。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006060_57aba8f9c203
|
[
{
"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_0006099_a9dcd9af6859
|
[
{
"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\"}},\"required\":[\"keywords\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂披薩這類的外部任務。我的功能僅限於提供給我的那些。在這種情況下,我可以幫你根據關鍵字或作者搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006103_002520a857b6
|
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate 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_0006112_466bb714d25b
|
[
{
"type": "function",
"function": {
"name": "calculate_fuel_consumption",
"description": "Calculate the fuel consumption based on distance and fuel efficiency",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"distance\":{\"type\":\"number\",\"description\":\"The distance traveled\"},\"fuel_efficiency\":{\"type\":\"number\",\"description\":\"The fuel efficiency in miles per gallon\"}},\"required\":[\"distance\",\"fuel_efficiency\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂披薩這類的外部任務。我的能力僅限於提供給我的功能。在這種情況下,我可以協助根據距離與燃油效率計算燃料消耗。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006141_a2b52d34f071
|
[
{
"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 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": "嗨,我有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.0,\"from_currency\":\"美元\",\"to_currency\":\"歐元\"}"
]
},
{
"role": "assistant",
"content_text": "從 100 USD 轉換為 EUR 的金額為 85.00 EUR.",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006148_e862e504be9a
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on title or author",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the book\"},\"author\":{\"type\":\"string\",\"description\":\"The author of the book\"}}}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我目前的能力僅限於提供給我的功能,在這個情況下是根據書名或作者搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006211_f3137f85e9da
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on a keyword",
"parameters_json": "{\"type\":\"string\",\"description\":\"The keyword to search for\"}"
}
}
] |
[
{
"role": "user",
"content_text": "嗨,你可以幫我找一本好書來讀嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "當然可以!請問你能提供一個關鍵字或你感興趣的特定類型嗎?我就可以使用 'search_books' 函式幫你找一本書。",
"tool_uses": [],
"tool_results": []
},
{
"role": "user",
"content_text": "我對推理小說感興趣。",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "太好了!讓我使用 'search_books' 函式,將 'mystery' 設為關鍵字。\n\n[AI 呼叫函式]",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006212_994ec3225978
|
[
{
"type": "function",
"function": {
"name": "generate_random_number",
"description": "Generate a random number within a range",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"min\":{\"type\":\"integer\",\"description\":\"The minimum value\"},\"max\":{\"type\":\"integer\",\"description\":\"The maximum value\"}},\"required\":[\"min\",\"max\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的目前能力僅限於提供給我的功能,例如在指定範圍內產生隨機數字。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006233_77dda482fa5b
|
[
{
"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\"},\"exchange\":{\"type\":\"string\",\"description\":\"The stock exchange where the company is listed\"}},\"required\":[\"company\",\"exchange\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力目前限於提供給我的功能,例如取得股票價格。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006240_df1446996059
|
[
{
"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_0006291_f874339234a6
|
[
{
"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 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_0006303_b10114b467c9
|
[
{
"type": "function",
"function": {
"name": "get_notes",
"description": "Get all saved notes",
"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_0006312_ba2a09a69b7b
|
[
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password with specified length",
"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": "抱歉,我無法執行像訂披薩之類的外部任務。\n我目前的能力僅限於提供給我的功能,例如產生密碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006323_83c5fda0540e
|
[
{
"type": "function",
"function": {
"name": "calculate_loan_repayment",
"description": "Calculate the monthly repayment amount 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 loan term in months\"}},\"required\":[\"principal\",\"interest_rate\",\"loan_term\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張去紐約的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我目前無法協助預訂機票,因為那是外部任務,而且我沒有提供執行該任務的功能。不過,如果你需要,我可以協助你計算貸款還款。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006331_f091fa8106a7
|
[
{
"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": []
}
] |
full
|
ex_0006344_ac3414faea5e
|
[
{
"type": "function",
"function": {
"name": "generate_username",
"description": "Generate a unique username based on the user's name",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"first_name\":{\"type\":\"string\",\"description\":\"The user's first name\"},\"last_name\":{\"type\":\"string\",\"description\":\"The user's last name\"}},\"required\":[\"first_name\",\"last_name\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我無法協助預訂航班,因為那屬於外部任務,我並沒有提供執行此類任務的功能。不過,我可以根據你的名字幫你產生一個獨特的使用者名稱。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006349_05f2f55e0c4b
|
[
{
"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 碼。如果你需要為任何文字產生 QR 碼,我很樂意協助。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006355_0705b7d54853
|
[
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"task\":{\"type\":\"string\",\"description\":\"The task description\"},\"due_date\":{\"type\":\"string\",\"description\":\"The due date of the task\"}},\"required\":[\"task\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力限於提供給我的功能。在這種情況下,我可以協助你建立一個待辦事項。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006375_6065630e2ae7
|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on given criteria",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"ingredients\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"The ingredients to include in the recipe\"},\"cuisine\":{\"type\":\"string\",\"description\":\"The cuisine type\"},\"dietary_restrictions\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Any dietary restrictions to consider\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從最近的披薩店訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法執行像訂購食物這類的外部操作。我的功能只限於系統提供的範圍。在這種情況下,我可以幫你根據指定的食材、料理類型和飲食限制搜尋披薩食譜。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006379_962cf53ee861
|
[
{
"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 list of ingredients\"}},\"required\":[\"ingredients\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我目前沒有預訂機票的功能。我能提供的功能是根據食材搜尋食譜。如果你需要這方面的幫助,請隨時告訴我!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006400_79db90ab760b
|
[
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"task\":{\"type\":\"string\",\"description\":\"The task to be added to the todo list\"},\"due_date\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"The due date of the task\"}},\"required\":[\"task\",\"due_date\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。依我目前的功能,我可以協助建立新的待辦事項。如果你需要提醒自己訂披薩,我可以把它加入你的待辦清單。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006401_6bf8d3df1561
|
[
{
"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_0006413_8408f6d8774f
|
[
{
"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 annual 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_0006415_4bb7b6a00cbc
|
[
{
"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 headlines (optional)\"},\"country\":{\"type\":\"string\",\"description\":\"The country for which to retrieve news headlines (optional)\"}}}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像替你訂披薩這類的外部任務。我的能力目前僅限於擷取最新的新聞標題。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006420_e4b27fa112f2
|
[
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke from a joke database",
"parameters_json": "{}"
}
}
] |
[
{
"role": "user",
"content_text": "嘿,你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我沒有能力執行像訂披薩這類的外部任務。我目前能做的是提供一則隨機笑話。你想聽一則嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0006433_57805ac00b26
|
[
{
"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_0006457_4ab586a463f3
|
[
{
"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": []
}
] |
full
|
ex_0006462_2c17c5da2dbf
|
[
{
"type": "function",
"function": {
"name": "search_hotels",
"description": "Search for hotels based on location, dates, and number of guests",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location to search for hotels\"},\"check_in_date\":{\"type\":\"string\",\"description\":\"The check-in date in YYYY-MM-DD format\"},\"check_out_date\":{\"type\":\"string\",\"description\":\"The check-out date in YYYY-MM-DD format\"},\"guests\":{\"type\":\"integer\",\"description\":\"The number of guests\"}},\"required\":[\"location\",\"check_in_date\",\"check_out_date\",\"guests\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你能幫我訂一張從紐約到倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我目前無法預訂航班。我目前可用的功能是根據地點、日期和旅客人數搜尋飯店。如果您需要這方面的協助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006483_d5916138d5ae
|
[
{
"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_date\":{\"type\":\"string\",\"description\":\"The start date of the event\"},\"end_date\":{\"type\":\"string\",\"description\":\"The end date of the event\"},\"location\":{\"type\":\"string\",\"description\":\"The location of the event\"}},\"required\":[\"title\",\"start_date\",\"end_date\",\"location\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力執行像訂披薩這類的外部任務。我的功能僅限於提供給我的那些,例如建立行事曆事件。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006515_27bb388a9f30
|
[
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password with specified length",
"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_0006539_723523ebc346
|
[
{
"type": "function",
"function": {
"name": "generate_random_number",
"description": "Generate a random number within a specified range",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"min\":{\"type\":\"number\",\"description\":\"The minimum value of the range\"},\"max\":{\"type\":\"number\",\"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_0006544_8c7f15e71ae9
|
[
{
"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\"},\"include_numbers\":{\"type\":\"boolean\",\"description\":\"Include numbers in the password\"},\"include_symbols\":{\"type\":\"boolean\",\"description\":\"Include symbols in the password\"}},\"required\":[\"length\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,我沒有能力執行像訂披薩這類的外部任務。我目前的功能僅能根據所提供的參數產生隨機密碼。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006548_85eeae30475c
|
[
{
"type": "function",
"function": {
"name": "calculate_fibonacci_sequence",
"description": "Calculate the Fibonacci sequence up to a given number",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"integer\",\"description\":\"The maximum number in the sequence\"}},\"required\":[\"limit\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂披薩這類的外部任務。我的能力僅限於提供給我的功能。在這種情況下,我可以幫你計算斐波那契數列到給定的數字為止。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006557_f285fc6fd34c
|
[
{
"type": "function",
"function": {
"name": "search_movie",
"description": "Search for a specific movie",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"The title of the movie\"},\"year\":{\"type\":\"integer\",\"description\":\"The year of release of the movie\"},\"genre\":{\"type\":\"string\",\"description\":\"The genre of the movie\"}}}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法執行像訂購披薩這類的外部任務。我的能力目前僅限於提供給我的功能,例如搜尋特定電影。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006575_ab5121b4ef0c
|
[
{
"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 of the person\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我無法協助那項事務。我的目前能力僅限於系統提供的功能,而訂機票是個外部任務,我沒有相應的功能。我可以協助根據出生日期計算年齡。還有其他在我能力範圍內可以幫忙的事嗎?",
"tool_uses": [],
"tool_results": []
}
] |
ask_cut
|
ex_0006587_c4463f8ae2c6
|
[
{
"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": []
}
] |
full
|
ex_0006594_a5cb03ea634a
|
[
{
"type": "function",
"function": {
"name": "check_email",
"description": "Check if an email address is valid",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"email_address\":{\"type\":\"string\",\"description\":\"The email address to check\"}},\"required\":[\"email_address\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我從紐約訂一張飛往倫敦的機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,我沒有能力幫忙訂機票。我目前的功能可以檢查電子郵件地址是否有效。如果你需要這方面的幫助,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006605_fdc1515a3feb
|
[
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"string\",\"description\":\"The category of news\"}},\"required\":[\"category\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "很抱歉,但我無法協助這件事。訂購披薩屬於外部任務,而我沒有可用於該任務的功能。如果你願意,我可以提供最新的新聞。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006636_ba261c9ab4ed
|
[
{
"type": "function",
"function": {
"name": "get_definition",
"description": "Get the definition of a word",
"parameters_json": "{\"type\":\"object\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"The word to get the definition for\"}},\"required\":[\"word\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一張機票嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我沒有預訂機票的能力。我目前的功能是提供單字的定義。如果你需要定義,歡迎隨時詢問!",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006639_7d0f8739b9b9
|
[
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price based on original price and discount percentage",
"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 to be applied\"}},\"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,\"savings\":40}"
]
},
{
"role": "assistant",
"content_text": "這件洋裝折扣後要價$160。你將省下$40。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006666_fee154ba9593
|
[
{
"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_0006667_fbc17e8765d8
|
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on the given criteria",
"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\":[\"title\"]}"
}
}
] |
[
{
"role": "user",
"content_text": "你可以幫我訂一個披薩嗎?",
"tool_uses": [],
"tool_results": []
},
{
"role": "assistant",
"content_text": "抱歉,但我無法執行像訂披薩這類的外部任務。我目前的能力僅限於系統提供的功能,例如根據指定條件搜尋書籍。",
"tool_uses": [],
"tool_results": []
}
] |
full
|
ex_0006720_1738e66102f6
|
[
{
"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 of the person\"}},\"required\":[\"birthdate\"]}"
}
}
] |
[
{
"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.