Dataset Viewer
messages
listlengths 3
13
|
---|
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_median\",\n \"description\": \"Calculate the median of a list of numbers\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"numbers\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"number\"\n },\n \"description\": \"The list of numbers\"\n }\n },\n \"required\": [\n \"numbers\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I have a list of numbers and I need to find the median. The numbers are 5, 2, 9, 1, 7, 4, 6, 3, 8.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": [
5,
2,
9,
1,
7,
4,
6,
3,
8
],
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_median"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"median\": 5}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "The median of your list of numbers is 5.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_age\",\n \"description\": \"Calculate the age based on the date of birth\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"date_of_birth\": {\n \"type\": \"string\",\n \"format\": \"date\",\n \"description\": \"The date of birth\"\n }\n },\n \"required\": [\n \"date_of_birth\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, can you tell me how old I am if I was born on 1990-05-15?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Sure, let me calculate that for you.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": "1990-05-15",
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_age"
},
"id": "call_0",
"type": "function"
}
]
},
{
"content": "{\"age\": 31}",
"role": "tool",
"tool_call_id": "call_0",
"tool_calls": null
},
{
"content": "Based on the date of birth you provided, you are 31 years old.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Great, thanks! Can you also book a flight for me to New York next week?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but as an AI, I don't have the capability to book flights or perform external tasks. I can only provide information based on the functions available to me. Currently, I can calculate age based on the date of birth.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_discount\",\n \"description\": \"Calculate the discounted price of a product\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"original_price\": {\n \"type\": \"number\",\n \"description\": \"The original price of the product\"\n },\n \"discount_percentage\": {\n \"type\": \"number\",\n \"description\": \"The discount percentage\"\n }\n },\n \"required\": [\n \"original_price\",\n \"discount_percentage\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I saw a dress that I liked. It was originally priced at $100 but it's on sale for 20% off. Can you tell me how much it will cost after the discount?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": 20,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": 100,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_discount"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"discounted_price\": 80}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "The dress will cost you $80 after the 20% discount.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "That's a good deal! What about a pair of shoes that was originally $75 but now has a 15% discount?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": 15,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": 75,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_discount"
},
"id": "call_2",
"type": "function"
}
]
},
{
"content": "{\"discounted_price\": 63.75}",
"role": "tool",
"tool_call_id": "call_2",
"tool_calls": null
},
{
"content": "The pair of shoes will cost you $63.75 after the 15% discount.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Great, thanks for the help!",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "You're welcome! If you have any other questions, feel free to ask.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"translate_text\",\n \"description\": \"Translate text from one language to another\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"text\": {\n \"type\": \"string\",\n \"description\": \"The text to be translated\"\n },\n \"source_language\": {\n \"type\": \"string\",\n \"description\": \"The source language of the text\"\n },\n \"target_language\": {\n \"type\": \"string\",\n \"description\": \"The target language to translate the text\"\n }\n },\n \"required\": [\n \"text\",\n \"source_language\",\n \"target_language\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you order pizza for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but I'm unable to perform external tasks like ordering pizza. My capabilities are currently limited to the functions provided to me, such as translating text.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate the tip amount based on bill total and tip percentage\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"bill_total\": {\n \"type\": \"number\",\n \"description\": \"The total amount of the bill\"\n },\n \"tip_percentage\": {\n \"type\": \"number\",\n \"description\": \"The percentage to be tipped\"\n }\n },\n \"required\": [\n \"bill_total\",\n \"tip_percentage\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I need help with calculating a tip. My bill total is $85 and I want to leave a 15% tip.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": 85,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": 15,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_tip"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"tip_amount\": 12.75}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Based on your bill total and the tip percentage you provided, the tip amount you should leave is $12.75.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Great, thank you! What if I want to leave a 20% tip instead?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": 85,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": 20,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_tip"
},
"id": "call_2",
"type": "function"
}
]
},
{
"content": "{\"tip_amount\": 17}",
"role": "tool",
"tool_call_id": "call_2",
"tool_calls": null
},
{
"content": "If you decide to leave a 20% tip, the tip amount would be $17.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Perfect, thanks for the help!",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "You're welcome! If you have any other questions, feel free to ask.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"search_movies\",\n \"description\": \"Search for movies based on title or genre\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"search_query\": {\n \"type\": \"string\",\n \"description\": \"The title or genre of the movie\"\n }\n },\n \"required\": [\n \"search_query\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you find me some horror movies?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": "horror",
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "search_movies"
},
"id": "call_0",
"type": "function"
}
]
},
{
"content": "{\"movies\": [\"The Conjuring\", \"Insidious\", \"A Quiet Place\", \"Hereditary\", \"Get Out\"]}",
"role": "tool",
"tool_call_id": "call_0",
"tool_calls": null
},
{
"content": "Here are some horror movies you might like: \"The Conjuring\", \"Insidious\", \"A Quiet Place\", \"Hereditary\", \"Get Out\".",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "What about some romantic comedies?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": "romantic comedy",
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "search_movies"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"movies\": [\"Crazy, Stupid, Love\", \"The Proposal\", \"Bridget Jones's Diary\", \"Love Actually\", \"The Holiday\"]}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Here are some romantic comedies you might enjoy: \"Crazy, Stupid, Love\", \"The Proposal\", \"Bridget Jones's Diary\", \"Love Actually\", \"The Holiday\".",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"convert_currency\",\n \"description\": \"Converts an amount from one currency to another\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"number\",\n \"description\": \"The amount to be converted\"\n },\n \"from_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert from\"\n },\n \"to_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert to\"\n }\n },\n \"required\": [\n \"amount\",\n \"from_currency\",\n \"to_currency\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": 1000,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": "USD",
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": "EUR",
"total_amount": null,
"weight": null
},
"name": "convert_currency"
},
"id": "call_abc123",
"type": "function"
}
]
},
{
"content": "{\"converted_amount\": 850.00, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}",
"role": "tool",
"tool_call_id": "call_abc123",
"tool_calls": null
},
{
"content": "Sure, 1000 US dollars is approximately 850 Euros.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"generate_qr_code\",\n \"description\": \"Generate a QR code for a given text\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"text\": {\n \"type\": \"string\",\n \"description\": \"The text to encode in the QR code\"\n }\n },\n \"required\": [\n \"text\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I need a QR code for my website. Can you help me with that?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Of course, I can help you with that. Could you please provide me with the URL of your website?",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Sure, it's www.mywebsite.com.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": "www.mywebsite.com",
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "generate_qr_code"
},
"id": "call_abc123",
"type": "function"
}
]
},
{
"content": "{\"qr_code\": \"QR_CODE_IMAGE_DATA\"}",
"role": "tool",
"tool_call_id": "call_abc123",
"tool_calls": null
},
{
"content": "I have generated the QR code for your website. Here it is: [QR_CODE_IMAGE_DATA]. You can scan this code to directly access your website.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"generate_random_number\",\n \"description\": \"Generate a random number within a specified range\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"min\": {\n \"type\": \"number\",\n \"description\": \"The minimum value of the range\"\n },\n \"max\": {\n \"type\": \"number\",\n \"description\": \"The maximum value of the range\"\n }\n },\n \"required\": [\n \"min\",\n \"max\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you please order a pizza for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My current capabilities are limited to the functions provided to me, such as generating a random number within a specified range.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_discount\",\n \"description\": \"Calculate the discount amount based on original price and discount percentage\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"original_price\": {\n \"type\": \"number\",\n \"description\": \"The original price of the item\"\n },\n \"discount_percentage\": {\n \"type\": \"number\",\n \"description\": \"The percentage discount\"\n }\n },\n \"required\": [\n \"original_price\",\n \"discount_percentage\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you help me calculate how much I will save?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": 20,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": 200,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "calculate_discount"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"discount_amount\": 40}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Sure, with a 20% discount on a $200 dress, you will save $40.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_loan_payment\",\n \"description\": \"Calculate the monthly loan payment\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"principal\": {\n \"type\": \"number\",\n \"description\": \"The loan principal amount\"\n },\n \"interest_rate\": {\n \"type\": \"number\",\n \"description\": \"The interest rate per period\"\n },\n \"num_periods\": {\n \"type\": \"integer\",\n \"description\": \"The number of periods\"\n }\n },\n \"required\": [\n \"principal\",\n \"interest_rate\",\n \"num_periods\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you please book a flight for me from New York to London?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but as an AI, I'm currently not equipped with the function to book flights. My capabilities are limited to the functions provided to me. Currently, I can assist you with calculating your monthly loan payment.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"search_books\",\n \"description\": \"Search for books based on a query\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"The search query for books\"\n },\n \"author\": {\n \"type\": \"string\",\n \"description\": \"The author of the books\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"description\": \"The maximum number of books to retrieve\"\n }\n },\n \"required\": [\n \"query\",\n \"limit\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I am looking for books on artificial intelligence. Can you help me find some?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Of course, I can help you with that. How many books would you like me to find?",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Let's start with 5 books.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": 5,
"numbers": null,
"original_price": null,
"query": "artificial intelligence",
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "search_books"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"books\": [{\"title\": \"Artificial Intelligence: A Modern Approach\", \"author\": \"Stuart Russell and Peter Norvig\"}, {\"title\": \"Life 3.0: Being Human in the Age of Artificial Intelligence\", \"author\": \"Max Tegmark\"}, {\"title\": \"Superintelligence: Paths, Dangers, Strategies\", \"author\": \"Nick Bostrom\"}, {\"title\": \"Artificial Intelligence: Structures and Strategies for Complex Problem Solving\", \"author\": \"George F. Luger\"}, {\"title\": \"Artificial Intelligence: A Guide for Thinking Humans\", \"author\": \"Melanie Mitchell\"}]}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Here are 5 books on artificial intelligence that you might find interesting:\n1. \"Artificial Intelligence: A Modern Approach\" by Stuart Russell and Peter Norvig\n2. \"Life 3.0: Being Human in the Age of Artificial Intelligence\" by Max Tegmark\n3. \"Superintelligence: Paths, Dangers, Strategies\" by Nick Bostrom\n4. \"Artificial Intelligence: Structures and Strategies for Complex Problem Solving\" by George F. Luger\n5. \"Artificial Intelligence: A Guide for Thinking Humans\" by Melanie Mitchell",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "That's great! Can you find more books by Max Tegmark?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": "Max Tegmark",
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": 5,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "search_books"
},
"id": "call_2",
"type": "function"
}
]
},
{
"content": "{\"books\": [{\"title\": \"Our Mathematical Universe: My Quest for the Ultimate Nature of Reality\", \"author\": \"Max Tegmark\"}, {\"title\": \"Life 3.0: Being Human in the Age of Artificial Intelligence\", \"author\": \"Max Tegmark\"}]}",
"role": "tool",
"tool_call_id": "call_2",
"tool_calls": null
},
{
"content": "Here are more books by Max Tegmark:\n1. \"Our Mathematical Universe: My Quest for the Ultimate Nature of Reality\"\n2. \"Life 3.0: Being Human in the Age of Artificial Intelligence\"",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Thank you, that's very helpful!",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "You're welcome! If you have any other questions or need further assistance, feel free to ask.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate BMI (Body Mass Index)\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"weight\": {\n \"type\": \"number\",\n \"description\": \"The weight in kilograms\"\n },\n \"height\": {\n \"type\": \"number\",\n \"description\": \"The height in meters\"\n }\n },\n \"required\": [\n \"weight\",\n \"height\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I would like to calculate my BMI. I weigh 70 kg and my height is 1.75 meters.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": 1.75,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": 70
},
"name": "calculate_bmi"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"bmi\": 22.86}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Your Body Mass Index (BMI) is 22.86. This is considered a healthy weight for your height.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"generate_invoice\",\n \"description\": \"Generate an invoice for a customer\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"customer_name\": {\n \"type\": \"string\",\n \"description\": \"The name of the customer\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"product_name\": {\n \"type\": \"string\",\n \"description\": \"The name of the product\"\n },\n \"quantity\": {\n \"type\": \"integer\",\n \"description\": \"The quantity of the product\"\n },\n \"price\": {\n \"type\": \"number\",\n \"description\": \"The price of the product\"\n }\n },\n \"required\": [\n \"product_name\",\n \"quantity\",\n \"price\"\n ]\n },\n \"description\": \"The list of items in the invoice\"\n }\n },\n \"required\": [\n \"customer_name\",\n \"items\"\n ]\n }\n}\n\n{\n \"name\": \"search_jobs\",\n \"description\": \"Search for job openings with specified criteria\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"keywords\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The keywords to search for in job titles\"\n },\n \"location\": {\n \"type\": \"string\",\n \"description\": \"The location of the job openings\"\n },\n \"salary_range\": {\n \"type\": \"object\",\n \"properties\": {\n \"min\": {\n \"type\": \"number\",\n \"description\": \"The minimum salary range\"\n },\n \"max\": {\n \"type\": \"number\",\n \"description\": \"The maximum salary range\"\n }\n },\n \"required\": [\n \"min\",\n \"max\"\n ]\n }\n },\n \"required\": []\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I need to generate an invoice for a customer named John Doe. He bought 2 apples for $1 each and 3 oranges for $2 each.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": "John Doe",
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": null,
"height": null,
"items": [
{
"price": 1,
"product_name": "apple",
"quantity": 2
},
{
"price": 2,
"product_name": "orange",
"quantity": 3
}
],
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "generate_invoice"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"invoice_id\": \"INV12345\", \"customer_name\": \"John Doe\", \"items\": [{\"product_name\": \"apple\", \"quantity\": 2, \"price\": 1, \"total\": 2}, {\"product_name\": \"orange\", \"quantity\": 3, \"price\": 2, \"total\": 6}], \"total_amount\": 8}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "The invoice for John Doe has been generated successfully. The invoice ID is INV12345. He bought 2 apples for a total of $2 and 3 oranges for a total of $6. The total amount for the invoice is $8.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"calculate_discount\",\n \"description\": \"Calculate the discounted price of a product\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"original_price\": {\n \"type\": \"number\",\n \"description\": \"The original price of the product\"\n },\n \"discount_percentage\": {\n \"type\": \"number\",\n \"description\": \"The discount percentage\"\n }\n },\n \"required\": [\n \"original_price\",\n \"discount_percentage\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you order a pizza for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but I'm unable to perform external tasks such as ordering a pizza. My current capabilities are limited to the functions provided to me. For instance, I can help you calculate the discounted price of a product.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"create_invoice\",\n \"description\": \"Create a new invoice\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"customer_name\": {\n \"type\": \"string\",\n \"description\": \"The name of the customer\"\n },\n \"total_amount\": {\n \"type\": \"number\",\n \"description\": \"The total amount of the invoice\"\n },\n \"due_date\": {\n \"type\": \"string\",\n \"description\": \"The due date of the invoice\"\n }\n },\n \"required\": [\n \"customer_name\",\n \"total_amount\",\n \"due_date\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I need to create an invoice for a customer named John Doe. The total amount is $500 and the due date is 30th April.",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": "John Doe",
"date_of_birth": null,
"discount_percentage": null,
"due_date": "30th April",
"from_currency": null,
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": 500,
"weight": null
},
"name": "create_invoice"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"status\": \"success\", \"message\": \"Invoice created successfully for customer John Doe with total amount $500 due by 30th April\"}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "The invoice has been created successfully for customer John Doe with a total amount of $500 due by 30th April.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Great, thank you!",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "You're welcome! If you need any more assistance, feel free to ask.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"get_stock_price\",\n \"description\": \"Get the current stock price of a company\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"company_symbol\": {\n \"type\": \"string\",\n \"description\": \"The symbol of the company in the stock market\"\n }\n },\n \"required\": [\n \"company_symbol\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Can you please order a pizza for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but I don't have the capability to perform external tasks like ordering a pizza. My functions are limited to the ones provided to me. In this case, I can provide information about the current stock price of a company if you provide me with the company's stock market symbol.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"convert_currency\",\n \"description\": \"Convert an amount from one currency to another\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"number\",\n \"description\": \"The amount to be converted\"\n },\n \"from_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert from\"\n },\n \"to_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert to\"\n }\n },\n \"required\": [\n \"amount\",\n \"from_currency\",\n \"to_currency\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I need to convert 500 USD to Euros. Can you help me with that?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": 500,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": "USD",
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": "EUR",
"total_amount": null,
"weight": null
},
"name": "convert_currency"
},
"id": "call_1",
"type": "function"
}
]
},
{
"content": "{\"converted_amount\": 425.50, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}",
"role": "tool",
"tool_call_id": "call_1",
"tool_calls": null
},
{
"content": "Sure, 500 USD is approximately 425.50 Euros.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Great, thanks! Now, can you convert 1000 Euros back to USD?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": 1000,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": "EUR",
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": "USD",
"total_amount": null,
"weight": null
},
"name": "convert_currency"
},
"id": "call_2",
"type": "function"
}
]
},
{
"content": "{\"converted_amount\": 1176.47, \"from_currency\": \"EUR\", \"to_currency\": \"USD\"}",
"role": "tool",
"tool_call_id": "call_2",
"tool_calls": null
},
{
"content": "1000 Euros is approximately 1176.47 USD.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"play_music\",\n \"description\": \"Play music from a specified genre\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"genre\": {\n \"type\": \"string\",\n \"description\": \"The genre of music to play\"\n }\n },\n \"required\": [\n \"genre\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, can you play some jazz music for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Of course, I can help with that. Let me get that started for you.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": null,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": null,
"genre": "jazz",
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": null,
"total_amount": null,
"weight": null
},
"name": "play_music"
},
"id": "call_abc123",
"type": "function"
}
]
},
{
"content": "{\"status\": \"success\", \"message\": \"Now playing jazz music\"}",
"role": "tool",
"tool_call_id": "call_abc123",
"tool_calls": null
},
{
"content": "Great news! Jazz music is now playing for your enjoyment.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "That's great! Can you also order a pizza for me?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as ordering a pizza. My current functions are limited to playing music. Is there anything else I can assist you with within my capabilities?",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
[
{
"content": "You are a helpful assistant with access to the following functions. Use them if required -\n{\n \"name\": \"convert_currency\",\n \"description\": \"Convert currency from one unit to another\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"number\",\n \"description\": \"The amount to convert\"\n },\n \"from_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert from\"\n },\n \"to_currency\": {\n \"type\": \"string\",\n \"description\": \"The currency to convert to\"\n }\n },\n \"required\": [\n \"amount\",\n \"from_currency\",\n \"to_currency\"\n ]\n }\n}",
"role": "system",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "Hi, I need to convert 500 US dollars to Euros. Can you help me with that?",
"role": "user",
"tool_call_id": null,
"tool_calls": null
},
{
"content": "",
"role": "assistant",
"tool_call_id": null,
"tool_calls": [
{
"function": {
"arguments": {
"amount": 500,
"author": null,
"bill_total": null,
"customer_name": null,
"date_of_birth": null,
"discount_percentage": null,
"due_date": null,
"from_currency": "USD",
"genre": null,
"height": null,
"items": null,
"limit": null,
"numbers": null,
"original_price": null,
"query": null,
"search_query": null,
"text": null,
"tip_percentage": null,
"to_currency": "EUR",
"total_amount": null,
"weight": null
},
"name": "convert_currency"
},
"id": "call_abc123",
"type": "function"
}
]
},
{
"content": "{\"converted_amount\": 425.50, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}",
"role": "tool",
"tool_call_id": "call_abc123",
"tool_calls": null
},
{
"content": "Sure, 500 US dollars is approximately 425.50 Euros.",
"role": "assistant",
"tool_call_id": null,
"tool_calls": null
}
] |
README.md exists but content is empty.
- Downloads last month
- 117