system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'solve_quadratic_equation', 'description': 'Function solves the quadratic equation and returns its roots. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'a': {'type': 'integer', 'description': 'Coefficient of x squared'}, 'b': {'type': 'integer', 'description': 'Coefficient of x'}, 'c': {'type': 'integer', 'description': 'Constant term in the quadratic equation'}}, 'required': ['a', 'b', 'c']}}, {'name': 'portfolio_future_value', 'description': 'Calculate the future value of an investment in a specific stock based on the invested amount, expected annual return and number of years. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'stock': {'type': 'string', 'description': 'The ticker symbol of the stock.'}, 'invested_amount': {'type': 'integer', 'description': 'The invested amount in USD.'}, 'expected_annual_return': {'type': 'float', 'description': 'The expected annual return on investment as a decimal. E.g. 5% = 0.05'}, 'years': {'type': 'integer', 'description': 'The number of years for which the investment is made.'}}, 'required': ['stock', 'invested_amount', 'expected_annual_return', 'years']}}, {'name': 'get_stock_info', 'description': "Retrieves information about a specific stock based on company's name. Note that the provided function is in Python 3 syntax.", 'parameters': {'type': 'dict', 'properties': {'company_name': {'type': 'string', 'description': 'The name of the company.'}, 'detail_level': {'type': 'string', 'description': "Level of detail for stock information. Can be 'summary' or 'detailed'."}, 'market': {'type': 'string', 'description': "The stock market of interest. Default is 'NASDAQ'"}}, 'required': ['company_name', 'detail_level']}}]


user: "Could you help me with the following tasks? First, I want to know the future value of my investment in the stock with the ticker symbol 'AAPL'. I have invested $5000 in it and I am expecting an annual return of 7% (0.07). I plan to hold this investment for 10 years. Second, I am interested in getting detailed information about the company 'Microsoft'. I want this information from the 'NASDAQ' stock market. Lastly, I have a quadratic equation with coefficients a=5, b=-20, and c=15. Could you solve this equation for me and provide the roots?"

Available functions:
[{"name": "solve_quadratic_equation", "description": "Function solves the quadratic equation and returns its roots.", "parameters": {"type": "dict", "properties": {"a": {"type": "integer", "description": "Coefficient of x squared"}, "b": {"type": "integer", "description": "Coefficient of x"}, "c": {"type": "integer", "description": "Constant term in the quadratic equation"}}, "required": ["a", "b", "c"]}}, {"name": "portfolio_future_value", "description": "Calculate the future value of an investment in a specific stock based on the invested amount, expected annual return and number of years.", "parameters": {"type": "dict", "properties": {"stock": {"type": "string", "description": "The ticker symbol of the stock."}, "invested_amount": {"type": "integer", "description": "The invested amount in USD."}, "expected_annual_return": {"type": "float", "description": "The expected annual return on investment as a decimal. E.g. 5% = 0.05"}, "years": {"type": "integer", "description": "The number of years for which the investment is made."}}, "required": ["stock", "invested_amount", "expected_annual_return", "years"]}}, {"name": "get_stock_info", "description": "Retrieves information about a specific stock based on company's name.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "detail_level": {"type": "string", "description": "Level of detail for stock information. Can be 'summary' or 'detailed'."}, "market": {"type": "string", "description": "The stock market of interest. Default is 'NASDAQ'"}}, "required": ["company_name", "detail_level"]}}]

Ground truth: [{"portfolio_future_value": {"stock": ["AAPL", "\"AAPL\""], "invested_amount": [5000], "expected_annual_return": [0.07], "years": [10]}}, {"get_stock_info": {"company_name": ["Microsoft", "\"Microsoft\""], "detail_level": ["detailed", "\"detailed\""], "market": ["NASDAQ", "\"NASDAQ\"", ""]}}, {"solve_quadratic_equation": {"a": [5], "b": [-20], "c": [15]}}]