Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
17
text
stringlengths
310
14.3k
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'get_movie_details', 'description': 'Get details about a movie', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}}, 'required': ['title']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current price of a stock', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current price of a stock', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol (e.g. AAPL, GOOGL)'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'generate_qr_code', 'description': 'Generate a QR code for a given data', 'parameters': {'type': 'object', 'properties': {'data': {'type': 'string', 'description': 'The data to be encoded in the QR code'}, 'size': {'type': 'integer', 'description': 'The size of the QR code image'}}, 'required': ['data']}}} <|user|> Hi, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL, GOOG'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'start_location': {'type': 'string', 'description': 'The starting location'}, 'end_location': {'type': 'string', 'description': 'The ending location'}}, 'required': ['start_location', 'end_location']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'search_books', 'description': 'Search for books based on title or author', 'parameters': {'type': 'object', 'properties': {'query': {'type': 'string', 'description': 'The search query'}, 'author': {'type': 'string', 'description': 'The author of the book'}}, 'required': ['query']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'convert_currency', 'description': 'Convert an amount from one currency to another', 'parameters': {'type': 'object', 'properties': {'amount': {'type': 'number', 'description': 'The amount to convert'}, 'from_currency': {'type': 'string', 'description': 'The currency to convert from'}, 'to_currency': {'type': 'string', 'description': 'The currency to convert to'}}, 'required': ['amount', 'from_currency', 'to_currency']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'check_news', 'description': 'Check the latest news', 'parameters': {'type': 'object',...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'check_news', 'description': 'Check the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news (e.g. sports, technology)'}, 'country': {'type': 'string', 'description': 'The country for news coverage'}}, 'required': []}}} {'type': 'function', 'function': {'name': 'generate_random_password', 'description': 'Generate a random password', 'parameters': {'type': 'object', 'properties': {'length': {'type': 'integer', 'description': 'The length of the password'}, 'include_symbols': {'type': 'boolean', 'description': 'Include symbols in the password'}}, 'required': ['length']}}} <|user|> Can you tell me the latest sports news in the US? <|assistant|> {'name': 'check_news', 'arguments': {'category': 'sports', 'country': 'US'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'ob...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The news category'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'search_movies', 'description': 'Search for movies based on a specific genre, actor, or director', 'parameters': {'type': 'object', 'properties': {'genre': {'type': 'string', 'description': 'The genre of the movie'}, 'actor': {'type': 'string', 'description': 'The name of the actor'}, 'director': {'type': 'string', 'description': 'The name of the director'}}, 'required': ['genre', 'actor', 'director']}}} <|user|> Hi, can you get me the latest news in technology? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'technology'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_mortgage', 'description': 'Calculate the monthly mortgage payment', 'parameters': {'type': 'object', 'properties': {'loan_amount': {'type': 'number', 'description': 'The loan amount in dollars'}, 'interest_rate': {'type': 'number', 'description': 'The annual interest rate as a percentage'}, 'loan_term': {'type': 'integer', 'description': 'The loan term in years'}}, 'required': ['loan_amount', 'interest_rate', 'loan_term']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol (e.g., AAPL)'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> Hi, I need to know the current stock price of Apple. <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a specific company',...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a specific company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'calculate_age', 'description': 'Calculate the age based on the date of birth', 'parameters': {'type': 'object', 'properties': {'date_of_birth': {'type': 'string', 'description': 'The date of birth in YYYY-MM-DD format'}}, 'required': ['date_of_birth']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'send_email', 'description': 'Send an email to a recipient', 'parameters': {'type': 'object', 'properties': {'recipient': {'type': 'string', 'description': 'The email address of the recipient'}, 'subject': {'type': 'string', 'description': 'The subject of the email'}, 'message': {'type': 'string', 'description': 'The body of the email'}}, 'required': ['recipient', 'subject', 'message']}}} <|user|> Hey, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'stock_symbol': {'type': 'string', 'description': 'The symbol of the stock, e.g. AAPL'}}, 'required': ['stock_symbol']}}} {'type': 'function', 'function': {'name': 'create_new_post', 'description': 'Create a new post', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the post'}, 'content': {'type': 'string', 'description': 'The content/body of the post'}, 'tags': {'type': 'array', 'items': {'type': 'string'}, 'description': 'The tags associated with the post'}}, 'required': ['title', 'content']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'stock_symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'pr...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news (e.g. sports, politics, entertainment)'}, 'country': {'type': 'string', 'description': 'The country for which the news should be retrieved'}}, 'required': []}}} {'type': 'function', 'function': {'name': 'send_email', 'description': 'Send an email to a recipient', 'parameters': {'type': 'object', 'properties': {'recipient': {'type': 'string', 'description': 'The email address of the recipient'}, 'subject': {'type': 'string', 'description': 'The subject of the email'}, 'message': {'type': 'string', 'description': 'The content of the email'}}, 'required': ['recipient', 'subject', 'message']}}} <|user|> Hi, I would like to know the latest sports news in the United States. <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_prices', 'description': 'Get the current stock prices for a given list of c...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_prices', 'description': 'Get the current stock prices for a given list of companies', 'parameters': {'type': 'object', 'properties': {'companies': {'type': 'array', 'items': {'type': 'string'}, 'description': "The list of companies' stock prices to retrieve"}}, 'required': ['companies']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> Hi, I need the current stock prices for Apple, Microsoft and Tesla. <|assistant|> {'name': 'get_stock_prices', 'arguments': {'companies': ['Apple', 'Microsoft', 'Tesla']}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'calculate_tip', 'description': 'Calculate the tip amount based on the bill total and tip percentage', 'parameters': {'type': 'object', 'properties': {'bill_total': {'type': 'number', 'description': 'The total amount of the bill'}, 'tip_percentage': {'type': 'number', 'description': 'The percentage of the bill to tip'}}, 'required': ['bill_total', 'tip_percentage']}}} <|user|> Hi, can you tell me the current stock price of Apple Inc.? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple Inc.'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'search_books', 'description': 'Search for books based on keywords and filters', 'parameters': {'type': 'object', 'properties': {'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Keywords for book search'}, 'author': {'type': 'string', 'description': 'The author of the book'}, 'genre': {'type': 'string', 'description': 'The genre of the book'}}, 'required': ['keywords']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_loan_payment', 'description': 'Calculate the monthly loan payment', 'parameters': {'type': 'object', 'properties': {'loan_amount': {'type': 'number', 'description': 'The loan amount in dollars'}, 'interest_rate': {'type': 'number', 'description': 'The annual interest rate'}, 'loan_term': {'type': 'integer', 'description': 'The loan term in years'}}, 'required': ['loan_amount', 'interest_rate', 'loan_term']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'obj...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The news category'}, 'country': {'type': 'string', 'description': 'The country for the news'}}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> Can you get me the latest news from the United States? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'latest', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'generate_qrcode', 'description': 'Generate a QR code for a specific text', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to generate the QR code for'}}, 'required': ['text']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'obj...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news (e.g. sports, politics)'}, 'country': {'type': 'string', 'description': 'The country for which news should be fetched'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'stock_symbol': {'type': 'string', 'description': 'The symbol of the stock'}}, 'required': ['stock_symbol']}}} <|user|> Hi, I would like to know the latest sports news from the United States. <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'calculate_tip', 'description': 'Calculate the tip amount for a bill', 'parameters': {'type': 'object', 'properties': {'bill_amount': {'type': 'number', 'description': 'The amount of the bill'}, 'tip_percentage': {'type': 'number', 'description': 'The percentage tip to be given'}}, 'required': ['bill_amount', 'tip_percentage']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'ticker_symbol': {'type': 'string', 'description': "The stock's ticker symbol"}}, 'required': ['ticker_symbol']}}} {'type': 'function', 'function': {'name': 'search_wikipedia', 'description': 'Search for a term on Wikipedia', 'parameters': {'type': 'object', 'properties': {'term': {'type': 'string', 'description': 'The term to search for'}}, 'required': ['term']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'ticker_symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}, 'exchange': {'type': 'string', 'description': 'The stock exchange on which the company is listed'}}, 'required': ['company', 'exchange']}}} {'type': 'function', 'function': {'name': 'calculate_bmi', 'description': 'Calculate the body mass index (BMI)', 'parameters': {'type': 'object', 'properties': {'weight': {'type': 'number', 'description': 'The weight in kilograms'}, 'height': {'type': 'number', 'description': 'The height in meters'}}, 'required': ['weight', 'height']}}} <|user|> Hi, I would like to know the current stock price of Apple on NASDAQ. <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple', 'exchange': 'NASDAQ'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol of the company'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'create_event', 'description': 'Create a new event in the calendar', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the event'}, 'description': {'type': 'string', 'description': 'The description of the event'}, 'start_time': {'type': 'string', 'description': 'The start time of the event'}, 'end_time': {'type': 'string', 'description': 'The end time of the event'}}, 'required': ['title', 'start_time', 'end_time']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines from various sourc...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines from various sources', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news headlines to retrieve'}, 'country': {'type': 'string', 'description': 'The country for which news headlines should be retrieved'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'create_new_task', 'description': 'Create a new task', 'parameters': {'type': 'object', 'properties': {'task_name': {'type': 'string', 'description': 'The name of the task'}, 'due_date': {'type': 'string', 'description': 'The due date of the task'}, 'priority': {'type': 'string', 'description': 'The priority of the task'}}, 'required': ['task_name', 'due_date', 'priority']}}} <|user|> Hey, can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news', 'enum': ['business', 'entertainment', 'health', 'science', 'sports', 'technology']}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'search_restaurants', 'description': 'Search for restaurants based on location and cuisine', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to search for restaurants'}, 'cuisine': {'type': 'string', 'description': 'The cuisine to search for'}}, 'required': ['location', 'cuisine']}}} <|user|> Hi, I would like to know the latest news in technology. <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'technology'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'country': {'type': 'string', 'description': 'The country for which to fetch news'}}, 'required': ['country']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> Hi, I would like to know the latest news headlines for the United States. <|assistant|> {'name': 'get_news_headlines', 'arguments': {'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'convert_currency', 'description': 'Convert one currency to another', 'parameters': {'type': 'object', 'properties': {'amount': {'type': 'number', 'description': 'The amount to be converted'}, 'from_currency': {'type': 'string', 'description': 'The currency to be converted from'}, 'to_currency': {'type': 'string', 'description': 'The currency to be converted to'}}, 'required': ['amount', 'from_currency', 'to_currency']}}} <|user|> What's the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'pr...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'send_email', 'description': 'Send an email to a recipient', 'parameters': {'type': 'object', 'properties': {'recipient': {'type': 'string', 'description': 'The email address of the recipient'}, 'subject': {'type': 'string', 'description': 'The subject of the email'}, 'message': {'type': 'string', 'description': 'The body of the email'}}, 'required': ['recipient', 'subject', 'message']}}} <|user|> Can you get me the latest news in technology? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'technology'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current price of a stock', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current price of a stock', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol (e.g. AAPL)'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'send_email', 'description': 'Send an email to a recipient', 'parameters': {'type': 'object', 'properties': {'recipient': {'type': 'string', 'description': 'The email address of the recipient'}, 'subject': {'type': 'string', 'description': 'The subject of the email'}, 'message': {'type': 'string', 'description': 'The body of the email'}}, 'required': ['recipient', 'subject', 'message']}}} <|user|> Hi, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_top_news', 'description': 'Get the top news headlines', 'parameters': {'type': 'o...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_top_news', 'description': 'Get the top news headlines', 'parameters': {'type': 'object', 'properties': {'country': {'type': 'string', 'description': 'The country for which to get news'}}, 'required': ['country']}}} {'type': 'function', 'function': {'name': 'calculate_tip', 'description': 'Calculate the tip amount for a bill', 'parameters': {'type': 'object', 'properties': {'bill_amount': {'type': 'number', 'description': 'The total amount of the bill'}, 'tip_percentage': {'type': 'integer', 'description': 'The percentage of tip to be given'}}, 'required': ['bill_amount', 'tip_percentage']}}} <|user|> Can you tell me the top news in the United States today? <|assistant|> {'name': 'get_top_news', 'arguments': {'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'convert_temperature', 'description': 'Convert temperature from one unit to another', 'parameters': {'type': 'object', 'properties': {'temperature': {'type': 'number', 'description': 'The temperature value'}, 'from_unit': {'type': 'string', 'description': 'The unit to convert from'}, 'to_unit': {'type': 'string', 'description': 'The unit to convert to'}}, 'required': ['temperature', 'from_unit', 'to_unit']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'pr...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news to retrieve'}, 'country': {'type': 'string', 'description': 'The country for which to retrieve news'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'generate_qr_code', 'description': 'Generate a QR code for a given text or URL', 'parameters': {'type': 'object', 'properties': {'data': {'type': 'string', 'description': 'The text or URL to encode in the QR code'}}, 'required': ['data']}}} <|user|> Can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_daily_news', 'description': 'Get the latest daily news headlines', 'parameters': ...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_daily_news', 'description': 'Get the latest daily news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. sports, politics'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'generate_qr_code', 'description': 'Generate a QR code for a given text', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to be encoded in the QR code'}}, 'required': ['text']}}} <|user|> Can you get me the latest news on politics? <|assistant|> {'name': 'get_daily_news', 'arguments': {'category': 'politics'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'ob...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. sports, politics'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'calculate_mortgage_payment', 'description': 'Calculate the monthly mortgage payment', 'parameters': {'type': 'object', 'properties': {'loan_amount': {'type': 'number', 'description': 'The loan amount'}, 'interest_rate': {'type': 'number', 'description': 'The annual interest rate'}, 'loan_term': {'type': 'integer', 'description': 'The loan term in years'}}, 'required': ['loan_amount', 'interest_rate', 'loan_term']}}} <|user|> Hey, can you get me the latest sports news? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'send_email', 'description': 'Send an email to a recipient', 'parameters': {'type': 'object', 'properties': {'recipient': {'type': 'string', 'description': 'The email address of the recipient'}, 'subject': {'type': 'string', 'description': 'The subject of the email'}, 'message': {'type': 'string', 'description': 'The content of the email'}}, 'required': ['recipient', 'subject', 'message']}}} <|user|> Hi, can you tell me the current stock price of Microsoft? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'MSFT'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'pr...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The news category (e.g. sports, technology)'}, 'country': {'type': 'string', 'description': 'The country for which to fetch news (e.g. US, UK)'}}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_area', 'description': 'Calculate the area of a shape', 'parameters': {'type': 'object', 'properties': {'shape': {'type': 'string', 'description': 'The shape to calculate the area for'}, 'dimensions': {'type': 'object', 'properties': {'length': {'type': 'number', 'description': 'The length of the shape'}, 'width': {'type': 'number', 'description': 'The width of the shape'}, 'height': {'type': 'number', 'description': 'The height of the shape'}}, 'required': ['length', 'width']}}, 'required': ['shape', 'dimensions']}}} <|user|> Can you get me the latest sports news from the US? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'US'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Retrieve the current price of a stock', 'parameters...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Retrieve the current price of a stock', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol (e.g. AAPL, GOOGL, TSLA)'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'search_movies', 'description': 'Search for movies based on specified criteria', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}, 'director': {'type': 'string', 'description': 'The director of the movie'}, 'genre': {'type': 'string', 'description': 'The genre of the movie'}}, 'required': []}}} <|user|> Hi, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'country': {'type': 'string', 'description': 'The country for which to get news headlines'}}, 'required': ['country']}}} {'type': 'function', 'function': {'name': 'create_todo_list', 'description': 'Create a new todo list', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the todo list'}, 'tasks': {'type': 'array', 'items': {'type': 'string'}, 'description': 'The tasks to be included in the todo list'}}, 'required': ['title', 'tasks']}}} <|user|> Can you get me the latest news headlines for France? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'country': 'France'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a given company', 'p...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a given company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'find_nearby_places', 'description': 'Find nearby places of interest', 'parameters': {'type': 'object', 'properties': {'latitude': {'type': 'number', 'description': 'The latitude of the current location'}, 'longitude': {'type': 'number', 'description': 'The longitude of the current location'}, 'radius': {'type': 'integer', 'description': 'The search radius in meters'}, 'category': {'type': 'string', 'description': 'The category of places to search for'}}, 'required': ['latitude', 'longitude', 'radius', 'category']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_age', 'description': 'Calculate the age based on a birthdate', 'parameters': {'type': 'object', 'properties': {'birthdate': {'type': 'string', 'description': 'The birthdate in yyyy-mm-dd format'}}, 'required': ['birthdate']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'generate_random_number', 'description': 'Generate a random number within a specified range', 'parameters': {'type': 'object', 'properties': {'min': {'type': 'number', 'description': 'The minimum value of the range'}, 'max': {'type': 'number', 'description': 'The maximum value of the range'}}, 'required': ['min', 'max']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'obj...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news articles', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news articles to retrieve'}, 'country': {'type': 'string', 'description': 'The country for which to retrieve news articles'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'search_books', 'description': 'Search for books based on the provided criteria', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the book'}, 'author': {'type': 'string', 'description': 'The author of the book'}, 'genre': {'type': 'string', 'description': 'The genre of the book'}}, 'required': []}}} <|user|> Can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news (e.g. sports, politics, entertainment)'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'convert_currency', 'description': 'Convert one currency to another', 'parameters': {'type': 'object', 'properties': {'amount': {'type': 'number', 'description': 'The amount to be converted'}, 'from_currency': {'type': 'string', 'description': 'The currency to convert from'}, 'to_currency': {'type': 'string', 'description': 'The currency to convert to'}}, 'required': ['amount', 'from_currency', 'to_currency']}}} <|user|> Hi, can you get me the latest sports news? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'sports'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}, 'exchange': {'type': 'string', 'description': 'The stock exchange where the company is listed'}}, 'required': ['company', 'exchange']}}} {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. sports, politics'}}, 'required': ['category']}}} <|user|> Hi, I need to know the current stock price of Apple on NASDAQ. <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple', 'exchange': 'NASDAQ'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news based on user preferences', 'parameter...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news based on user preferences', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. sports, politics, entertainment'}, 'language': {'type': 'string', 'description': 'The language of news, e.g. English, Spanish, French'}, 'country': {'type': 'string', 'description': 'The country for news, e.g. USA, UK, India'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'search_images', 'description': 'Search for images', 'parameters': {'type': 'object', 'properties': {'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Keywords to search for images'}, 'color': {'type': 'string', 'description': 'The color of the images'}}, 'required': ['keywords']}}} <|user|> Hi, I would like to know the latest sports news in English from the USA. <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'language': 'English', 'country': 'USA'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'ob...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. sports, politics'}, 'country': {'type': 'string', 'description': 'The country for which news is required'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'convert_temperature', 'description': 'Convert temperature from one unit to another', 'parameters': {'type': 'object', 'properties': {'value': {'type': 'number', 'description': 'The temperature value to be converted'}, 'from_unit': {'type': 'string', 'description': 'The unit of the temperature value'}, 'to_unit': {'type': 'string', 'description': 'The desired unit to convert the temperature to'}}, 'required': ['value', 'from_unit', 'to_unit']}}} <|user|> Can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The symbol of the stock'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_bmi', 'description': 'Calculate the Body Mass Index (BMI)', 'parameters': {'type': 'object', 'properties': {'weight': {'type': 'number', 'description': 'The weight in kilograms'}, 'height': {'type': 'number', 'description': 'The height in meters'}}, 'required': ['weight', 'height']}}} <|user|> Hi, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a given company', 'p...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a given company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'search_movie', 'description': 'Search for movies based on title and genre', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}, 'genre': {'type': 'string', 'description': 'The genre of the movie'}}, 'required': ['title', 'genre']}}} <|user|> What's the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two points', 'parameters': {'type': 'object', 'properties': {'point1': {'type': 'object', 'properties': {'latitude': {'type': 'number', 'description': 'The latitude of the first point'}, 'longitude': {'type': 'number', 'description': 'The longitude of the first point'}}, 'required': ['latitude', 'longitude']}, 'point2': {'type': 'object', 'properties': {'latitude': {'type': 'number', 'description': 'The latitude of the second point'}, 'longitude': {'type': 'number', 'description': 'The longitude of the second point'}}, 'required': ['latitude', 'longitude']}}, 'required': ['point1', 'point2']}}} <|user|> Hi, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of a specific company', 'parame...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the stock price of a specific company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}, 'date': {'type': 'string', 'description': 'The date for which the stock price is required in YYYY-MM-DD format'}}, 'required': ['company', 'date']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> Hi, I need to know the stock price of Apple on 2021-09-01. <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple', 'date': '2021-09-01'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'generate_random_quote', 'description': 'Generate a random inspirational quote', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} <|user|> What's the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news based on category', 'parameters': {'ty...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news', 'description': 'Get the latest news based on category', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news'}, 'country': {'type': 'string', 'description': 'The country of news source'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'calculate_tip', 'description': 'Calculate the tip amount', 'parameters': {'type': 'object', 'properties': {'bill_amount': {'type': 'number', 'description': 'The total bill amount'}, 'tip_percentage': {'type': 'number', 'description': 'The percentage of tip to be given'}}, 'required': ['bill_amount', 'tip_percentage']}}} <|user|> Can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines from a specific so...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines from a specific source', 'parameters': {'type': 'object', 'properties': {'source': {'type': 'string', 'description': 'The news source'}}, 'required': ['source']}}} {'type': 'function', 'function': {'name': 'calculate_tip', 'description': 'Calculate the tip amount for a given bill', 'parameters': {'type': 'object', 'properties': {'bill_amount': {'type': 'number', 'description': 'The total bill amount'}, 'tip_percentage': {'type': 'number', 'description': 'The percentage of tip to be given'}}, 'required': ['bill_amount', 'tip_percentage']}}} <|user|> Hi, I would like to know the latest news from BBC. <|assistant|> {'name': 'get_news_headlines', 'arguments': {'source': 'BBC'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'schedule_meeting', 'description': 'Schedule a meeting with participants', 'parameters': {'type': 'object', 'properties': {'participants': {'type': 'array', 'items': {'type': 'string'}, 'description': 'The participants of the meeting'}, 'date': {'type': 'string', 'description': 'The date of the meeting'}, 'time': {'type': 'string', 'description': 'The time of the meeting'}}, 'required': ['participants', 'date', 'time']}}} <|user|> What's the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'stock_symbol': {'type': 'string', 'description': 'The symbol of the stock, e.g. AAPL'}}, 'required': ['stock_symbol']}}} {'type': 'function', 'function': {'name': 'calculate_loan_payment', 'description': 'Calculate the monthly loan payment', 'parameters': {'type': 'object', 'properties': {'loan_amount': {'type': 'number', 'description': 'The total loan amount'}, 'interest_rate': {'type': 'number', 'description': 'The annual interest rate'}, 'loan_term': {'type': 'integer', 'description': 'The loan term in years'}}, 'required': ['loan_amount', 'interest_rate', 'loan_term']}}} <|user|> Hey, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'stock_symbol': 'AAPL'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news headlines to retrieve'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'search_for_books', 'description': 'Search for books based on given criteria', 'parameters': {'type': 'object', 'properties': {'author': {'type': 'string', 'description': 'The author of the books'}, 'genre': {'type': 'string', 'description': 'The genre of the books'}}, 'required': ['author', 'genre']}}} <|user|> Can you get me the latest sports news? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'sports'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_random_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'find_gcd', 'description': 'Find the greatest common divisor of two numbers', 'parameters': {'type': 'object', 'properties': {'number1': {'type': 'integer', 'description': 'The first number'}, 'number2': {'type': 'integer', 'description': 'The second number'}}, 'required': ['number1', 'number2']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_random_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the latest news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news (e.g. sports, entertainment, politics)'}, 'country': {'type': 'string', 'description': 'The country for which news headlines are required'}}, 'required': ['category', 'country']}}} {'type': 'function', 'function': {'name': 'search_recipe', 'description': 'Search for recipes based on ingredients', 'parameters': {'type': 'object', 'properties': {'ingredients': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of ingredients'}}, 'required': ['ingredients']}}} <|user|> Can you get me the latest sports news from the United States? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'sports', 'country': 'United States'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a specific company',...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a specific company', 'parameters': {'type': 'object', 'properties': {'company_name': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company_name']}}} {'type': 'function', 'function': {'name': 'search_movies', 'description': 'Search for movies based on criteria', 'parameters': {'type': 'object', 'properties': {'title': {'type': 'string', 'description': 'The title of the movie'}, 'genre': {'type': 'string', 'description': 'The genre of the movie'}, 'release_year': {'type': 'integer', 'description': 'The release year of the movie'}}, 'required': []}}} <|user|> Hi, can you tell me the current stock price of Apple Inc.? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company_name': 'Apple Inc.'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'paramet...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price of a company', 'parameters': {'type': 'object', 'properties': {'company': {'type': 'string', 'description': 'The name of the company'}}, 'required': ['company']}}} {'type': 'function', 'function': {'name': 'get_random_fact', 'description': 'Get a random fact', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} <|user|> Hey, can you tell me the current stock price of Apple? <|assistant|> {'name': 'get_stock_price', 'arguments': {'company': 'Apple'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol, e.g. AAPL'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'source': {'type': 'string', 'description': 'The source location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['source', 'destination']}}} <|user|> Hi, can you tell me the current stock price of Microsoft? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'MSFT'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the current news headlines', 'parameters': {...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_news_headlines', 'description': 'Get the current news headlines', 'parameters': {'type': 'object', 'properties': {'category': {'type': 'string', 'description': 'The category of news, e.g. politics, sports'}}, 'required': ['category']}}} {'type': 'function', 'function': {'name': 'find_restaurants', 'description': 'Find restaurants in a specific location', 'parameters': {'type': 'object', 'properties': {'location': {'type': 'string', 'description': 'The location to search for restaurants'}, 'cuisine': {'type': 'string', 'description': 'The cuisine type for the restaurants'}, 'price_range': {'type': 'string', 'description': 'The price range for the restaurants'}}, 'required': ['location']}}} <|user|> Hey, can you get me the latest news headlines in politics? <|assistant|> {'name': 'get_news_headlines', 'arguments': {'category': 'politics'}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'prop...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_joke', 'description': 'Get a random joke', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}} {'type': 'function', 'function': {'name': 'calculate_distance', 'description': 'Calculate the distance between two locations', 'parameters': {'type': 'object', 'properties': {'origin': {'type': 'string', 'description': 'The origin location'}, 'destination': {'type': 'string', 'description': 'The destination location'}}, 'required': ['origin', 'destination']}}} <|user|> I'm feeling a bit down. Can you tell me a joke to cheer me up? <|assistant|> {'name': 'get_joke', 'arguments': {}}<|endoftext|>
[ { "content": "You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format.\n\n### Available tools:\n{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type'...
<|system|> You are an AI assistant with access to several tools (functions). Based on the user's question, output the correct function call in JSON format. ### Available tools: {'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price', 'parameters': {'type': 'object', 'properties': {'symbol': {'type': 'string', 'description': 'The stock symbol'}}, 'required': ['symbol']}}} {'type': 'function', 'function': {'name': 'generate_qr_code', 'description': 'Generate a QR code for a given text', 'parameters': {'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'The text to encode in the QR code'}, 'size': {'type': 'integer', 'description': 'The size of the QR code in pixels'}}, 'required': ['text']}}} <|user|> Hi, can you tell me the current price of Apple's stock? <|assistant|> {'name': 'get_stock_price', 'arguments': {'symbol': 'AAPL'}}<|endoftext|>
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
13