-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_data.jsonl
More file actions
100 lines (100 loc) · 66.4 KB
/
Copy pathexample_data.jsonl
File metadata and controls
100 lines (100 loc) · 66.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{"query": "I'm feeling a bit down. Can you tell me a joke to cheer me up?", "answers": [{"name": "get_random_joke", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "get_random_joke", "description": "Get a random joke", "parameters": {}}}]}
{"query": "Hi, I am planning a road trip. Can you tell me the distance between New York and Los Angeles?", "answers": [{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}}]}
{"query": "What is the definition of the word \"serendipity\"?", "answers": [{"name": "get_definition", "arguments": {"word": "serendipity"}}], "tools": [{"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a specific word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}}]}
{"query": "I need a new password. Can you generate one for me?", "answers": [{"name": "generate_random_password", "arguments": {"length": 12, "include_numbers": true, "include_special_characters": false}}], "tools": [{"type": "function", "function": {"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"}, "include_special_characters": {"type": "boolean", "description": "Include special characters in the password"}}, "required": ["length"]}}}]}
{"query": "I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. Can you tell me how much it will cost after the discount?", "answers": [{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}], "tools": [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}}]}
{"query": "Hi, can you tell me the current stock price for Tesla?", "answers": [{"name": "get_stock_price", "arguments": {"symbol": "TSLA"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price for a given stock symbol", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol (e.g., AAPL, GOOG, TSLA)"}}, "required": ["symbol"]}}}]}
{"query": "Hi, I need help with calculating the tip for my bill. The total bill is $100 and I want to leave a 15% tip.", "answers": [{"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}], "tools": [{"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the tip"}}, "required": ["bill_amount", "tip_percentage"]}}}, {"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two points", "parameters": {"type": "object", "properties": {"latitude1": {"type": "number", "description": "The latitude of the first point"}, "longitude1": {"type": "number", "description": "The longitude of the first point"}, "latitude2": {"type": "number", "description": "The latitude of the second point"}, "longitude2": {"type": "number", "description": "The longitude of the second point"}}, "required": ["latitude1", "longitude1", "latitude2", "longitude2"]}}}]}
{"query": "Hi, I would like to calculate my BMI. I am 1.75 meters tall and weigh 70 kilograms.", "answers": [{"name": "calculate_bmi", "arguments": {"height": 1.75, "weight": 70}}], "tools": [{"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}}]}
{"query": "I need to create a new user account.", "answers": [{"name": "create_user", "arguments": {"name": "John Doe", "email": "johndoe@example.com", "password": "123456"}}], "tools": [{"type": "function", "function": {"name": "create_user", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}, "email": {"type": "string", "format": "email", "description": "The email address of the user"}, "password": {"type": "string", "description": "The password for the user"}}, "required": ["name", "email", "password"]}}}]}
{"query": "Hi, I need a unique username for my new account. My name is John.", "answers": [{"name": "generate_username", "arguments": {"name": "John"}}], "tools": [{"type": "function", "function": {"name": "generate_username", "description": "Generate a unique username for a user", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}}, "required": ["name"]}}}]}
{"query": "I need a random number between 1 and 100.", "answers": [{"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"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"]}}}]}
{"query": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?", "answers": [{"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}], "tools": [{"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}}]}
{"query": "Hi, I need to encrypt a message using the AES algorithm. The message is \"Hello World\".", "answers": [{"name": "encrypt_text", "arguments": {"text": "Hello World", "algorithm": "AES"}}], "tools": [{"type": "function", "function": {"name": "encrypt_text", "description": "Encrypt a given text using a specific encryption algorithm", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encrypted"}, "algorithm": {"type": "string", "description": "The encryption algorithm to be used"}}, "required": ["text", "algorithm"]}}}]}
{"query": "I need to create a note for my meeting tomorrow.", "answers": [{"name": "create_note", "arguments": {"title": "Team Meeting", "content": "Discuss project updates, assign new tasks, review deadlines"}}], "tools": [{"type": "function", "function": {"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}}, {"type": "function", "function": {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"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"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}}]}
{"query": "Hi, I need a new password. Can you generate one for me?", "answers": [{"name": "generate_password", "arguments": {"length": 12}}], "tools": [{"type": "function", "function": {"name": "generate_password", "description": "Generate a random password with specified length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}}]}
{"query": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters.", "answers": [{"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}], "tools": [{"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate the BMI (Body Mass Index)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}}]}
{"query": "What's the current stock price of Apple?", "answers": [{"name": "get_stock_price", "arguments": {"company": "Apple"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price of a given company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}}]}
{"query": "Hi, I need to calculate the perimeter of a rectangle. The length is 10 units and the breadth is 5 units.", "answers": [{"name": "calculate_perimeter", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "breadth": 5}}}], "tools": [{"type": "function", "function": {"name": "calculate_perimeter", "description": "Calculate the perimeter of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape, e.g. square, rectangle, circle"}, "dimensions": {"type": "object", "description": "The dimensions of the shape"}}, "required": ["shape", "dimensions"]}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}}]}
{"query": "Hi, I need a new password. Can you generate a random one for me?", "answers": [{"name": "generate_random_password", "arguments": {"length": 12}}], "tools": [{"type": "function", "function": {"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}}, {"type": "function", "function": {"name": "analyze_image", "description": "Analyze the content of an image", "parameters": {"type": "object", "properties": {"image_url": {"type": "string", "description": "The URL of the image to be analyzed"}, "features": {"type": "array", "items": {"type": "string", "enum": ["labels", "faces", "text"]}, "description": "The features to analyze in the image"}}, "required": ["image_url", "features"]}}}]}
{"query": "What does the word 'serendipity' mean?", "answers": [{"name": "get_definition", "arguments": {"word": "serendipity"}}], "tools": [{"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get definition for"}}, "required": ["word"]}}}]}
{"query": "Hi, I need a barcode for my new product. Can you help me with that?", "answers": [{"name": "generate_barcode", "arguments": {"input": "1234567890", "format": "QR Code"}}], "tools": [{"type": "function", "function": {"name": "generate_barcode", "description": "Generate a barcode for a given input", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input data for the barcode"}, "format": {"type": "string", "description": "The barcode format (e.g. QR Code, Code 128)"}}, "required": ["input", "format"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "calculate_profit", "description": "Calculate the profit based on cost and selling price", "parameters": {"type": "object", "properties": {"cost_price": {"type": "number", "description": "The cost price of the product"}, "selling_price": {"type": "number", "description": "The selling price of the product"}}, "required": ["cost_price", "selling_price"]}}}]}
{"query": "I need a new password. Can you generate one for me?", "answers": [{"name": "generate_random_password", "arguments": {"length": 12, "include_symbols": true}}], "tools": [{"type": "function", "function": {"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "Length of the password"}, "include_symbols": {"type": "boolean", "description": "Include symbols in the password"}}, "required": ["length"]}}}]}
{"query": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?", "answers": [{"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}], "tools": [{"type": "function", "function": {"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to be converted from"}, "to_currency": {"type": "string", "description": "The currency to be converted to"}}, "required": ["amount", "from_currency", "to_currency"]}}}]}
{"query": "I am looking for a book but I can't remember the full title. It's something like \"To Kill a...\" and it's by Harper Lee. Can you help me find it?", "answers": [{"name": "search_book", "arguments": {"title": "To Kill a...", "author": "Harper Lee"}}], "tools": [{"type": "function", "function": {"name": "search_book", "description": "Search for a book based on title or author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}}, "required": ["title"]}}}, {"type": "function", "function": {"name": "calculate_future_value", "description": "Calculate the future value of an investment based on principal amount, interest rate, and time period", "parameters": {"type": "object", "properties": {"principal_amount": {"type": "number", "description": "The initial investment 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"]}}}]}
{"query": "Hi, I'm looking for some movie recommendations. I prefer action movies and I would like something from the 2000s.", "answers": [{"name": "get_movie_recommendations", "arguments": {"genre": "action", "year": 2000}}], "tools": [{"type": "function", "function": {"name": "get_movie_recommendations", "description": "Get movie recommendations based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred movie genre"}, "year": {"type": "integer", "description": "The preferred release year"}}, "required": ["genre", "year"]}}}]}
{"query": "Hi, I need some help with a loan I'm considering.", "answers": [{"name": "calculate_loan_payment", "arguments": {"principal": 200000, "interest_rate": 3.5, "loan_term": 30}}], "tools": [{"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["principal", "interest_rate", "loan_term"]}}}]}
{"query": "Hi, I need help with calculating the tip for my bill. The total amount is $50 and I want to leave a 15% tip.", "answers": [{"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}], "tools": [{"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount based on bill amount and tip percentage", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}}]}
{"query": "Hi, I need some help with calculating my loan payment.", "answers": [{"name": "calculate_loan_payment", "arguments": {"loan_amount": 50000, "interest_rate": 5, "loan_term": 10}}], "tools": [{"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount in dollars"}, "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"]}}}]}
{"query": "I need to schedule a meeting for tomorrow.", "answers": [{"name": "create_calendar_event", "arguments": {"title": "Project Discussion", "start_time": "10:00 AM", "end_time": "11:30 AM"}}], "tools": [{"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"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"}}, "required": ["title", "start_time", "end_time"]}}}, {"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two points", "parameters": {"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"]}}}]}
{"query": "Hey, I want to know the lyrics of the song \"Bohemian Rhapsody\" by Queen.", "answers": [{"name": "get_song_lyrics", "arguments": {"song_title": "Bohemian Rhapsody", "artist": "Queen"}}], "tools": [{"type": "function", "function": {"name": "get_song_lyrics", "description": "Get the lyrics of a specific song", "parameters": {"type": "object", "properties": {"song_title": {"type": "string", "description": "The title of the song to retrieve lyrics"}, "artist": {"type": "string", "description": "The artist of the song"}}, "required": ["song_title", "artist"]}}}]}
{"query": "Hi, can you help me with something?", "answers": [{"name": "generate_random_color", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "generate_random_color", "description": "Generate a random color", "parameters": {}}}]}
{"query": "I have some chicken, broccoli, and cheese. Can you find me a recipe?", "answers": [{"name": "search_recipe", "arguments": {"ingredients": ["chicken", "broccoli", "cheese"]}}], "tools": [{"type": "function", "function": {"name": "search_recipe", "description": "Search for a recipe based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}, "dietary_restrictions": {"type": "array", "items": {"type": "string"}, "description": "Any dietary restrictions to consider"}}, "required": ["ingredients"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_location", "end_location"]}}}]}
{"query": "I need to create a new event in my calendar.", "answers": [{"name": "create_calendar_event", "arguments": {"event_name": "Annual Sales Meeting", "event_date": "2022-06-15T10:00:00", "location": "Conference Room 1"}}], "tools": [{"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"event_name": {"type": "string", "description": "The name of the event"}, "event_date": {"type": "string", "format": "date-time", "description": "The date and time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["event_name", "event_date", "location"]}}}]}
{"query": "Hi, I would like to calculate my BMI. I am 1.75 meters tall and weigh 70 kilograms.", "answers": [{"name": "calculate_bmi", "arguments": {"height": 1.75, "weight": 70}}], "tools": [{"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}}]}
{"query": "Hey, can you tell me the current price of Apple's stock?", "answers": [{"name": "get_stock_price", "arguments": {"stock_symbol": "AAPL"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"stock_symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["stock_symbol"]}}}]}
{"query": "I am looking for a comedy movie from 2015 with actor Jim Carrey. Can you help me find it?", "answers": [{"name": "search_movies", "arguments": {"genre": "comedy", "year": 2015, "actor": "Jim Carrey"}}], "tools": [{"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on given criteria", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of the movies to search for"}, "year": {"type": "integer", "description": "The year of release of the movies to search for"}, "actor": {"type": "string", "description": "The actor in the movies to search for"}}, "required": ["genre", "year", "actor"]}}}, {"type": "function", "function": {"name": "search_jobs", "description": "Search for jobs based on a keyword and location", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}, "location": {"type": "string", "description": "The location of the jobs to filter by"}, "salary_range": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum salary range"}, "max": {"type": "number", "description": "The maximum salary range"}}, "required": ["min", "max"]}}, "required": ["keyword"]}}}]}
{"query": "Hi, I'm working on a design project and I need some inspiration. Can you generate a random color for me?", "answers": [{"name": "generate_random_color", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "generate_random_color", "description": "Generate a random color in hexadecimal format", "parameters": {}}}]}
{"query": "Hi, I need a new password. Can you generate one for me?", "answers": [{"name": "generate_password", "arguments": {"length": 10, "include_numbers": true, "include_symbols": true}}], "tools": [{"type": "function", "function": {"name": "generate_password", "description": "Generate a random password", "parameters": {"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"]}}}]}
{"query": "Hi, I need to calculate the area of a rectangle. The length is 10 units and the breadth is 5 units.", "answers": [{"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "breadth": 5}}}], "tools": [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The geometric shape (e.g., circle, rectangle, triangle)"}, "dimensions": {"type": "object", "description": "The dimensions required for calculating the area"}}, "required": ["shape", "dimensions"]}}}, {"type": "function", "function": {"name": "get_random_joke", "description": "Get a random joke", "parameters": {}}}]}
{"query": "Can you tell me about the movie \"Inception\" released in 2010?", "answers": [{"name": "get_movie_details", "arguments": {"title": "Inception", "year": 2010}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["title", "year"]}}}]}
{"query": "Hi, I have a sentence in French that I need translated to English. The sentence is \"Je suis tr\u00e8s heureux de vous rencontrer\".", "answers": [{"name": "translate_text", "arguments": {"text": "Je suis tr\u00e8s heureux de vous rencontrer", "source_language": "French", "target_language": "English"}}], "tools": [{"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another", "parameters": {"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"]}}}]}
{"query": "I need to send an email to my boss. Can you help me with that?", "answers": [{"name": "send_email", "arguments": {"recipient": "boss@company.com", "subject": "Monthly Report", "body": "Dear Boss, Please find attached the monthly report for your review. Best, [User]"}}], "tools": [{"type": "function", "function": {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "format": "email", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body/content of the email"}}, "required": ["recipient", "subject", "body"]}}}, {"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}}]}
{"query": "Hi, I want to create a new email address. Can you check if john.doe@example.com is available?", "answers": [{"name": "check_email_availability", "arguments": {"email": "john.doe@example.com"}}], "tools": [{"type": "function", "function": {"name": "check_email_availability", "description": "Check if an email address is available", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to check"}}, "required": ["email"]}}}]}
{"query": "Can you tell me about the movie \"Inception\" from 2010?", "answers": [{"name": "get_movie_details", "arguments": {"title": "Inception", "year": 2010}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The year of the movie"}}, "required": ["title", "year"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}}]}
{"query": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.", "answers": [{"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "width": 5}}}], "tools": [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a given shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (circle, rectangle, triangle)"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}, "base": {"type": "number", "description": "The base of the shape"}, "height": {"type": "number", "description": "The height of the shape"}, "radius": {"type": "number", "description": "The radius of the shape"}}, "required": ["length", "width", "base", "height", "radius"]}}, "required": ["shape", "dimensions"]}}}]}
{"query": "Hi, I need to convert a temperature from Fahrenheit to Celsius. The temperature is 98.6 degrees Fahrenheit.", "answers": [{"name": "convert_temperature", "arguments": {"temperature": 98.6, "from_unit": "Fahrenheit", "to_unit": "Celsius"}}], "tools": [{"type": "function", "function": {"name": "convert_temperature", "description": "Convert temperature from one unit to another", "parameters": {"type": "object", "properties": {"temperature": {"type": "number", "description": "The temperature value"}, "from_unit": {"type": "string", "description": "The current unit of temperature"}, "to_unit": {"type": "string", "description": "The desired unit of temperature"}}, "required": ["temperature", "from_unit", "to_unit"]}}}]}
{"query": "Can you get me the latest sports news?", "answers": [{"name": "get_news", "arguments": {"category": "sports"}}], "tools": [{"type": "function", "function": {"name": "get_news", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to retrieve, e.g. sports, politics"}}, "required": ["category"]}}}]}
{"query": "I need some inspiration. Can you share a quote with me?", "answers": [{"name": "generate_random_quote", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "generate_random_quote", "description": "Generate a random quote from a collection of quotes", "parameters": {}}}, {"type": "function", "function": {"name": "create_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "format": "date", "description": "The date of the event"}, "time": {"type": "string", "format": "time", "description": "The time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "date", "time"]}}}]}
{"query": "I need to calculate the area of a rectangle. The length is 5 units and the width is 3 units.", "answers": [{"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 5, "width": 3}}}], "tools": [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (e.g., rectangle, circle, triangle)"}, "dimensions": {"type": "object", "description": "The dimensions of the shape", "properties": {"length": {"type": "number", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}, "radius": {"type": "number", "description": "The radius of the shape"}, "base": {"type": "number", "description": "The base of the shape"}, "height": {"type": "number", "description": "The height of the shape"}}, "required": ["length", "width", "radius", "base", "height"]}}, "required": ["shape", "dimensions"]}}}]}
{"query": "Hi, can you tell me the current stock price of Apple?", "answers": [{"name": "get_stock_price", "arguments": {"company": "Apple"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}}, {"type": "function", "function": {"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_symbols": {"type": "boolean", "description": "Include symbols in the password"}}, "required": ["length"]}}}]}
{"query": "I need to send an email to my boss. Can you help me with that?", "answers": [{"name": "send_email", "arguments": {"recipient": "boss@company.com", "subject": "Project Update", "message": "Dear Boss, The project is on track and we are set to complete it by the end of this week. Regards, [User]"}}], "tools": [{"type": "function", "function": {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"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"]}}}, {"type": "function", "function": {"name": "check_email_availability", "description": "Check the availability of an email address", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to be checked"}}, "required": ["email"]}}}]}
{"query": "I saw a dress that I liked. It was priced at $100 and there's a 20% discount on it. Can you tell me how much it would cost after the discount?", "answers": [{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}], "tools": [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}}]}
{"query": "Hey, I want to know the lyrics of the song 'Imagine' by John Lennon.", "answers": [{"name": "get_song_lyrics", "arguments": {"artist": "John Lennon", "title": "Imagine"}}], "tools": [{"type": "function", "function": {"name": "get_song_lyrics", "description": "Get the lyrics of a song", "parameters": {"type": "object", "properties": {"artist": {"type": "string", "description": "The artist of the song"}, "title": {"type": "string", "description": "The title of the song"}}, "required": ["artist", "title"]}}}, {"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}}]}
{"query": "Hi, can you help me with something?", "answers": [{"name": "get_random_fact", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "get_random_fact", "description": "Get a random fact", "parameters": {"type": "object", "properties": {}, "required": []}}}]}
{"query": "Hey, can you check if \"racecar\" is a palindrome?", "answers": [{"name": "check_palindrome", "arguments": {"text": "racecar"}}], "tools": [{"type": "function", "function": {"name": "check_palindrome", "description": "Check if a given string is a palindrome", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be checked"}}, "required": ["text"]}}}]}
{"query": "Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?", "answers": [{"name": "convert_currency", "arguments": {"from_currency": "USD", "to_currency": "EUR", "amount": 1000}}], "tools": [{"type": "function", "function": {"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}, "amount": {"type": "number", "description": "The amount to convert"}}, "required": ["from_currency", "to_currency", "amount"]}}}]}
{"query": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.", "answers": [{"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "width": 5}}}], "tools": [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (e.g. circle, rectangle, triangle)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "number", "description": "The radius of the circle"}, "length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}, "base": {"type": "number", "description": "The base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}}}, "required": ["shape", "dimensions"]}}}]}
{"query": "What's the current price of Apple stock?", "answers": [{"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol"}}, "required": ["symbol"]}}}]}
{"query": "Hi, I need help with calculating the tip for my bill. The total amount is $100 and I want to give a 15% tip.", "answers": [{"name": "calculate_tip", "arguments": {"bill_total": 100, "tip_percentage": 15}}], "tools": [{"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_total", "tip_percentage"]}}}, {"type": "function", "function": {"name": "check_website_availability", "description": "Check the availability of a website", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL of the website to check"}}, "required": ["url"]}}}]}
{"query": "I need a random number between 1 and 100.", "answers": [{"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"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"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the user's calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_date": {"type": "string", "format": "date-time", "description": "The start date and time of the event"}, "end_date": {"type": "string", "format": "date-time", "description": "The end date and time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "start_date", "end_date", "location"]}}}]}
{"query": "Hi, I need a new password. Can you generate one for me?", "answers": [{"name": "generate_password", "arguments": {"length": 12}}], "tools": [{"type": "function", "function": {"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The desired length of the password"}}, "required": ["length"]}}}, {"type": "function", "function": {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the todo item"}, "priority": {"type": "string", "enum": ["low", "medium", "high"], "description": "The priority of the todo item"}}, "required": ["title", "due_date", "priority"]}}}]}
{"query": "Hi, I need some help with calculating my loan payment.", "answers": [{"name": "calculate_loan_payment", "arguments": {"loan_amount": 50000, "interest_rate": 5, "loan_term": 60}}], "tools": [{"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"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 months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2"]}}}, {"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The year of release of the movie"}}, "required": ["title", "year"]}}}]}
{"query": "Can you tell me about the movie \"Inception\"?", "answers": [{"name": "get_movie_details", "arguments": {"title": "Inception"}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a specific movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}}]}
{"query": "Hi, can you tell me the current stock price of Apple?", "answers": [{"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock, e.g. AAPL"}}, "required": ["symbol"]}}}]}
{"query": "Can you tell me about the movie \"Inception\"?", "answers": [{"name": "get_movie_details", "arguments": {"movie_title": "Inception"}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"movie_title": {"type": "string", "description": "The title of the movie"}}, "required": ["movie_title"]}}}]}
{"query": "I need to create a new task in my to-do list.", "answers": [{"name": "create_todo", "arguments": {"task": "buy groceries", "priority": "high"}}], "tools": [{"type": "function", "function": {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "priority": {"type": "string", "enum": ["low", "medium", "high"], "description": "The priority of the task"}}, "required": ["task", "priority"]}}}]}
{"query": "I am looking for a book but I can't remember the title. The author's name is George Orwell.", "answers": [{"name": "search_books", "arguments": {"author": "George Orwell"}}], "tools": [{"type": "function", "function": {"name": "search_books", "description": "Search for books based on title, author or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for books"}, "author": {"type": "string", "description": "The author of the books to search for"}, "genre": {"type": "string", "description": "The genre of the books to search for"}}}}}]}
{"query": "Hi, I need to convert 500 USD to EUR. Can you help me with that?", "answers": [{"name": "convert_currency", "arguments": {"amount": 500, "from_currency": "USD", "to_currency": "EUR"}}], "tools": [{"type": "function", "function": {"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The original currency"}, "to_currency": {"type": "string", "description": "The target currency"}}, "required": ["amount", "from_currency", "to_currency"]}}}]}
{"query": "I'm bored. Can you tell me something interesting?", "answers": [{"name": "get_random_fact", "arguments": {}}], "tools": [{"type": "function", "function": {"name": "get_random_fact", "description": "Get a random fact from a predefined list", "parameters": {}}}, {"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"product_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["product_price", "discount_percentage"]}}}]}
{"query": "Hi, can you get me the latest news in sports?", "answers": [{"name": "get_news", "arguments": {"category": "sports"}}], "tools": [{"type": "function", "function": {"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to retrieve", "enum": ["politics", "sports", "entertainment"]}}, "required": ["category"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}}, {"type": "function", "function": {"name": "search_books", "description": "Search for books based on title, author, or genre", "parameters": {"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"}}}}}]}
{"query": "I am in New York and I am craving for some Italian food. Can you help me find a restaurant?", "answers": [{"name": "search_restaurants", "arguments": {"location": "New York", "cuisine": "Italian"}}], "tools": [{"type": "function", "function": {"name": "search_restaurants", "description": "Search for restaurants based on location or cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The cuisine type to filter the restaurants"}}}}}]}
{"query": "Hi, can you tell me the current stock price of Apple?", "answers": [{"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}], "tools": [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol of the company, e.g. AAPL"}}, "required": ["symbol"]}}}]}
{"query": "Can you generate an invoice for John Doe? He bought 3 pens at $2 each and 2 notebooks at $5 each. The tax rate is 5%.", "answers": [{"name": "generate_invoice", "arguments": {"customer_name": "John Doe", "items": [{"name": "pen", "quantity": 3, "price": 2}, {"name": "notebook", "quantity": 2, "price": 5}], "tax_rate": 5}}], "tools": [{"type": "function", "function": {"name": "generate_invoice", "description": "Generate an invoice for a customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "items": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}, "price": {"type": "number", "description": "The price of the item"}}, "required": ["name", "quantity", "price"]}}, "tax_rate": {"type": "number", "description": "The tax rate to apply"}}, "required": ["customer_name", "items", "tax_rate"]}}}]}
{"query": "Hi, I need to create an event in my calendar for a meeting next week.", "answers": [{"name": "create_calendar_event", "arguments": {"title": "Project Discussion", "start_time": "2022-04-15T10:00:00Z", "end_time": "2022-04-15T12:00:00Z", "location": "main office"}}], "tools": [{"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "format": "date-time", "description": "The start time of the event in ISO 8601 format"}, "end_time": {"type": "string", "format": "date-time", "description": "The end time of the event in ISO 8601 format"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "start_time", "end_time"]}}}]}
{"query": "Hi, I want to know if product 1234 is available in stock?", "answers": [{"name": "check_stock_availability", "arguments": {"product_id": 1234}}], "tools": [{"type": "function", "function": {"name": "check_stock_availability", "description": "Check the availability of a product in stock", "parameters": {"type": "object", "properties": {"product_id": {"type": "integer", "description": "The ID of the product"}}, "required": ["product_id"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_date": {"type": "string", "description": "The start date of the event in the format YYYY-MM-DD"}, "end_date": {"type": "string", "description": "The end date of the event in the format YYYY-MM-DD"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "start_date", "end_date", "location"]}}}]}
{"query": "Hi, I need a random number between 1 and 100.", "answers": [{"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "The minimum value for the random number"}, "max": {"type": "integer", "description": "The maximum value for the random number"}}, "required": ["min", "max"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_location", "end_location"]}}}]}
{"query": "Hi, I need help calculating my GPA. I have my grades for this semester.", "answers": [{"name": "calculate_gpa", "arguments": {"grades": [{"course": "Calculus", "grade": "A"}, {"course": "Physics", "grade": "B"}, {"course": "English", "grade": "A-"}, {"course": "History", "grade": "B+"}]}}], "tools": [{"type": "function", "function": {"name": "calculate_gpa", "description": "Calculate the GPA (Grade Point Average)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"course": {"type": "string", "description": "The name of the course"}, "grade": {"type": "string", "description": "The grade obtained in the course"}}, "required": ["course", "grade"]}}}, "required": ["grades"]}}}, {"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}}]}
{"query": "I am looking for a job in software development in San Francisco.", "answers": [{"name": "search_jobs", "arguments": {"keyword": "software development", "location": "San Francisco"}}], "tools": [{"type": "function", "function": {"name": "search_jobs", "description": "Search for job opportunities", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in job titles"}, "location": {"type": "string", "description": "The location of the job"}, "company": {"type": "string", "description": "The company offering the job"}}, "required": ["keyword"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}}]}
{"query": "Can you tell me about the movie \"Inception\"?", "answers": [{"name": "get_movie_details", "arguments": {"movie_title": "Inception"}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"movie_title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["movie_title"]}}}]}
{"query": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip. Can you help me with that?", "answers": [{"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}], "tools": [{"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to tip"}}, "required": ["bill_amount", "tip_percentage"]}}}]}
{"query": "I am in New York and I am craving for Italian food. Can you suggest some restaurants?", "answers": [{"name": "search_restaurants", "arguments": {"location": "New York", "cuisine": "Italian"}}], "tools": [{"type": "function", "function": {"name": "search_restaurants", "description": "Search for restaurants based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The cuisine to search for"}}, "required": ["location", "cuisine"]}}}]}
{"query": "I need to send an email to my boss about the meeting tomorrow.", "answers": [{"name": "send_email", "arguments": {"recipient": "boss@company.com", "subject": "Meeting Agenda for Tomorrow", "body": "Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]"}}], "tools": [{"type": "function", "function": {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body of the email"}}, "required": ["recipient", "subject", "body"]}}}]}
{"query": "I need to calculate the area of a circle with a radius of 5.", "answers": [{"name": "calculate_area", "arguments": {"shape": "circle", "dimensions": {"radius": 5}}}], "tools": [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape (e.g., circle, rectangle, triangle)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "number", "description": "The radius of the circle"}, "length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}, "base": {"type": "number", "description": "The base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}, "required": ["radius"]}}, "required": ["shape", "dimensions"]}}}]}
{"query": "I need a random number between 1 and 100.", "answers": [{"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"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"]}}}]}
{"query": "Hi, I was born on 1990-05-15. Can you tell me how old I am?", "answers": [{"name": "calculate_age", "arguments": {"date_of_birth": "1990-05-15"}}], "tools": [{"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on the date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth in the format YYYY-MM-DD"}}, "required": ["date_of_birth"]}}}]}
{"query": "Hi, I need to know the distance between New York and Los Angeles.", "answers": [{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}], "tools": [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}}]}
{"query": "Can you tell me about the movie \"Inception\" released in 2010?", "answers": [{"name": "get_movie_details", "arguments": {"title": "Inception", "year": 2010}}], "tools": [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The year of release of the movie"}}, "required": ["title", "year"]}}}, {"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"price": {"type": "number", "description": "The original price of the item"}, "discount": {"type": "number", "description": "The discount percentage"}}, "required": ["price", "discount"]}}}]}
{"query": "Hi, I need a unique username for my new account. My name is John Doe.", "answers": [{"name": "generate_username", "arguments": {"name": "John Doe"}}], "tools": [{"type": "function", "function": {"name": "generate_username", "description": "Generate a unique username", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name to generate username from"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "create_account", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username for the account"}, "password": {"type": "string", "description": "The password for the account"}, "email": {"type": "string", "description": "The email address for the account"}}, "required": ["username", "password", "email"]}}}]}
{"query": "Hi, I would like to read some news. Can you fetch me some articles related to technology from the United States?", "answers": [{"name": "get_news_articles", "arguments": {"category": "technology", "country": "United States"}}], "tools": [{"type": "function", "function": {"name": "get_news_articles", "description": "Get the latest news articles based on user's preferences", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The preferred news category"}, "country": {"type": "string", "description": "The country for which news articles should be fetched"}}, "required": ["category", "country"]}}}]}
{"query": "I need a random number between 1 and 100.", "answers": [{"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"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"]}}}]}
{"query": "I need a random number between 1 and 100.", "answers": [{"name": "get_random_number", "arguments": {"min": 1, "max": 100}}], "tools": [{"type": "function", "function": {"name": "get_random_number", "description": "Get a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum value for the random number"}, "max": {"type": "number", "description": "The maximum value for the random number"}}, "required": ["min", "max"]}}}]}
{"query": "I'm looking for a recipe. Can you help me?", "answers": [{"name": "search_recipe", "arguments": {"keyword": "chicken", "cuisine": "Italian", "diet": "low-carb"}}], "tools": [{"type": "function", "function": {"name": "search_recipe", "description": "Search for a recipe", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword for recipe search"}, "cuisine": {"type": "string", "description": "The cuisine of the recipe"}, "diet": {"type": "string", "description": "The diet type of the recipe"}}, "required": ["keyword"]}}}]}