Dynamic-Function-Calling-Agent / tool_pairs_large.jsonl
jlov7's picture
feat: Multi-tool selection and robustness testing
6639f75
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get current stock price for a ticker\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"ticker\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"ticker\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nWhat's Tesla stock trading at?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_stock_price\", \"arguments\": {\"ticker\": \"TSLA\"}}", "rejected": "I'll check the current stock price for TSLA. Let me get that information for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get current stock price for a ticker\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"ticker\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"ticker\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nCheck the price of Bitcoin<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_stock_price\", \"arguments\": {\"ticker\": \"BTC-USD\"}}", "rejected": "I'll check the current stock price for BTC-USD. Let me get that information for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get current stock price for a ticker\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"ticker\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"ticker\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nWhat's Apple's current price?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_stock_price\", \"arguments\": {\"ticker\": \"AAPL\"}}", "rejected": "I'll check the current stock price for AAPL. Let me get that information for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get current stock price for a ticker\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"ticker\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"ticker\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nHow much is Microsoft worth?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_stock_price\", \"arguments\": {\"ticker\": \"MSFT\"}}", "rejected": "I'll check the current stock price for MSFT. Let me get that information for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get current stock price for a ticker\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"ticker\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"ticker\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nGet Netflix stock price<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_stock_price\", \"arguments\": {\"ticker\": \"NFLX\"}}", "rejected": "I'll check the current stock price for NFLX. Let me get that information for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"transfer_money\",\n \"description\": \"Transfer money between accounts\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"from_account\": {\n \"type\": \"string\"\n },\n \"to_account\": {\n \"type\": \"string\"\n },\n \"amount\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"from_account\",\n \"to_account\",\n \"amount\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nSend $500 from my checking to savings<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"transfer_money\", \"arguments\": {\"from_account\": \"checking\", \"to_account\": \"savings\", \"amount\": 500}}", "rejected": "I'll help you transfer $500 from checking to savings. Let me process that transaction."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"transfer_money\",\n \"description\": \"Transfer money between accounts\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"from_account\": {\n \"type\": \"string\"\n },\n \"to_account\": {\n \"type\": \"string\"\n },\n \"amount\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"from_account\",\n \"to_account\",\n \"amount\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nTransfer 1000 euros from account A to account B<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"transfer_money\", \"arguments\": {\"from_account\": \"A\", \"to_account\": \"B\", \"amount\": 1000}}", "rejected": "I'll help you transfer $1000 from A to B. Let me process that transaction."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"transfer_money\",\n \"description\": \"Transfer money between accounts\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"from_account\": {\n \"type\": \"string\"\n },\n \"to_account\": {\n \"type\": \"string\"\n },\n \"amount\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"from_account\",\n \"to_account\",\n \"amount\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nMove $250 from wallet to investment account<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"transfer_money\", \"arguments\": {\"from_account\": \"wallet\", \"to_account\": \"investment\", \"amount\": 250}}", "rejected": "I'll help you transfer $250 from wallet to investment. Let me process that transaction."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_email\",\n \"description\": \"Send an email message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"to\": {\n \"type\": \"string\"\n },\n \"subject\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"type\": \"string\"\n },\n \"cc\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"to\",\n \"subject\",\n \"body\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nEmail John about the project deadline<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_email\", \"arguments\": {\"to\": \"john@company.com\", \"subject\": \"Project Deadline\", \"body\": \"Hi John, wanted to discuss the upcoming project deadline.\"}}", "rejected": "I'll send an email to john@company.com with the subject 'Project Deadline'. Let me compose that message for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_email\",\n \"description\": \"Send an email message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"to\": {\n \"type\": \"string\"\n },\n \"subject\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"type\": \"string\"\n },\n \"cc\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"to\",\n \"subject\",\n \"body\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nSend Sarah the meeting notes<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_email\", \"arguments\": {\"to\": \"sarah@team.com\", \"subject\": \"Meeting Notes\", \"body\": \"Hi Sarah, here are the notes from today's meeting.\"}}", "rejected": "I'll send an email to sarah@team.com with the subject 'Meeting Notes'. Let me compose that message for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_email\",\n \"description\": \"Send an email message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"to\": {\n \"type\": \"string\"\n },\n \"subject\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"type\": \"string\"\n },\n \"cc\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"to\",\n \"subject\",\n \"body\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nMessage the team about tomorrow's standup<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_email\", \"arguments\": {\"to\": \"team@company.com\", \"subject\": \"Standup Tomorrow\", \"body\": \"Reminder: standup meeting tomorrow at 9am.\"}}", "rejected": "I'll send an email to team@company.com with the subject 'Standup Tomorrow'. Let me compose that message for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_sms\",\n \"description\": \"Send SMS text message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"phone\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"phone\",\n \"message\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nText mom that I'll be late<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_sms\", \"arguments\": {\"phone\": \"+1234567890\", \"message\": \"Running late, will be there in 20 minutes\"}}", "rejected": "I'll send a text message to +1234567890. Let me send that SMS for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_sms\",\n \"description\": \"Send SMS text message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"phone\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"phone\",\n \"message\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nSend SMS to 555-0123 saying meeting is cancelled<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_sms\", \"arguments\": {\"phone\": \"555-0123\", \"message\": \"Meeting cancelled\"}}", "rejected": "I'll send a text message to 555-0123. Let me send that SMS for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"send_sms\",\n \"description\": \"Send SMS text message\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"phone\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"phone\",\n \"message\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nMessage Bob at +1987654321 about dinner plans<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"send_sms\", \"arguments\": {\"phone\": \"+1987654321\", \"message\": \"Are we still on for dinner tonight?\"}}", "rejected": "I'll send a text message to +1987654321. Let me send that SMS for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"query_database\",\n \"description\": \"Execute SQL query on database\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\"\n },\n \"database\": {\n \"type\": \"string\"\n },\n \"limit\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nFind all users who signed up last week<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"query_database\", \"arguments\": {\"query\": \"SELECT * FROM users WHERE created_at >= DATE_SUB(NOW(), INTERVAL 1 WEEK)\"}}", "rejected": "I'll run a database query to find all users who signed up last week. Let me execute that SQL for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"query_database\",\n \"description\": \"Execute SQL query on database\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\"\n },\n \"database\": {\n \"type\": \"string\"\n },\n \"limit\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nGet top 10 selling products<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"query_database\", \"arguments\": {\"query\": \"SELECT product_name, SUM(quantity) as total_sales FROM orders GROUP BY product_name ORDER BY total_sales DESC LIMIT 10\"}}", "rejected": "I'll run a database query to get top 10 selling products. Let me execute that SQL for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"query_database\",\n \"description\": \"Execute SQL query on database\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\"\n },\n \"database\": {\n \"type\": \"string\"\n },\n \"limit\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nShow revenue by month this year<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"query_database\", \"arguments\": {\"query\": \"SELECT MONTH(order_date) as month, SUM(total) as revenue FROM orders WHERE YEAR(order_date) = YEAR(NOW()) GROUP BY MONTH(order_date)\"}}", "rejected": "I'll run a database query to show revenue by month this year. Let me execute that SQL for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_file\",\n \"description\": \"Create a new file with content\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"filename\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"string\"\n },\n \"encoding\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filename\",\n \"content\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nCreate a file called report.txt with the quarterly results<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_file\", \"arguments\": {\"filename\": \"report.txt\", \"content\": \"Q3 2024 Quarterly Results\n\nRevenue: $2.5M\nGrowth: 15%\"}}", "rejected": "I'll create the file report.txt with your content. Let me write that file for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_file\",\n \"description\": \"Create a new file with content\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"filename\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"string\"\n },\n \"encoding\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filename\",\n \"content\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nMake a new file notes.md with meeting summary<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_file\", \"arguments\": {\"filename\": \"notes.md\", \"content\": \"# Meeting Summary\n\n- Discussed project timeline\n- Reviewed budget\n- Next steps assigned\"}}", "rejected": "I'll create the file notes.md with your content. Let me write that file for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_file\",\n \"description\": \"Create a new file with content\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"filename\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"string\"\n },\n \"encoding\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filename\",\n \"content\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nCreate config.json with default settings<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_file\", \"arguments\": {\"filename\": \"config.json\", \"content\": \"{\"debug\": false, \"port\": 8080, \"host\": \"localhost\"}\"}}", "rejected": "I'll create the file config.json with your content. Let me write that file for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_weather\",\n \"description\": \"Get weather information for location\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\"\n },\n \"units\": {\n \"type\": \"string\",\n \"enum\": [\n \"celsius\",\n \"fahrenheit\"\n ]\n },\n \"forecast_days\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"location\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nWhat's the weather in San Francisco?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_weather\", \"arguments\": {\"location\": \"San Francisco\"}}", "rejected": "I'll check the current weather conditions in San Francisco for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_weather\",\n \"description\": \"Get weather information for location\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\"\n },\n \"units\": {\n \"type\": \"string\",\n \"enum\": [\n \"celsius\",\n \"fahrenheit\"\n ]\n },\n \"forecast_days\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"location\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nCheck weather for Tokyo in celsius<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_weather\", \"arguments\": {\"location\": \"Tokyo\"}}", "rejected": "I'll check the current weather conditions in Tokyo for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"get_weather\",\n \"description\": \"Get weather information for location\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\"\n },\n \"units\": {\n \"type\": \"string\",\n \"enum\": [\n \"celsius\",\n \"fahrenheit\"\n ]\n },\n \"forecast_days\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"location\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nHow's the weather in London today?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"get_weather\", \"arguments\": {\"location\": \"London\"}}", "rejected": "I'll check the current weather conditions in London for you."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate tip amount for bill\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"bill_amount\": {\n \"type\": \"number\"\n },\n \"tip_percentage\": {\n \"type\": \"number\"\n },\n \"split_ways\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"bill_amount\",\n \"tip_percentage\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nWhat's 20% tip on $85?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 85, \"tip_percentage\": 20}}", "rejected": "I'll calculate the 20% tip on $85 for you. Let me do that math."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate tip amount for bill\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"bill_amount\": {\n \"type\": \"number\"\n },\n \"tip_percentage\": {\n \"type\": \"number\"\n },\n \"split_ways\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"bill_amount\",\n \"tip_percentage\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nCalculate 15% tip for a $42 bill<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 42, \"tip_percentage\": 15}}", "rejected": "I'll calculate the 15% tip on $42 for you. Let me do that math."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate tip amount for bill\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"bill_amount\": {\n \"type\": \"number\"\n },\n \"tip_percentage\": {\n \"type\": \"number\"\n },\n \"split_ways\": {\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"bill_amount\",\n \"tip_percentage\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nHow much tip for $156 at 18%?<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 156, \"tip_percentage\": 18}}", "rejected": "I'll calculate the 18% tip on $156 for you. Let me do that math."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_reminder\",\n \"description\": \"Create a reminder for specific time\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"datetime\": {\n \"type\": \"string\"\n },\n \"priority\": {\n \"type\": \"string\",\n \"enum\": [\n \"low\",\n \"medium\",\n \"high\"\n ]\n }\n },\n \"required\": [\n \"title\",\n \"datetime\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nRemind me to call mom tomorrow at 6pm<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_reminder\", \"arguments\": {\"title\": \"Call mom\", \"datetime\": \"tomorrow 6pm\"}}", "rejected": "I'll set up a reminder for Call mom at tomorrow 6pm."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_reminder\",\n \"description\": \"Create a reminder for specific time\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"datetime\": {\n \"type\": \"string\"\n },\n \"priority\": {\n \"type\": \"string\",\n \"enum\": [\n \"low\",\n \"medium\",\n \"high\"\n ]\n }\n },\n \"required\": [\n \"title\",\n \"datetime\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nSet reminder for dentist appointment Friday 2pm<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_reminder\", \"arguments\": {\"title\": \"Dentist appointment\", \"datetime\": \"Friday 2pm\"}}", "rejected": "I'll set up a reminder for Dentist appointment at Friday 2pm."}
{"prompt": "<|im_start|>system\nYou are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>\n\n<schema>\n{\n \"name\": \"create_reminder\",\n \"description\": \"Create a reminder for specific time\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"datetime\": {\n \"type\": \"string\"\n },\n \"priority\": {\n \"type\": \"string\",\n \"enum\": [\n \"low\",\n \"medium\",\n \"high\"\n ]\n }\n },\n \"required\": [\n \"title\",\n \"datetime\"\n ]\n }\n}\n</schema>\n\n<|im_start|>user\nRemind me about the meeting on Monday 9am<|im_end|>\n<|im_start|>assistant\n", "chosen": "{\"name\": \"create_reminder\", \"arguments\": {\"title\": \"Team meeting\", \"datetime\": \"Monday 9am\"}}", "rejected": "I'll set up a reminder for Team meeting at Monday 9am."}