text
listlengths 2
2
|
---|
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow tall is the Eiffel Tower?",
"role": "user"
},
{
"content": "The Eiffel Tower is approximately 330 meters tall.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho wrote 'To Kill a Mockingbird'?",
"role": "user"
},
{
"content": "'To Kill a Mockingbird' was written by Harper Lee.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the capital of Japan?",
"role": "user"
},
{
"content": "The capital of Japan is Tokyo.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow many continents are there?",
"role": "user"
},
{
"content": "There are seven continents: Africa, Antarctica, Asia, Europe, North America, Australia, and South America.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the largest mammal?",
"role": "user"
},
{
"content": "The largest mammal is the blue whale.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow does photosynthesis work?",
"role": "user"
},
{
"content": "Photosynthesis is the process by which green plants use sunlight to synthesize foods from carbon dioxide and water. It generally involves the green pigment chlorophyll and generates oxygen as a byproduct.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhen was the Declaration of Independence signed?",
"role": "user"
},
{
"content": "The Declaration of Independence was signed on July 4, 1776.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the boiling point of water?",
"role": "user"
},
{
"content": "The boiling point of water is 100 degrees Celsius at standard atmospheric pressure.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho was the first person to walk on the moon?",
"role": "user"
},
{
"content": "Neil Armstrong was the first person to walk on the moon on July 20, 1969.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the speed of light?",
"role": "user"
},
{
"content": "The speed of light is approximately 299,792 kilometers per second.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat causes rainbows?",
"role": "user"
},
{
"content": "Rainbows are caused by the refraction, dispersion, and reflection of light in water droplets, resulting in a spectrum of light appearing in the sky.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the smallest country in the world?",
"role": "user"
},
{
"content": "The smallest country in the world is Vatican City.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the primary colors?",
"role": "user"
},
{
"content": "The primary colors are red, blue, and yellow.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the most spoken language in the world?",
"role": "user"
},
{
"content": "The most spoken language in the world is Mandarin Chinese.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow many planets are in our solar system?",
"role": "user"
},
{
"content": "There are eight planets in our solar system: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the human body's largest organ?",
"role": "user"
},
{
"content": "The largest organ in the human body is the skin.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho painted the Mona Lisa?",
"role": "user"
},
{
"content": "The Mona Lisa was painted by Leonardo da Vinci.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the hardest natural substance on Earth?",
"role": "user"
},
{
"content": "The hardest natural substance on Earth is diamond.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the longest river in the world?",
"role": "user"
},
{
"content": "The longest river in the world is the Nile River.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the deepest part of the ocean?",
"role": "user"
},
{
"content": "The deepest part of the ocean is the Challenger Deep in the Mariana Trench.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow expensive is Microsoft?",
"role": "user"
},
{
"content": "{'name': 'get_stock_price', 'arguments': {'names': ['Microsoft']}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the largest stocks in the US?",
"role": "user"
},
{
"content": "{'name': 'get_big_stocks', 'arguments': {'number': 25, 'region': 'US'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be 'US' or 'World'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Apple Inc.",
"role": "user"
},
{
"content": "Apple Inc. is an American multinational technology company headquartered in Cupertino, California.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'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 translate'}, 'from_language': {'type': 'string', 'description': 'The language of the original text'}, 'to_language': {'type': 'string', 'description': 'The language to translate the text to'}}, 'required': ['text', 'to_language']}}}, {'type': 'function', 'function': {'name': 'detect_language', 'description': 'Detect the language of a given text', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to detect the language of'}}, 'required': ['text']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat language is this: 'Hola'?",
"role": "user"
},
{
"content": "{'name': 'detect_language', 'arguments': {'text': 'Hola'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'calculate_sum', 'description': 'Calculate the sum of two numbers', 'parameters': {'type': 'object', 'properties': {'a': {'type': 'number', 'description': 'The first number'}, 'b': {'type': 'number', 'description': 'The second number'}}, 'required': ['a', 'b']}}}, {'type': 'function', 'function': {'name': 'calculate_product', 'description': 'Calculate the product of two numbers', 'parameters': {'type': 'object', 'properties': {'a': {'type': 'number', 'description': 'The first number'}, 'b': {'type': 'number', 'description': 'The second number'}}, 'required': ['a', 'b']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is 7 multiplied by 6?",
"role": "user"
},
{
"content": "{'name': 'calculate_product', 'arguments': {'a': 7, 'b': 6}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'find_movie', 'description': 'Find information about a movie', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}}, 'required': ['title']}}}, {'type': 'function', 'function': {'name': 'find_director', 'description': 'Find the director of a given movie', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}}, 'required': ['title']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the movie Inception.",
"role": "user"
},
{
"content": "Inception is a science fiction movie directed by Christopher Nolan.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be \\'US\\' or \\'World\\'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow expensive is Microsoft?",
"role": "user"
},
{
"content": "{'name': 'get_stock_price', 'arguments': {'names': ['Microsoft']}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_weather', 'description': 'Get the weather forecast for a specific location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the weather forecast for'}}, 'required': ['location']}}}, {'type': 'function', 'function': {'name': 'get_temperature', 'description': 'Get the current temperature of a location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the current temperature for'}}, 'required': ['location']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the weather like in New York?",
"role": "user"
},
{
"content": "{'name': 'get_weather', 'arguments': {'location': 'New York'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_crypto_price', 'description': 'Get the price of a specific cryptocurrency', 'parameters': {'type': 'object', 'properties': {'crypto_name': {'type': 'string', 'description': 'The name of the cryptocurrency'}}, 'required': ['crypto_name']}}}, {'type': 'function', 'function': {'name': 'get_top_cryptos', 'description': 'Get the names of the top N cryptocurrencies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top cryptocurrencies to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow much is Bitcoin worth?",
"role": "user"
},
{
"content": "{'name': 'get_crypto_price', 'arguments': {'crypto_name': 'Bitcoin'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_country_info', 'description': 'Get information about a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}, 'required': ['country_name']}}}, {'type': 'function', 'function': {'name': 'get_population', 'description': 'Get the population of a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}, 'required': ['country_name']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about France.",
"role": "user"
},
{
"content": "{'name': 'get_country_info', 'arguments': {'country_name': 'France'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_movie_details', 'description': 'Get details about a specific movie', 'parameters': {'type': 'object', 'properties': {'movie_name': {'type': 'string', 'description': 'The name of the movie'}}, 'required': ['movie_name']}}}, {'type': 'function', 'function': {'name': 'get_top_movies', 'description': 'Get the names of the top N movies by box office', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top movies to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the plot of Inception?",
"role": "user"
},
{
"content": "{'name': 'get_movie_details', 'arguments': {'movie_name': 'Inception'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_book_details', 'description': 'Get details about a specific book', 'parameters': {'type': 'object', 'properties': {'book_name': {'type': 'string', 'description': 'The name of the book'}}, 'required': ['book_name']}}}, {'type': 'function', 'function': {'name': 'get_top_books', 'description': 'Get the names of the top N books by sales', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top books to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho wrote 1984?",
"role": "user"
},
{
"content": "George Orwell wrote 1984.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_sports_scores', 'description': 'Get the latest sports scores for a specific game', 'parameters': {'type': 'object', 'properties': {'game': {'type': 'string', 'description': 'The name of the game'}}, 'required': ['game']}}}, {'type': 'function', 'function': {'name': 'get_top_teams', 'description': 'Get the names of the top N teams in a sport', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top teams to get the names of'}, 'sport': {'type': 'string', 'description': 'The sport to get the top teams for'}}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the latest score in the Lakers game?",
"role": "user"
},
{
"content": "{'name': 'get_sports_scores', 'arguments': {'game': 'Lakers'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}, 'region': {'type': 'string', 'description': 'The region to consider, can be \\'US\\' or \\'World\\'.'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow expensive is Microsoft?",
"role": "user"
},
{
"content": "{'name': 'get_stock_price', 'arguments': {'names': ['Microsoft']}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_weather', 'description': 'Get the weather forecast for a specific location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the weather forecast for'}}, 'required': ['location']}}}, {'type': 'function', 'function': {'name': 'get_temperature', 'description': 'Get the current temperature of a location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the current temperature for'}}, 'required': ['location']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the weather like in New York?",
"role": "user"
},
{
"content": "{'name': 'get_weather', 'arguments': {'location': 'New York'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_crypto_price', 'description': 'Get the price of a specific cryptocurrency', 'parameters': {'type': 'object', 'properties': {'crypto_name': {'type': 'string', 'description': 'The name of the cryptocurrency'}}, 'required': ['crypto_name']}}}, {'type': 'function', 'function': {'name': 'get_top_cryptos', 'description': 'Get the names of the top N cryptocurrencies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top cryptocurrencies to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow much is Bitcoin worth?",
"role": "user"
},
{
"content": "{'name': 'get_crypto_price', 'arguments': {'crypto_name': 'Bitcoin'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_country_info', 'description': 'Get information about a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}, 'required': ['country_name']}}}, {'type': 'function', 'function': {'name': 'get_population', 'description': 'Get the population of a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}, 'required': ['country_name']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about France.",
"role": "user"
},
{
"content": "{'name': 'get_country_info', 'arguments': {'country_name': 'France'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_movie_details', 'description': 'Get details about a specific movie', 'parameters': {'type': 'object', 'properties': {'movie_name': {'type': 'string', 'description': 'The name of the movie'}}, 'required': ['movie_name']}}}, {'type': 'function', 'function': {'name': 'get_top_movies', 'description': 'Get the names of the top N movies by box office', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top movies to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the plot of Inception?",
"role": "user"
},
{
"content": "{'name': 'get_movie_details', 'arguments': {'movie_name': 'Inception'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_book_details', 'description': 'Get details about a specific book', 'parameters': {'type': 'object', 'properties': {'book_name': {'type': 'string', 'description': 'The name of the book'}}, 'required': ['book_name']}}}, {'type': 'function', 'function': {'name': 'get_top_books', 'description': 'Get the names of the top N books by sales', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top books to get the names of'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho wrote 1984?",
"role": "user"
},
{
"content": "George Orwell wrote 1984.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_sports_scores', 'description': 'Get the latest sports scores for a specific game', 'parameters': {'type': 'object', 'properties': {'game': {'type': 'string', 'description': 'The name of the game'}}, 'required': ['game']}}}, {'type': 'function', 'function': {'name': 'get_top_teams', 'description': 'Get the names of the top N teams in a sport', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top teams to get the names of'}, 'sport': {'type': 'string', 'description': 'The sport to get the top teams for'}}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the latest score in the Lakers game?",
"role": "user"
},
{
"content": "{'name': 'get_sports_scores', 'arguments': {'game': 'Lakers'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_exchange_rate', 'description': 'Get the exchange rate between two currencies', 'parameters': {'type': 'object', 'properties': {'from_currency': {'type': 'string', 'description': 'The currency to convert from'}, 'to_currency': {'type': 'string', 'description': 'The currency to convert to'}}, 'required': ['from_currency', 'to_currency']}}}, {'type': 'function', 'function': {'name': 'get_top_currencies', 'description': 'Get the names of the top N currencies by trading volume', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top currencies to get'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the exchange rate from USD to EUR?",
"role": "user"
},
{
"content": "{'name': 'get_exchange_rate', 'arguments': {'from_currency': 'USD', 'to_currency': 'EUR'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_translation', 'description': 'Translate a text from one language to another', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to translate'}, 'from_language': {'type': 'string', 'description': 'The language to translate from'}, 'to_language': {'type': 'string', 'description': 'The language to translate to'}}, 'required': ['text', 'from_language', 'to_language']}}}, {'type': 'function', 'function': {'name': 'get_top_translations', 'description': 'Get the top N translations for a specific text', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to get translations for'}, 'number': {'type': 'integer', 'description': 'The number of top translations to get'}}, 'required': ['text', 'number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTranslate 'Hello' to French.",
"role": "user"
},
{
"content": "{'name': 'get_translation', 'arguments': {'text': 'Hello', 'from_language': 'English', 'to_language': 'French'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_recipe', 'description': 'Get the recipe for a specific dish', 'parameters': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': 'The name of the dish'}}, 'required': ['dish_name']}}}, {'type': 'function', 'function': {'name': 'get_top_recipes', 'description': 'Get the names of the top N recipes', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top recipes to get'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow do I make lasagna?",
"role": "user"
},
{
"content": "{'name': 'get_recipe', 'arguments': {'dish_name': 'lasagna'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_song_lyrics', 'description': 'Get the lyrics for a specific song', 'parameters': {'type': 'object', 'properties': {'song_name': {'type': 'string', 'description': 'The name of the song'}}, 'required': ['song_name']}}}, {'type': 'function', 'function': {'name': 'get_top_songs', 'description': 'Get the names of the top N songs', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top songs to get'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the lyrics to 'Bohemian Rhapsody'?",
"role": "user"
},
{
"content": "{'name': 'get_song_lyrics', 'arguments': {'song_name': 'Bohemian Rhapsody'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_holiday_info', 'description': 'Get information about a specific holiday', 'parameters': {'type': 'object', 'properties': {'holiday_name': {'type': 'string', 'description': 'The name of the holiday'}}, 'required': ['holiday_name']}}}, {'type': 'function', 'function': {'name': 'get_upcoming_holidays', 'description': 'Get the names of the upcoming holidays', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': 'The region to consider for upcoming holidays'}}, 'required': ['region']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhen is Thanksgiving?",
"role": "user"
},
{
"content": "{'name': 'get_holiday_info', 'arguments': {'holiday_name': 'Thanksgiving'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_artist_info', 'description': 'Get information about a specific artist', 'parameters': {'type': 'object', 'properties': {'artist_name': {'type': 'string', 'description': 'The name of the artist'}}, 'required': ['artist_name']}}}, {'type': 'function', 'function': {'name': 'get_top_artists', 'description': 'Get the names of the top N artists', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top artists to get'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho is Pablo Picasso?",
"role": "user"
},
{
"content": "Pablo Picasso was a Spanish painter, sculptor, printmaker, ceramicist, and theatre designer.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The news category'}}, 'required': ['category']}}}, {'type': 'function', 'function': {'name': 'get_top_stories', 'description': 'Get the top N news stories', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top stories'}}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the latest in technology news?",
"role": "user"
},
{
"content": "{'name': 'get_news_headlines', 'arguments': {'category': 'technology'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_trivia', 'description': 'Get a trivia question', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The trivia category'}}, 'required': ['category']}}}, {'type': 'function', 'function': {'name': 'get_quiz', 'description': 'Get a quiz with multiple questions', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of questions'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nGive me a science trivia question.",
"role": "user"
},
{
"content": "{'name': 'get_trivia', 'arguments': {'category': 'science'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_exchange_rate', 'description': 'Get the exchange rate between two currencies', 'parameters': {'type': 'object', 'properties': {'from_currency': {'type': 'string', 'description': 'The currency to convert from'}, 'to_currency': {'type': 'string', 'description': 'The currency to convert to'}}, 'required': ['from_currency', 'to_currency']}}}, {'type': 'function', 'function': {'name': 'get_top_currencies', 'description': 'Get the names of the top N currencies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top currencies'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the exchange rate from GBP to JPY?",
"role": "user"
},
{
"content": "{'name': 'get_exchange_rate', 'arguments': {'from_currency': 'GBP', 'to_currency': 'JPY'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_word_definition', 'description': 'Get the definition of a word', 'parameters': {'type': 'object', 'properties': {'word': {'type': 'string', 'description': 'The word to define'}}, 'required': ['word']}}}, {'type': 'function', 'function': {'name': 'get_synonyms', 'description': 'Get synonyms for a word', 'parameters': {'type': 'object', 'properties': {'word': {'type': 'string', 'description': 'The word to find synonyms for'}}, 'required': ['word']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nDefine 'ubiquitous'.",
"role": "user"
},
{
"content": "{'name': 'get_word_definition', 'arguments': {'word': 'ubiquitous'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_animal_facts', 'description': 'Get facts about a specific animal', 'parameters': {'type': 'object', 'properties': {'animal': {'type': 'string', 'description': 'The name of the animal'}}, 'required': ['animal']}}}, {'type': 'function', 'function': {'name': 'get_top_animals', 'description': 'Get the names of the top N animals by size', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top animals'}}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about elephants.",
"role": "user"
},
{
"content": "{'name': 'get_animal_facts', 'arguments': {'animal': 'elephant'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_event_details', 'description': 'Get details about a specific event', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': 'The name of the event'}}, 'required': ['event_name']}}}, {'type': 'function', 'function': {'name': 'get_upcoming_events', 'description': 'Get the names of upcoming events', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': 'The region to consider'}}}, 'required': ['region']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat happened at the Met Gala?",
"role": "user"
},
{
"content": "{'name': 'get_event_details', 'arguments': {'event_name': 'Met Gala'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The joke category'}}, 'required': ['category']}}}, {'type': 'function', 'function': {'name': 'get_top_jokes', 'description': 'Get the top N jokes', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of jokes'}}, 'required': ['number']}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me a joke about animals.",
"role": "user"
},
{
"content": "{'name': 'get_joke', 'arguments': {'category': 'animals'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_flight_status', 'description': 'Get the status of a specific flight', 'parameters': {'type': 'object', 'properties': {'flight_number': {'type': 'string', 'description': 'The flight number'}}, 'required': ['flight_number']}}}, {'type': 'function', 'function': {'name': 'get_top_flights', 'description': 'Get the top N flights', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top flights'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the status of flight AA123?",
"role": "user"
},
{
"content": "{'name': 'get_flight_status', 'arguments': {'flight_number': 'AA123'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_recipe', 'description': 'Get the recipe for a specific dish', 'parameters': {'type': 'object', 'properties': {'dish_name': {'type': 'string', 'description': 'The name of the dish'}}, 'required': ['dish_name']}}}, {'type': 'function', 'function': {'name': 'get_top_recipes', 'description': 'Get the names of the top N recipes', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top recipes'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow do I make pancakes?",
"role": "user"
},
{
"content": "{'name': 'get_recipe', 'arguments': {'dish_name': 'pancakes'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of an array of stocks', 'parameters': {'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of stocks'}}, 'required': ['names']}}}, {'type': 'function', 'function': {'name': 'get_big_stocks', 'description': 'Get the names of the largest N stocks by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of largest stocks to get the names of, e.g. 25'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the stock price of Apple?",
"role": "user"
},
{
"content": "{'name': 'get_stock_price', 'arguments': {'names': ['Apple']}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_weather', 'description': 'Get the weather forecast for a specific location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the weather forecast for'}}, 'required': ['location']}}}, {'type': 'function', 'function': {'name': 'get_temperature', 'description': 'Get the current temperature of a location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the current temperature for'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the weather in London?",
"role": "user"
},
{
"content": "{'name': 'get_weather', 'arguments': {'location': 'London'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_crypto_price', 'description': 'Get the price of a specific cryptocurrency', 'parameters': {'type': 'object', 'properties': {'crypto_name': {'type': 'string', 'description': 'The name of the cryptocurrency'}}, 'required': ['crypto_name']}}}, {'type': 'function', 'function': {'name': 'get_top_cryptos', 'description': 'Get the names of the top N cryptocurrencies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top cryptocurrencies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the price of Ethereum?",
"role": "user"
},
{
"content": "{'name': 'get_crypto_price', 'arguments': {'crypto_name': 'Ethereum'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_country_info', 'description': 'Get information about a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}, 'required': ['country_name']}}}, {'type': 'function', 'function': {'name': 'get_population', 'description': 'Get the population of a specific country', 'parameters': {'type': 'object', 'properties': {'country_name': {'type': 'string', 'description': 'The name of the country'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Japan.",
"role": "user"
},
{
"content": "{'name': 'get_country_info', 'arguments': {'country_name': 'Japan'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_movie_details', 'description': 'Get details about a specific movie', 'parameters': {'type': 'object', 'properties': {'movie_name': {'type': 'string', 'description': 'The name of the movie'}}, 'required': ['movie_name']}}}, {'type': 'function', 'function': {'name': 'get_top_movies', 'description': 'Get the names of the top N movies by box office', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top movies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the plot of Titanic?",
"role": "user"
},
{
"content": "{'name': 'get_movie_details', 'arguments': {'movie_name': 'Titanic'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_book_details', 'description': 'Get details about a specific book', 'parameters': {'type': 'object', 'properties': {'book_name': {'type': 'string', 'description': 'The name of the book'}}, 'required': ['book_name']}}}, {'type': 'function', 'function': {'name': 'get_top_books', 'description': 'Get the names of the top N books by sales', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top books'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the summary of 'To Kill a Mockingbird'?",
"role": "user"
},
{
"content": "{'name': 'get_book_details', 'arguments': {'book_name': 'To Kill a Mockingbird'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_artist_info', 'description': 'Get information about a specific artist', 'parameters': {'type': 'object', 'properties': {'artist_name': {'type': 'string', 'description': 'The name of the artist'}}, 'required': ['artist_name']}}}, {'type': 'function', 'function': {'name': 'get_top_artists', 'description': 'Get the names of the top N artists', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top artists'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho is Leonardo da Vinci?",
"role": "user"
},
{
"content": "Leonardo da Vinci was an Italian polymath of the Renaissance.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_sports_scores', 'description': 'Get the latest sports scores for a specific game', 'parameters': {'type': 'object', 'properties': {'game': {'type': 'string', 'description': 'The name of the game'}}, 'required': ['game']}}}, {'type': 'function', 'function': {'name': 'get_top_teams', 'description': 'Get the names of the top N teams in a sport', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top teams'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the score of the Knicks game?",
"role": "user"
},
{
"content": "{'name': 'get_sports_scores', 'arguments': {'game': 'Knicks'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_event_schedule', 'description': 'Get the schedule of a specific event', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': 'The name of the event'}}, 'required': ['event_name']}}}, {'type': 'function', 'function': {'name': 'get_top_events', 'description': 'Get the names of the top N events', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of events'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the schedule for the Olympics?",
"role": "user"
},
{
"content": "{'name': 'get_event_schedule', 'arguments': {'event_name': 'Olympics'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_holiday_info', 'description': 'Get information about a specific holiday', 'parameters': {'type': 'object', 'properties': {'holiday_name': {'type': 'string', 'description': 'The name of the holiday'}}, 'required': ['holiday_name']}}}, {'type': 'function', 'function': {'name': 'get_upcoming_holidays', 'description': 'Get the names of the upcoming holidays', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': 'The region to consider'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhen is Christmas?",
"role": "user"
},
{
"content": "{'name': 'get_holiday_info', 'arguments': {'holiday_name': 'Christmas'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_quote_of_the_day', 'description': 'Get the quote of the day', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of the quote'}}, 'required': ['category']}}}, {'type': 'function', 'function': {'name': 'get_top_quotes', 'description': 'Get the top N quotes', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of quotes'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nGive me the quote of the day.",
"role": "user"
},
{
"content": "{'name': 'get_quote_of_the_day', 'arguments': {'category': 'inspirational'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_translation', 'description': 'Translate a text from one language to another', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to translate'}, 'from_language': {'type': 'string', 'description': 'The language to translate from'}, 'to_language': {'type': 'string', 'description': 'The language to translate to'}}, 'required': ['text', 'from_language', 'to_language']}}}, {'type': 'function', 'function': {'name': 'get_top_translations', 'description': 'Get the top N translations', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of translations'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTranslate 'Good morning' to Spanish.",
"role": "user"
},
{
"content": "{'name': 'get_translation', 'arguments': {'text': 'Good morning', 'from_language': 'English', 'to_language': 'Spanish'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_weather_forecast', 'description': 'Get the weather forecast for a specific number of days', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the weather forecast for'}, 'days': {'type': 'integer', 'description': 'The number of days to get the forecast for'}}, 'required': ['location', 'days']}}}, {'type': 'function', 'function': {'name': 'get_current_weather', 'description': 'Get the current weather for a specific location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to get the current weather for'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the 5-day weather forecast for New York?",
"role": "user"
},
{
"content": "{'name': 'get_weather_forecast', 'arguments': {'location': 'New York', 'days': 5}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_crypto_price', 'description': 'Get the price of a specific cryptocurrency', 'parameters': {'type': 'object', 'properties': {'crypto_name': {'type': 'string', 'description': 'The name of the cryptocurrency'}}, 'required': ['crypto_name']}}}, {'type': 'function', 'function': {'name': 'get_top_cryptos', 'description': 'Get the names of the top N cryptocurrencies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of cryptocurrencies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the current price of Dogecoin?",
"role": "user"
},
{
"content": "{'name': 'get_crypto_price', 'arguments': {'crypto_name': 'Dogecoin'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_historical_event', 'description': 'Get information about a specific historical event', 'parameters': {'type': 'object', 'properties': {'event_name': {'type': 'string', 'description': 'The name of the historical event'}}, 'required': ['event_name']}}}, {'type': 'function', 'function': {'name': 'get_top_historical_events', 'description': 'Get the names of the top N historical events', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of historical events'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the Battle of Waterloo.",
"role": "user"
},
{
"content": "{'name': 'get_historical_event', 'arguments': {'event_name': 'Battle of Waterloo'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_word_origin', 'description': 'Get the origin of a word', 'parameters': {'type': 'object', 'properties': {'word': {'type': 'string', 'description': 'The word to find the origin of'}}, 'required': ['word']}}}, {'type': 'function', 'function': {'name': 'get_word_definition', 'description': 'Get the definition of a word', 'parameters': {'type': 'object', 'properties': {'word': {'type': 'string', 'description': 'The word to define'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat's the origin of the word 'quarantine'?",
"role": "user"
},
{
"content": "{'name': 'get_word_origin', 'arguments': {'word': 'quarantine'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_poem', 'description': 'Get the text of a specific poem', 'parameters': {'type': 'object', 'properties': {'poem_name': {'type': 'string', 'description': 'The name of the poem'}}, 'required': ['poem_name']}}}, {'type': 'function', 'function': {'name': 'get_top_poems', 'description': 'Get the names of the top N poems', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of poems'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nGive me the text of 'The Road Not Taken'.",
"role": "user"
},
{
"content": "{'name': 'get_poem', 'arguments': {'poem_name': 'The Road Not Taken'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_comic_strip', 'description': 'Get the latest comic strip of a specific series', 'parameters': {'type': 'object', 'properties': {'comic_name': {'type': 'string', 'description': 'The name of the comic series'}}, 'required': ['comic_name']}}}, {'type': 'function', 'function': {'name': 'get_top_comics', 'description': 'Get the names of the top N comic strips', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of comic strips'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nShow me the latest Garfield comic.",
"role": "user"
},
{
"content": "{'name': 'get_comic_strip', 'arguments': {'comic_name': 'Garfield'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_festival_dates', 'description': 'Get the dates of a specific festival', 'parameters': {'type': 'object', 'properties': {'festival_name': {'type': 'string', 'description': 'The name of the festival'}}, 'required': ['festival_name']}}}, {'type': 'function', 'function': {'name': 'get_upcoming_festivals', 'description': 'Get the names of upcoming festivals', 'parameters': {'type': 'object', 'properties': {'region': {'type': 'string', 'description': 'The region to consider'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhen is Diwali this year?",
"role": "user"
},
{
"content": "{'name': 'get_festival_dates', 'arguments': {'festival_name': 'Diwali'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_space_mission_details', 'description': 'Get details about a specific space mission', 'parameters': {'type': 'object', 'properties': {'mission_name': {'type': 'string', 'description': 'The name of the space mission'}}, 'required': ['mission_name']}}}, {'type': 'function', 'function': {'name': 'get_upcoming_missions', 'description': 'Get the names of upcoming space missions', 'parameters': {'type': 'object', 'properties': {'agency': {'type': 'string', 'description': 'The space agency'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the Apollo 11 mission.",
"role": "user"
},
{
"content": "{'name': 'get_space_mission_details', 'arguments': {'mission_name': 'Apollo 11'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_stock_performance', 'description': 'Get the performance of a specific stock', 'parameters': {'type': 'object', 'properties': {'stock_symbol': {'type': 'string', 'description': 'The symbol of the stock'}}, 'required': ['stock_symbol']}}}, {'type': 'function', 'function': {'name': 'get_top_stocks', 'description': 'Get the names of the top N performing stocks', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top stocks'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nHow did AAPL perform last year?",
"role": "user"
},
{
"content": "{'name': 'get_stock_performance', 'arguments': {'stock_symbol': 'AAPL'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_animal_lifespan', 'description': 'Get the average lifespan of a specific animal', 'parameters': {'type': 'object', 'properties': {'animal_name': {'type': 'string', 'description': 'The name of the animal'}}, 'required': ['animal_name']}}}, {'type': 'function', 'function': {'name': 'get_long_lived_animals', 'description': 'Get the names of the longest-lived animals', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of animals'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is the lifespan of a sea turtle?",
"role": "user"
},
{
"content": "{'name': 'get_animal_lifespan', 'arguments': {'animal_name': 'sea turtle'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_music_album_info', 'description': 'Get information about a specific music album', 'parameters': {'type': 'object', 'properties': {'album_name': {'type': 'string', 'description': 'The name of the album'}}, 'required': ['album_name']}}}, {'type': 'function', 'function': {'name': 'get_top_albums', 'description': 'Get the names of the top N music albums', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of albums'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the album 'Thriller'.",
"role": "user"
},
{
"content": "{'name': 'get_music_album_info', 'arguments': {'album_name': 'Thriller'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_vehicle_specs', 'description': 'Get the specifications of a specific vehicle', 'parameters': {'type': 'object', 'properties': {'vehicle_model': {'type': 'string', 'description': 'The model of the vehicle'}}, 'required': ['vehicle_model']}}}, {'type': 'function', 'function': {'name': 'get_top_vehicles', 'description': 'Get the names of the top N vehicles', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of vehicles'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the specs of a Tesla Model S?",
"role": "user"
},
{
"content": "{'name': 'get_vehicle_specs', 'arguments': {'vehicle_model': 'Tesla Model S'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_food_nutrition', 'description': 'Get the nutritional information of a specific food item', 'parameters': {'type': 'object', 'properties': {'food_name': {'type': 'string', 'description': 'The name of the food item'}}, 'required': ['food_name']}}}, {'type': 'function', 'function': {'name': 'get_top_foods', 'description': 'Get the names of the top N food items by nutrition', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of food items'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the nutritional facts of an apple?",
"role": "user"
},
{
"content": "{'name': 'get_food_nutrition', 'arguments': {'food_name': 'apple'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_tourist_attractions', 'description': 'Get the top tourist attractions in a specific city', 'parameters': {'type': 'object', 'properties': {'city_name': {'type': 'string', 'description': 'The name of the city'}}, 'required': ['city_name']}}}, {'type': 'function', 'function': {'name': 'get_top_cities', 'description': 'Get the names of the top N cities to visit', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of cities'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the top attractions in Paris?",
"role": "user"
},
{
"content": "{'name': 'get_tourist_attractions', 'arguments': {'city_name': 'Paris'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_artist_info', 'description': 'Get information about a specific artist', 'parameters': {'type': 'object', 'properties': {'artist_name': {'type': 'string', 'description': 'The name of the artist'}}, 'required': ['artist_name']}}}, {'type': 'function', 'function': {'name': 'get_top_artists', 'description': 'Get the names of the top N artists', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of artists'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho is Vincent van Gogh?",
"role": "user"
},
{
"content": "Vincent van Gogh was a Dutch post-impressionist painter.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_movie_awards', 'description': 'Get the awards won by a specific movie', 'parameters': {'type': 'object', 'properties': {'movie_name': {'type': 'string', 'description': 'The name of the movie'}}, 'required': ['movie_name']}}}, {'type': 'function', 'function': {'name': 'get_top_award_winning_movies', 'description': 'Get the names of the top N award-winning movies', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of movies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat awards did 'The Godfather' win?",
"role": "user"
},
{
"content": "{'name': 'get_movie_awards', 'arguments': {'movie_name': 'The Godfather'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_language_info', 'description': 'Get information about a specific programming language', 'parameters': {'type': 'object', 'properties': {'language_name': {'type': 'string', 'description': 'The name of the programming language'}}, 'required': ['language_name']}}}, {'type': 'function', 'function': {'name': 'get_top_languages', 'description': 'Get the names of the top N programming languages', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of languages'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Python programming language.",
"role": "user"
},
{
"content": "{'name': 'get_language_info', 'arguments': {'language_name': 'Python'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_nutrition_facts', 'description': 'Get the nutritional facts of a specific food item', 'parameters': {'type': 'object', 'properties': {'food_name': {'type': 'string', 'description': 'The name of the food item'}}, 'required': ['food_name']}}}, {'type': 'function', 'function': {'name': 'get_top_foods', 'description': 'Get the names of the top N food items by nutrition', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of food items'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the nutrition facts of a banana?",
"role": "user"
},
{
"content": "{'name': 'get_nutrition_facts', 'arguments': {'food_name': 'banana'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_musician_info', 'description': 'Get information about a specific musician', 'parameters': {'type': 'object', 'properties': {'musician_name': {'type': 'string', 'description': 'The name of the musician'}}, 'required': ['musician_name']}}}, {'type': 'function', 'function': {'name': 'get_top_musicians', 'description': 'Get the names of the top N musicians', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of musicians'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho is John Lennon?",
"role": "user"
},
{
"content": "John Lennon was an English singer, songwriter, and peace activist, and a co-founder of The Beatles.",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_planet_info', 'description': 'Get information about a specific planet', 'parameters': {'type': 'object', 'properties': {'planet_name': {'type': 'string', 'description': 'The name of the planet'}}, 'required': ['planet_name']}}}, {'type': 'function', 'function': {'name': 'get_top_planets', 'description': 'Get the names of the top N planets by size', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of planets'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Mars.",
"role": "user"
},
{
"content": "{'name': 'get_planet_info', 'arguments': {'planet_name': 'Mars'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_sport_info', 'description': 'Get information about a specific sport', 'parameters': {'type': 'object', 'properties': {'sport_name': {'type': 'string', 'description': 'The name of the sport'}}, 'required': ['sport_name']}}}, {'type': 'function', 'function': {'name': 'get_top_sports', 'description': 'Get the names of the top N sports by popularity', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of sports'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is basketball?",
"role": "user"
},
{
"content": "{'name': 'get_sport_info', 'arguments': {'sport_name': 'basketball'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_company_info', 'description': 'Get information about a specific company', 'parameters': {'type': 'object', 'properties': {'company_name': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company_name']}}}, {'type': 'function', 'function': {'name': 'get_top_companies', 'description': 'Get the names of the top N companies by market cap', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of companies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Google.",
"role": "user"
},
{
"content": "{'name': 'get_company_info', 'arguments': {'company_name': 'Google'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_invention_info', 'description': 'Get information about a specific invention', 'parameters': {'type': 'object', 'properties': {'invention_name': {'type': 'string', 'description': 'The name of the invention'}}, 'required': ['invention_name']}}}, {'type': 'function', 'function': {'name': 'get_top_inventions', 'description': 'Get the names of the top N inventions', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of inventions'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the invention of the telephone.",
"role": "user"
},
{
"content": "{'name': 'get_invention_info', 'arguments': {'invention_name': 'telephone'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_dinosaur_info', 'description': 'Get information about a specific dinosaur', 'parameters': {'type': 'object', 'properties': {'dinosaur_name': {'type': 'string', 'description': 'The name of the dinosaur'}}, 'required': ['dinosaur_name']}}}, {'type': 'function', 'function': {'name': 'get_top_dinosaurs', 'description': 'Get the names of the top N dinosaurs by size', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of dinosaurs'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat do we know about the T-Rex?",
"role": "user"
},
{
"content": "{'name': 'get_dinosaur_info', 'arguments': {'dinosaur_name': 'T-Rex'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_mountain_info', 'description': 'Get information about a specific mountain', 'parameters': {'type': 'object', 'properties': {'mountain_name': {'type': 'string', 'description': 'The name of the mountain'}}, 'required': ['mountain_name']}}}, {'type': 'function', 'function': {'name': 'get_top_mountains', 'description': 'Get the names of the top N mountains by height', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of mountains'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Mount Everest.",
"role": "user"
},
{
"content": "{'name': 'get_mountain_info', 'arguments': {'mountain_name': 'Mount Everest'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_tree_info', 'description': 'Get information about a specific type of tree', 'parameters': {'type': 'object', 'properties': {'tree_name': {'type': 'string', 'description': 'The name of the tree'}}, 'required': ['tree_name']}}}, {'type': 'function', 'function': {'name': 'get_top_trees', 'description': 'Get the names of the top N trees by height', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of trees'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the oak tree.",
"role": "user"
},
{
"content": "{'name': 'get_tree_info', 'arguments': {'tree_name': 'oak tree'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_movie_ratings', 'description': 'Get the ratings of a specific movie', 'parameters': {'type': 'object', 'properties': {'movie_name': {'type': 'string', 'description': 'The name of the movie'}}, 'required': ['movie_name']}}}, {'type': 'function', 'function': {'name': 'get_top_rated_movies', 'description': 'Get the names of the top N rated movies', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top rated movies'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat are the ratings of 'Inception'?",
"role": "user"
},
{
"content": "{'name': 'get_movie_ratings', 'arguments': {'movie_name': 'Inception'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_historical_figure_info', 'description': 'Get information about a specific historical figure', 'parameters': {'type': 'object', 'properties': {'figure_name': {'type': 'string', 'description': 'The name of the historical figure'}}, 'required': ['figure_name']}}}, {'type': 'function', 'function': {'name': 'get_top_historical_figures', 'description': 'Get the names of the top N historical figures', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top historical figures'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWho was Alexander the Great?",
"role": "user"
},
{
"content": "{'name': 'get_historical_figure_info', 'arguments': {'figure_name': 'Alexander the Great'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_painting_info', 'description': 'Get information about a specific painting', 'parameters': {'type': 'object', 'properties': {'painting_name': {'type': 'string', 'description': 'The name of the painting'}}, 'required': ['painting_name']}}}, {'type': 'function', 'function': {'name': 'get_top_paintings', 'description': 'Get the names of the top N paintings', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top paintings'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about the painting 'Starry Night'.",
"role": "user"
},
{
"content": "{'name': 'get_painting_info', 'arguments': {'painting_name': 'Starry Night'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_space_fact', 'description': 'Get a fact about space', 'parameters': {'type': 'object', 'properties': {'fact_type': {'type': 'string', 'description': 'The type of space fact'}}, 'required': ['fact_type']}}}, {'type': 'function', 'function': {'name': 'get_top_space_facts', 'description': 'Get the top N facts about space', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of space facts'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me a fact about black holes.",
"role": "user"
},
{
"content": "{'name': 'get_space_fact', 'arguments': {'fact_type': 'black holes'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_cooking_tip', 'description': 'Get a cooking tip', 'parameters': {'type': 'object', 'properties': {'tip_type': {'type': 'string', 'description': 'The type of cooking tip'}}, 'required': ['tip_type']}}}, {'type': 'function', 'function': {'name': 'get_top_cooking_tips', 'description': 'Get the top N cooking tips', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of cooking tips'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nGive me a baking tip.",
"role": "user"
},
{
"content": "{'name': 'get_cooking_tip', 'arguments': {'tip_type': 'baking'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_celebrity_info', 'description': 'Get information about a specific celebrity', 'parameters': {'type': 'object', 'properties': {'celebrity_name': {'type': 'string', 'description': 'The name of the celebrity'}}, 'required': ['celebrity_name']}}}, {'type': 'function', 'function': {'name': 'get_top_celebrities', 'description': 'Get the names of the top N celebrities', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top celebrities'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nTell me about Tom Hanks.",
"role": "user"
},
{
"content": "{'name': 'get_celebrity_info', 'arguments': {'celebrity_name': 'Tom Hanks'}}",
"role": "assistant"
}
] |
[
{
"content": "The system should select a function from the following list if it can solve the user's question: [{'type': 'function', 'function': {'name': 'get_technology_trend', 'description': 'Get information about a specific technology trend', 'parameters': {'type': 'object', 'properties': {'trend_name': {'type': 'string', 'description': 'The name of the technology trend'}}, 'required': ['trend_name']}}}, {'type': 'function', 'function': {'name': 'get_top_technology_trends', 'description': 'Get the names of the top N technology trends', 'parameters': {'type': 'object', 'properties': {'number': {'type': 'integer', 'description': 'The number of top technology trends'}}}}}]. If calling a function can answer the question, return only a JSON with the call of that function. If not, return the answer as usual./nWhat is blockchain technology?",
"role": "user"
},
{
"content": "{'name': 'get_technology_trend', 'arguments': {'trend_name': 'blockchain'}}",
"role": "assistant"
}
] |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 33