functions stringlengths 85 879 | conversation listlengths 2 12 |
|---|---|
[{"name": "find_nearby_restaurants", "description": "Find nearby restaurants based on location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}}, "required": ["location"]}}] | [
{
"content": "Can you book a flight for me to New York?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "I'm sorry, but I don't have the capability to book flights. My current function is to find nearby restaurants based on a given location. If you need help with that, ... |
[{"name": "create_user", "description": "Create a new user", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}, "email": {"type": "string", "description": "The email address of the user"}, "password": {"type": "string", "description": "The password for the user"}}, "required": ["name", "email", "password"]}}] | [
{
"content": "Hi, I need to create a new user account.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Sure, I can help with that. Could you please provide me with the name, email, and password for the new user?",
"function_call": null,
"name": null,
"role"... |
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}] | [
{
"content": "What does the word 'serendipity' mean?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"word\": \"serendipity\"}",
"name": "get_definition"
},
"name": null,
"role": "assistant"
},
{
... |
[{"name": "calculate_loan_interest", "description": "Calculate the interest amount on a loan", "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 years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "generate_invoice", "description": "Generate an invoice for a purchase", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "items": {"type": "array", "items": {"type": "string"}, "description": "The items purchased"}, "total_amount": {"type": "number", "description": "The total amount of the purchase"}}, "required": ["customer_name", "items", "total_amount"]}}] | [
{
"content": "Hi, I need some help with calculating the interest on a loan I'm considering.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course, I'd be happy to help with that. Could you please provide me with the loan amount, the annual interest rate, and the lo... |
[{"name": "encode_base64", "description": "Encode a text string in Base64 format", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode"}}, "required": ["text"]}}] | [
{
"content": "Hi, I need to encode a text string in Base64 format. The text is \"Hello, World!\"",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"text\": \"Hello, World!\"}",
"name": "encode_base64"
},
"na... |
[{"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"event_title": {"type": "string", "description": "The title of the event"}, "event_date": {"type": "string", "description": "The date of the event"}, "event_time": {"type": "string", "description": "The time of the event"}, "event_location": {"type": "string", "description": "The location of the event"}}, "required": ["event_title", "event_date", "event_time"]}}] | [
{
"content": "I need to create a new event in my calendar.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Sure, I can help with that. Could you please provide me with the title, date, and time of the event?",
"function_call": null,
"name": null,
"role": "a... |
[{"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"}, "director": {"type": "string", "description": "The director of the movie"}}, "required": ["title"]}}] | [
{
"content": "Can you tell me about the movie \"Inception\"?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"title\": \"Inception\"}",
"name": "get_movie_details"
},
"name": null,
"role": "assistant"
... |
[{"name": "recommend_movies", "description": "Recommend movies based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred movie genre"}, "year_range": {"type": "object", "properties": {"start_year": {"type": "integer", "description": "The start year of the movie release"}, "end_year": {"type": "integer", "description": "The end year of the movie release"}}}}}}] | [
{
"content": "I'm in the mood for a comedy movie. Can you recommend something from the 90s?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"genre\": \"comedy\", \"year_range\": {\"start_year\": 1990, \"end_year\": 1999... |
[{"name": "search_lyrics", "description": "Search for song lyrics based on a song title", "parameters": {"type": "object", "properties": {"song_title": {"type": "string", "description": "The title of the song"}}, "required": ["song_title"]}}] | [
{
"content": "Can you order a pizza for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My current capabilities allow me to search for song lyrics based on a song title. If you need any song... |
[{"name": "calculate_factorial", "description": "Calculate the factorial of a given number", "parameters": {"type": "object", "properties": {"number": {"type": "integer", "description": "The number for which factorial needs to be calculated"}}, "required": ["number"]}}] | [
{
"content": "Hi, I need to calculate the factorial of 5. Can you help me with that?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course, I can help you with that. Let me do the calculations for you.",
"function_call": {
"arguments": "{\"number\": 5}",
... |
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word for which definition should be fetched"}, "language": {"type": "string", "description": "The language of the word, e.g. English, French, Spanish"}}, "required": ["word", "language"]}}] | [
{
"content": "Can you tell me the definition of the word \"serendipity\" in English?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"word\": \"serendipity\", \"language\": \"English\"}",
"name": "get_definition"
... |
[{"name": "calculate_fibonacci_sequence", "description": "Calculate the Fibonacci sequence up to a given number", "parameters": {"type": "object", "properties": {"number": {"type": "integer", "description": "The number up to which the Fibonacci sequence should be calculated"}}, "required": ["number"]}}] | [
{
"content": "Hi, can you calculate the Fibonacci sequence up to 10 for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Sure, I can help with that. Let me do the calculations for you.",
"function_call": {
"arguments": "{\"number\": 10}",
"name": "ca... |
[{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}, "language": {"type": "string", "description": "The language of the text (optional)"}}, "required": ["text"]}}] | [
{
"content": "Can you analyze the sentiment of this text for me? \"I am feeling really happy today!\"",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"text\": \"I am feeling really happy today!\"}",
"name": "analy... |
[{"name": "get_random_number", "description": "Get 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"]}}] | [
{
"content": "I need a random number between 1 and 100.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"min\": 1, \"max\": 100}",
"name": "get_random_number"
},
"name": null,
"role": "assistant"
},
... |
[{"name": "create_calendar_event", "description": "Create a new event in the user's calendar", "parameters": {"type": "object", "properties": {"event_title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "format": "date-time", "description": "The start time of the event"}, "end_time": {"type": "string", "format": "date-time", "description": "The end time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["event_title", "start_time", "end_time"]}}] | [
{
"content": "Can you help me schedule a meeting?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course! I can help you create a calendar event. Could you please provide me with the title of the event, the start and end times, and the location?",
"function_call... |
[{"name": "search_movie", "description": "Search for a movie by title", "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"]}}, {"name": "get_movie_reviews", "description": "Get reviews for 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"}, "critic": {"type": "string", "description": "The name of the critic"}}, "required": ["title"]}}] | [
{
"content": "Can you find a movie for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course! Could you please provide me with the title of the movie you're looking for?",
"function_call": null,
"name": null,
"role": "assistant"
},
{
"conten... |
[{"name": "play_music", "description": "Play music based on user's preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of music to play"}, "mood": {"type": "string", "description": "The mood of the music to play"}}}}] | [
{
"content": "I'm feeling a bit down. Can you play some uplifting music for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"genre\": \"pop\", \"mood\": \"uplifting\"}",
"name": "play_music"
},
"name":... |
[{"name": "search_images", "description": "Search for images based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for images"}, "color": {"type": "string", "description": "The color to filter results (e.g. red, blue, green)"}, "size": {"type": "string", "description": "The size of the images to filter results (e.g. small, medium, large)"}}, "required": ["keywords"]}}] | [
{
"content": "Hi, I need some images for my project.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Sure, I can help with that. Could you please provide me with the keywords, preferred color, and size for the images?",
"function_call": null,
"name": null,
... |
[{"name": "calculate_tax", "description": "Calculate the tax amount based on income", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}] | [
{
"content": "Hi, I need to calculate my tax. My income is $50000 and the tax rate is 20%.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"income\": 50000, \"tax_rate\": 20}",
"name": "calculate_tax"
},
"... |
[{"name": "check_palindrome", "description": "Check if a word is a palindrome", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to check"}}, "required": ["word"]}}] | [
{
"content": "Hi, can you check if the word 'racecar' is a palindrome?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"word\": \"racecar\"}",
"name": "check_palindrome"
},
"name": null,
"role": "assis... |
[{"name": "find_closest_parking", "description": "Find the closest parking spot to a given location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for which closest parking spot needs to be found"}}, "required": ["location"]}}] | [
{
"content": "I am currently at the Central Park. Can you find me the closest parking spot?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"location\": \"Central Park\"}",
"name": "find_closest_parking"
},
... |
[{"name": "calculate_tip_amount", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to be tipped"}}, "required": ["bill_total", "tip_percentage"]}}] | [
{
"content": "Hi, I need help with calculating the tip for my bill.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course, I can help with that. Could you please provide me with the total bill amount and the percentage of the tip you want to give?",
"function_c... |
[{"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"}, "end_time": {"type": "string", "format": "date-time", "description": "The end time of the event"}}, "required": ["title", "start_time", "end_time"]}}] | [
{
"content": "I need to schedule a meeting for tomorrow at 10am and it will end at 11am. The title of the meeting is \"Project Discussion\".",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"title\": \"Project Discussion... |
[{"name": "get_lyrics", "description": "Get the lyrics of a specific song", "parameters": {"type": "object", "properties": {"song_title": {"type": "string", "description": "The title of the song"}}, "required": ["song_title"]}}] | [
{
"content": "Can you order a pizza for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"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 function allows me to fetch the lyrics of a specific song. If... |
[{"name": "add_numbers", "description": "Add two numbers", "parameters": {"type": "object", "properties": {"num1": {"type": "number", "description": "The first number"}, "num2": {"type": "number", "description": "The second number"}}, "required": ["num1", "num2"]}}] | [
{
"content": "Hi, I need help with some calculations. Can you add 45 and 67 for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"num1\": 45, \"num2\": 67}",
"name": "add_numbers"
},
"name": null,
"... |
[{"name": "create_todo", "description": "Create a new todo item with the given details", "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", "description": "The priority of the todo item"}}, "required": ["title", "due_date", "priority"]}}] | [
{
"content": "Hey, can you help me create a new todo item?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course! I can help with that. Could you please provide me with the title, due date, and priority of the todo item?",
"function_call": null,
"name": nul... |
[{"name": "shuffle_array", "description": "Shuffle the elements of an array", "parameters": {"type": "object", "properties": {"array": {"type": "array", "items": {"type": "string"}, "description": "The array to be shuffled"}}, "required": ["array"]}}] | [
{
"content": "Hi, I have a list of names that I need to randomize. Can you help me with that?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course, I can help you with that. Please provide me with the list of names.",
"function_call": null,
"name": null,
... |
[{"name": "get_user_profile", "description": "Get the user profile information", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The unique identifier of the user"}}, "required": ["user_id"]}}] | [
{
"content": "Hi, I need to access my profile information. My user id is 12345.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"user_id\": \"12345\"}",
"name": "get_user_profile"
},
"name": null,
"rol... |
[{"name": "generate_barcode", "description": "Generate a barcode for a given text or number", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The text or number to encode"}, "type": {"type": "string", "description": "The type of barcode to generate"}}, "required": ["data", "type"]}}] | [
{
"content": "Hi, I need to generate a barcode for my product. The product number is 123456789 and I want a QR code.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"data\": \"123456789\", \"type\": \"QR\"}",
"nam... |
[{"name": "translate_text", "description": "Translate text from one language to another", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be translated"}, "sourceLanguage": {"type": "string", "description": "The source language of the text"}, "targetLanguage": {"type": "string", "description": "The target language to translate the text into"}}, "required": ["text", "targetLanguage"]}}] | [
{
"content": "Hi, I have a sentence in French that I need translated into English. The sentence is \"Je suis très heureux de vous rencontrer\".",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"text\": \"Je suis très heu... |
[{"name": "analyze_audio", "description": "Analyze the content of an audio file", "parameters": {"type": "object", "properties": {"audio_url": {"type": "string", "description": "The URL of the audio file"}}, "required": ["audio_url"]}}] | [
{
"content": "Can you please order a pizza for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"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 function allows me to analyze the content of an audio ... |
[{"name": "get_song_lyrics", "description": "Get the lyrics of a song", "parameters": {"type": "object", "properties": {"artist": {"type": "string", "description": "The name of the artist"}, "song_title": {"type": "string", "description": "The title of the song"}}, "required": ["artist", "song_title"]}}] | [
{
"content": "Can you order a pizza for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "I'm sorry, but I don't have the capability to order a pizza as it's an external task. My current function allows me to get the lyrics of a song. If you need lyrics for a specifi... |
[{"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"}}, "required": ["symbol"]}}, {"name": "calculate_interest", "description": "Calculate the interest amount", "parameters": {"type": "object", "properties": {"principal_amount": {"type": "number", "description": "Principal amount"}, "interest_rate": {"type": "number", "description": "Interest rate"}, "time_period": {"type": "number", "description": "Time period in years"}}, "required": ["principal_amount", "interest_rate", "time_period"]}}] | [
{
"content": "Hi, can you tell me the current stock price of Apple?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"symbol\": \"AAPL\"}",
"name": "get_stock_price"
},
"name": null,
"role": "assistant"... |
[{"name": "calculate_fuel_efficiency", "description": "Calculate the fuel efficiency of a vehicle", "parameters": {"type": "object", "properties": {"distance": {"type": "number", "description": "The total distance traveled"}, "fuel_consumed": {"type": "number", "description": "The total fuel consumed"}}, "required": ["distance", "fuel_consumed"]}}] | [
{
"content": "Can you please book a flight for me from New York to London?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "I'm sorry, but I'm unable to assist with that. Booking a flight is an external task and I don't have a function provided for that task. I can help... |
[{"name": "search_song", "description": "Search for a song by title or artist", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The title or artist of the song"}}, "required": ["query"]}}] | [
{
"content": "Hey, can you find a song for me?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": "Of course! Could you please provide me with the title or the artist of the song?",
"function_call": null,
"name": null,
"role": "assistant"
},
{
"content"... |
[{"name": "get_random_quote", "description": "Get a random quote", "parameters": {}}] | [
{
"content": "I need some inspiration. Can you share a quote?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{}",
"name": "get_random_quote"
},
"name": null,
"role": "assistant"
},
{
"content": ... |
[{"name": "search_articles", "description": "Search for articles based on criteria", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "Keywords to search for in article titles"}, "author": {"type": "string", "description": "Author of the articles"}, "publish_date": {"type": "string", "format": "date", "description": "Publish date of the articles"}}, "required": ["keywords"]}}, {"name": "search_jobs", "description": "Search for jobs based on location and job title", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for jobs"}, "job_title": {"type": "string", "description": "The job title to filter the search"}}, "required": ["location"]}}] | [
{
"content": "I am looking for articles about climate change written by John Doe.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"keywords\": [\"climate change\"], \"author\": \"John Doe\"}",
"name": "search_arti... |
[{"name": "search_books", "description": "Search for books based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for"}, "author": {"type": "string", "description": "The author's name (optional)"}}, "required": ["keywords"]}}] | [
{
"content": "I am looking for books on the topic of artificial intelligence. Can you help me find some?",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"keywords\": [\"artificial intelligence\"]}",
"name": "searc... |
[{"name": "calculate_mortgage", "description": "Calculate the monthly mortgage 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"]}}] | [
{
"content": "Hi, I need help with calculating my mortgage payment. I have a loan amount of $200,000, an annual interest rate of 3.5%, and a loan term of 30 years.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"loan_a... |
[{"name": "generate_random_number", "description": "Generate a random number within a given 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"]}}] | [
{
"content": "Hi, I need a random number between 1 and 100.",
"function_call": null,
"name": null,
"role": "user"
},
{
"content": null,
"function_call": {
"arguments": "{\"min\": 1, \"max\": 100}",
"name": "generate_random_number"
},
"name": null,
"role": "assista... |
README.md exists but content is empty.
- Downloads last month
- 5