llamastack/bfcl_v3__old huggingface dataset:
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': 'get_crime_rate', 'description': 'Retrieve the official crime rate of a city. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The name of the city.'}, 'state': {'type': 'string', 'description': 'The state where the city is located.'}, 'type': {'type': 'string', 'description': "Optional. The type of crime. Default is 'violent'"}, 'year': {'type': 'integer', 'description': 'Optional. The year for the crime rate data. Default is year 2001.'}}, 'required': ['city', 'state']}}]


user: Provide me the official crime rate of violent crime in San Francisco in 2020.

Available functions:
[{"name": "get_crime_rate", "description": "Retrieve the official crime rate of a city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The name of the city."}, "state": {"type": "string", "description": "The state where the city is located."}, "type": {"type": "string", "description": "Optional. The type of crime. Default is 'violent'"}, "year": {"type": "integer", "description": "Optional. The year for the crime rate data. Default is year 2001."}}, "required": ["city", "state"]}}]

Ground truth: [{"get_crime_rate": {"city": ["San Francisco"], "state": ["California", "CA"], "type": ["violent", ""], "year": [2020]}}]
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': 'civil_cases.retrieve', 'description': 'Retrieve civil cases based on given parameters, including year, crime type, and location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'year': {'type': 'integer', 'description': 'Year of the cases'}, 'crime_type': {'type': 'string', 'description': 'Type of the crime.'}, 'location': {'type': 'string', 'description': 'Location of the case in the format of city name.'}}, 'required': ['year', 'crime_type', 'location']}}]


user: Retrieve cases from 2020 about theft crimes in Los Angeles, California

Available functions:
[{"name": "civil_cases.retrieve", "description": "Retrieve civil cases based on given parameters, including year, crime type, and location.", "parameters": {"type": "dict", "properties": {"year": {"type": "integer", "description": "Year of the cases"}, "crime_type": {"type": "string", "description": "Type of the crime."}, "location": {"type": "string", "description": "Location of the case in the format of city name."}}, "required": ["year", "crime_type", "location"]}}]

Ground truth: [{"civil_cases.retrieve": {"year": [2020], "crime_type": ["theft"], "location": ["Los Angeles", "Los Angeles, California"]}}]
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': 'lawyer.find_nearby', 'description': 'Locate nearby lawyers based on specific criteria like specialty, fee per hour and city. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The city and state, e.g. Chicago, IL.'}, 'specialty': {'type': 'array', 'items': {'type': 'string', 'enum': ['Civil', 'Divorce', 'Immigration', 'Business', 'Criminal']}, 'description': 'Specialization of the lawyer.'}, 'fee': {'type': 'integer', 'description': 'Hourly fee charged by lawyer'}}, 'required': ['city', 'specialty', 'fee']}}]


user: Find a lawyer specializing in divorce cases and charge fee less than 400 dollars per hour in Chicago.

Available functions:
[{"name": "lawyer.find_nearby", "description": "Locate nearby lawyers based on specific criteria like specialty, fee per hour and city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city and state, e.g. Chicago, IL."}, "specialty": {"type": "array", "items": {"type": "string", "enum": ["Civil", "Divorce", "Immigration", "Business", "Criminal"]}, "description": "Specialization of the lawyer."}, "fee": {"type": "integer", "description": "Hourly fee charged by lawyer"}}, "required": ["city", "specialty", "fee"]}}]

Ground truth: [{"lawyer.find_nearby": {"city": ["Chicago, IL.", "Chicago, IL"], "specialty": [["Divorce"]], "fee": [400]}}]
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': 'law.civil.get_case_details', 'description': 'Retrieve the details of a Supreme Court case given its title. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_title': {'type': 'string', 'description': 'Title of the Supreme Court case.'}, 'include_dissent': {'type': 'boolean', 'description': 'If true, the output will include details of the dissenting opinion.'}}, 'required': ['case_title', 'include_dissent']}}]


user: Retrieve the details of a Supreme Court case titled 'Roe v. Wade'.Include dissent information.

Available functions:
[{"name": "law.civil.get_case_details", "description": "Retrieve the details of a Supreme Court case given its title.", "parameters": {"type": "dict", "properties": {"case_title": {"type": "string", "description": "Title of the Supreme Court case."}, "include_dissent": {"type": "boolean", "description": "If true, the output will include details of the dissenting opinion."}}, "required": ["case_title", "include_dissent"]}}]

Ground truth: [{"law.civil.get_case_details": {"case_title": ["Roe v. Wade"], "include_dissent": [true]}}]
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': 'lawsuit_search', 'description': 'Search for lawsuits related to a specific company within a specific date range and location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company': {'type': 'string', 'description': 'The company related to the lawsuit.'}, 'start_date': {'type': 'string', 'description': 'Start of the date range for when the lawsuit was filed in the format of MM-DD-YYY.'}, 'location': {'type': 'string', 'description': 'Location where the lawsuit was filed in the format of full state name.'}, 'status': {'type': 'string', 'enum': ['ongoing', 'settled', 'dismissed'], 'description': "The status of the lawsuit. Default is 'ongoing'."}}, 'required': ['company', 'start_date', 'location']}}]


user: Search for ongoing lawsuits related to the company 'Google' filed after January 1, 2021 in California.

Available functions:
[{"name": "lawsuit_search", "description": "Search for lawsuits related to a specific company within a specific date range and location.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company related to the lawsuit."}, "start_date": {"type": "string", "description": "Start of the date range for when the lawsuit was filed in the format of MM-DD-YYY."}, "location": {"type": "string", "description": "Location where the lawsuit was filed in the format of full state name."}, "status": {"type": "string", "enum": ["ongoing", "settled", "dismissed"], "description": "The status of the lawsuit. Default is 'ongoing'."}}, "required": ["company", "start_date", "location"]}}]

Ground truth: [{"lawsuit_search": {"company": ["Google", "GOOG"], "start_date": ["01-01-2021", "January 1, 2021"], "location": ["California"], "status": ["ongoing", ""]}}]
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': 'court_case.search', 'description': 'Retrieves details about a court case using its docket number and location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'docket_number': {'type': 'string', 'description': 'The docket number for the case.'}, 'location': {'type': 'string', 'description': 'The location where the case is registered, in the format: state, e.g., Texas'}, 'full_text': {'type': 'boolean', 'default': 'false', 'description': 'Option to return the full text of the case ruling.'}}, 'required': ['docket_number', 'location']}}]


user: Find the details of the court case identified by docket number 123456 in Texas. Don't return full text

Available functions:
[{"name": "court_case.search", "description": "Retrieves details about a court case using its docket number and location.", "parameters": {"type": "dict", "properties": {"docket_number": {"type": "string", "description": "The docket number for the case."}, "location": {"type": "string", "description": "The location where the case is registered, in the format: state, e.g., Texas"}, "full_text": {"type": "boolean", "default": "false", "description": "Option to return the full text of the case ruling."}}, "required": ["docket_number", "location"]}}]

Ground truth: [{"court_case.search": {"docket_number": ["123456"], "location": ["Texas"], "full_text": [false, ""]}}]
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': 'law_case_search.find_historical', 'description': 'Search for a historical law case based on specific criteria like the subject and year. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'subject': {'type': 'string', 'description': "The subject matter of the case, e.g., 'fraud'"}, 'from_year': {'type': 'integer', 'description': 'The start year for the range of the case. The case should happen after this year.'}, 'to_year': {'type': 'integer', 'description': 'The end year for the range of the case. The case should happen before this year.'}}, 'required': ['subject', 'from_year', 'to_year']}}]


user: Find a historical law case about fraud from 2010 to 2015.

Available functions:
[{"name": "law_case_search.find_historical", "description": "Search for a historical law case based on specific criteria like the subject and year.", "parameters": {"type": "dict", "properties": {"subject": {"type": "string", "description": "The subject matter of the case, e.g., 'fraud'"}, "from_year": {"type": "integer", "description": "The start year for the range of the case. The case should happen after this year."}, "to_year": {"type": "integer", "description": "The end year for the range of the case. The case should happen before this year."}}, "required": ["subject", "from_year", "to_year"]}}]

Ground truth: [{"law_case_search.find_historical": {"subject": ["fraud"], "from_year": [2010], "to_year": [2015]}}]
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': 'fetch_law_case_details', 'description': 'Fetch details of a specific law case based on case number, year and court. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_number': {'type': 'integer', 'description': 'The specific number of the law case.'}, 'court': {'type': 'string', 'description': 'The city name where the court takes place'}, 'year': {'type': 'integer', 'description': 'The year in which the law case took place.'}}, 'required': ['case_number', 'court', 'year']}}]


user: Fetch details of a law case with number 43403 in New York court for year 2018.

Available functions:
[{"name": "fetch_law_case_details", "description": "Fetch details of a specific law case based on case number, year and court.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "integer", "description": "The specific number of the law case."}, "court": {"type": "string", "description": "The city name where the court takes place"}, "year": {"type": "integer", "description": "The year in which the law case took place."}}, "required": ["case_number", "court", "year"]}}]

Ground truth: [{"fetch_law_case_details": {"case_number": [43403], "court": ["New York"], "year": [2018]}}]
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': 'legal_case.fetch', 'description': 'Fetch detailed legal case information from database. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_id': {'type': 'string', 'description': 'The ID of the legal case.'}, 'details': {'type': 'boolean', 'description': 'True if need the detail info. '}}, 'required': ['case_id', 'details']}}]


user: How to obtain the detailed case information of the 'R vs Adams' legal case?

Available functions:
[{"name": "legal_case.fetch", "description": "Fetch detailed legal case information from database.", "parameters": {"type": "dict", "properties": {"case_id": {"type": "string", "description": "The ID of the legal case."}, "details": {"type": "boolean", "description": "True if need the detail info. "}}, "required": ["case_id", "details"]}}]

Ground truth: [{"legal_case.fetch": {"case_id": ["R vs Adams"], "details": [true]}}]
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': 'law_case_search', 'description': 'Search and retrieve law cases based on the topic, timeline, and location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'topic': {'type': 'string', 'description': 'The subject matter of the case.'}, 'year_range': {'type': 'array', 'items': {'type': 'integer'}, 'description': 'The start and end year for searching cases.'}, 'location': {'type': 'string', 'description': 'The location where the case is being heard.'}, 'judicial_system': {'type': 'string', 'description': "The specific judicial system in which to search (e.g. 'federal', 'state').", 'default': 'all'}}, 'required': ['topic', 'year_range', 'location']}}]


user: Find state law cases related to land disputes in the past 5 years from 2015 to 2021 in New York.

Available functions:
[{"name": "law_case_search", "description": "Search and retrieve law cases based on the topic, timeline, and location.", "parameters": {"type": "dict", "properties": {"topic": {"type": "string", "description": "The subject matter of the case."}, "year_range": {"type": "array", "items": {"type": "integer"}, "description": "The start and end year for searching cases."}, "location": {"type": "string", "description": "The location where the case is being heard."}, "judicial_system": {"type": "string", "description": "The specific judicial system in which to search (e.g. 'federal', 'state').", "default": "all"}}, "required": ["topic", "year_range", "location"]}}]

Ground truth: [{"law_case_search": {"topic": ["land disputes"], "year_range": [[2015, 2021]], "location": ["New York"], "judicial_system": ["state"]}}]
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': 'get_top_cases', 'description': 'Retrieve a list of the most influential or landmark cases in a specific field of law. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'field_of_law': {'type': 'string', 'description': 'The specific field of law e.g., constitutional law, criminal law, etc.'}, 'top_number': {'type': 'integer', 'description': 'The number of top cases to retrieve.'}, 'country': {'type': 'string', 'description': 'The country where the law cases should be retrieved from. Default is United States of America.'}}, 'required': ['field_of_law', 'top_number']}}]


user: Get me the top 10 landmark cases in constitutional law in China.

Available functions:
[{"name": "get_top_cases", "description": "Retrieve a list of the most influential or landmark cases in a specific field of law.", "parameters": {"type": "dict", "properties": {"field_of_law": {"type": "string", "description": "The specific field of law e.g., constitutional law, criminal law, etc."}, "top_number": {"type": "integer", "description": "The number of top cases to retrieve."}, "country": {"type": "string", "description": "The country where the law cases should be retrieved from. Default is United States of America."}}, "required": ["field_of_law", "top_number"]}}]

Ground truth: [{"get_top_cases": {"field_of_law": ["constitutional law", "constitutional"], "top_number": [10], "country": ["China", "CN"]}}]
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': 'lawyer.get_experience', 'description': 'Retrieve months of experience of a Lawyer on handling certain type of law cases. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'name': {'type': 'string', 'description': 'The full name of the Lawyer.'}, 'law_type': {'type': 'string', 'description': 'The type of law case. eg. Bankruptcy'}}, 'required': ['name', 'law_type']}}]


user: How many months of experience a Lawyer John Doe has on handling Bankruptcy cases.

Available functions:
[{"name": "lawyer.get_experience", "description": "Retrieve months of experience of a Lawyer on handling certain type of law cases.", "parameters": {"type": "dict", "properties": {"name": {"type": "string", "description": "The full name of the Lawyer."}, "law_type": {"type": "string", "description": "The type of law case. eg. Bankruptcy"}}, "required": ["name", "law_type"]}}]

Ground truth: [{"lawyer.get_experience": {"name": ["John Doe"], "law_type": ["Bankruptcy"]}}]
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': 'lawsuit_details.find', 'description': 'Find details of lawsuits involving a specific company from a given year. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company_name': {'type': 'string', 'description': 'Name of the company.'}, 'year': {'type': 'integer', 'description': 'Year of the lawsuit.'}, 'case_type': {'type': 'string', 'description': "Type of the lawsuit, e.g., 'IPR', 'Patent', 'Commercial', etc. Default is 'all'."}}, 'required': ['company_name', 'year']}}]


user: Find details of patent lawsuits involving the company 'Apple Inc.' from the year 2010.

Available functions:
[{"name": "lawsuit_details.find", "description": "Find details of lawsuits involving a specific company from a given year.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "Name of the company."}, "year": {"type": "integer", "description": "Year of the lawsuit."}, "case_type": {"type": "string", "description": "Type of the lawsuit, e.g., 'IPR', 'Patent', 'Commercial', etc. Default is 'all'."}}, "required": ["company_name", "year"]}}]

Ground truth: [{"lawsuit_details.find": {"company_name": ["Apple Inc."], "year": [2010], "case_type": ["Patent", "IPR"]}}]
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': 'get_lawsuit_cases', 'description': 'Retrieve all lawsuit cases related to a specific company during a particular year. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company_name': {'type': 'string', 'description': 'The name of the company.'}, 'year': {'type': 'integer', 'description': 'The specific year to search for lawsuit cases.'}, 'status': {'type': 'string', 'enum': ['open', 'closed', 'all'], 'description': "The status of the lawsuit cases to retrieve. If not specified, defaults to 'all'."}}, 'required': ['company_name', 'year']}}]


user: Find all Patent lawsuit cases of Facebook in 2018.

Available functions:
[{"name": "get_lawsuit_cases", "description": "Retrieve all lawsuit cases related to a specific company during a particular year.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "year": {"type": "integer", "description": "The specific year to search for lawsuit cases."}, "status": {"type": "string", "enum": ["open", "closed", "all"], "description": "The status of the lawsuit cases to retrieve. If not specified, defaults to 'all'."}}, "required": ["company_name", "year"]}}]

Ground truth: [{"get_lawsuit_cases": {"company_name": ["Facebook"], "year": [2018], "status": ["all", ""]}}]
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': 'get_lawsuit_details', 'description': 'Retrieve the detailed information about a lawsuit based on its case number and the court location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_number': {'type': 'string', 'description': 'The case number of the lawsuit.'}, 'court_location': {'type': 'string', 'description': 'The location of the court where the case is filed.'}, 'additional_details': {'type': 'array', 'items': {'type': 'string', 'enum': ['attorneys', 'plaintiffs', 'defendants', 'charges', 'court_updates']}, 'description': 'Optional. Array containing additional details to be fetched. Default is all.'}}, 'required': ['case_number', 'court_location']}}]


user: Find details about lawsuit case numbered 'LAX2019080202' in the Los Angeles court.

Available functions:
[{"name": "get_lawsuit_details", "description": "Retrieve the detailed information about a lawsuit based on its case number and the court location.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "The case number of the lawsuit."}, "court_location": {"type": "string", "description": "The location of the court where the case is filed."}, "additional_details": {"type": "array", "items": {"type": "string", "enum": ["attorneys", "plaintiffs", "defendants", "charges", "court_updates"]}, "description": "Optional. Array containing additional details to be fetched. Default is all."}}, "required": ["case_number", "court_location"]}}]

Ground truth: [{"get_lawsuit_details": {"case_number": ["LAX2019080202"], "court_location": ["Los Angeles"], "additional_details": ["", ["attorneys", "plaintiffs", "defendants", "charges", "court_updates"]]}}]
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': 'find_latest_court_case', 'description': 'Find the latest court case between two companies. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company1': {'type': 'string', 'description': 'The name of the first company.'}, 'company2': {'type': 'string', 'description': 'The name of the second company.'}, 'country': {'type': 'string', 'description': 'The country in which the court case is located.', 'default': 'USA'}}, 'required': ['company1', 'company2']}}]


user: Find the latest court case between Apple and Samsung occured in USA.

Available functions:
[{"name": "find_latest_court_case", "description": "Find the latest court case between two companies.", "parameters": {"type": "dict", "properties": {"company1": {"type": "string", "description": "The name of the first company."}, "company2": {"type": "string", "description": "The name of the second company."}, "country": {"type": "string", "description": "The country in which the court case is located.", "default": "USA"}}, "required": ["company1", "company2"]}}]

Ground truth: [{"find_latest_court_case": {"company1": ["Apple"], "company2": ["Samsung"], "country": ["USA", ""]}}]
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': 'lawsuits_search', 'description': 'Search for lawsuits against a specific company within a specific time and location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company_name': {'type': 'string', 'description': 'The name of the company.'}, 'location': {'type': 'string', 'description': 'The location where the lawsuit was filed.'}, 'year': {'type': 'integer', 'description': 'The year when the lawsuit was filed.'}, 'case_type': {'type': 'string', 'description': "The type of the case. Options include: 'civil', 'criminal', 'small_claims', etc. Default is 'all'."}}, 'required': ['company_name', 'location', 'year']}}]


user: Find the lawsuits filed against the company Google in California in the year 2020.

Available functions:
[{"name": "lawsuits_search", "description": "Search for lawsuits against a specific company within a specific time and location.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "location": {"type": "string", "description": "The location where the lawsuit was filed."}, "year": {"type": "integer", "description": "The year when the lawsuit was filed."}, "case_type": {"type": "string", "description": "The type of the case. Options include: 'civil', 'criminal', 'small_claims', etc. Default is 'all'."}}, "required": ["company_name", "location", "year"]}}]

Ground truth: [{"lawsuits_search": {"company_name": ["Google"], "location": ["California", "CA"], "year": [2020], "case_type": ["", "all"]}}]
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': 'get_lawsuit_details', 'description': 'Retrieve details of a lawsuit based on its case number and court location. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_number': {'type': 'string', 'description': 'Case number of the lawsuit.'}, 'court_location': {'type': 'string', 'description': 'The location of the court where the lawsuit was filed.'}, 'with_verdict': {'type': 'boolean', 'description': 'Flag to include verdict details if available. Default is False'}}, 'required': ['case_number', 'court_location']}}]


user: Get details of a lawsuit with case number '123456-ABC' filed in Los Angeles court with verdict

Available functions:
[{"name": "get_lawsuit_details", "description": "Retrieve details of a lawsuit based on its case number and court location.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "Case number of the lawsuit."}, "court_location": {"type": "string", "description": "The location of the court where the lawsuit was filed."}, "with_verdict": {"type": "boolean", "description": "Flag to include verdict details if available. Default is False"}}, "required": ["case_number", "court_location"]}}]

Ground truth: [{"get_lawsuit_details": {"case_number": ["123456-ABC"], "court_location": ["Los Angeles"], "with_verdict": [true]}}]
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': 'lawsuit_info', 'description': 'Retrieves details of a lawsuit given a case number Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_number': {'type': 'string', 'description': 'The unique identifier of the lawsuit case'}, 'year': {'type': 'integer', 'description': 'The year in which the lawsuit case was initiated. Default is 2023 if not specified.', 'optional': True, 'default': 2023}, 'location': {'type': 'string', 'description': "The location or court jurisdiction where the case was filed. Default is 'all'.", 'optional': True}}, 'required': ['case_number']}}]


user: Retrieve all the lawsuit details for case number XYZ123.

Available functions:
[{"name": "lawsuit_info", "description": "Retrieves details of a lawsuit given a case number", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "The unique identifier of the lawsuit case"}, "year": {"type": "integer", "description": "The year in which the lawsuit case was initiated. Default is 2023 if not specified.", "optional": true, "default": 2023}, "location": {"type": "string", "description": "The location or court jurisdiction where the case was filed. Default is 'all'.", "optional": true}}, "required": ["case_number"]}}]

Ground truth: [{"lawsuit_info": {"case_number": ["XYZ123"], "year": ["", 2023], "location": ["", "all"]}}]
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': 'lawsuit_search', 'description': 'Retrieve all lawsuits involving a particular entity from specified jurisdiction. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'entity': {'type': 'string', 'description': 'The entity involved in lawsuits.'}, 'county': {'type': 'string', 'description': 'The jurisdiction for the lawsuit search for example Alameda county.'}, 'state': {'type': 'string', 'description': 'The state for the lawsuit search. Default is California.'}}, 'required': ['entity', 'county']}}]


user: Search for current lawsuits filed against Apple in Santa Clara County.

Available functions:
[{"name": "lawsuit_search", "description": "Retrieve all lawsuits involving a particular entity from specified jurisdiction.", "parameters": {"type": "dict", "properties": {"entity": {"type": "string", "description": "The entity involved in lawsuits."}, "county": {"type": "string", "description": "The jurisdiction for the lawsuit search for example Alameda county."}, "state": {"type": "string", "description": "The state for the lawsuit search. Default is California."}}, "required": ["entity", "county"]}}]

Ground truth: [{"lawsuit_search": {"entity": ["Apple"], "county": ["Santa Clara County", "Santa Clara"], "state": ["California", ""]}}]
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': 'lawsuit.check_case', 'description': 'Verify the details of a lawsuit case and check its status using case ID. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'case_id': {'type': 'integer', 'description': 'The identification number of the lawsuit case.'}, 'closed_status': {'type': 'boolean', 'description': 'The status of the lawsuit case to be verified.'}}, 'required': ['case_id', 'closed_status']}}]


user: I need the details of the lawsuit case with case ID of 1234 and verify if it's already closed.

Available functions:
[{"name": "lawsuit.check_case", "description": "Verify the details of a lawsuit case and check its status using case ID.", "parameters": {"type": "dict", "properties": {"case_id": {"type": "integer", "description": "The identification number of the lawsuit case."}, "closed_status": {"type": "boolean", "description": "The status of the lawsuit case to be verified."}}, "required": ["case_id", "closed_status"]}}]

Ground truth: [{"lawsuit.check_case": {"case_id": [1234], "closed_status": [true]}}]
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': 'detailed_weather_forecast', 'description': 'Retrieve a detailed weather forecast for a specific location and duration including optional precipitation details. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city name that you want to get the weather for.'}, 'duration': {'type': 'integer', 'description': 'Duration in hours for the detailed forecast.'}, 'include_precipitation': {'type': 'boolean', 'description': 'Whether to include precipitation data in the forecast. Default is false.'}}, 'required': ['location', 'duration']}}]


user: What will be the weather in New York in the next 72 hours including the precipitation?

Available functions:
[{"name": "detailed_weather_forecast", "description": "Retrieve a detailed weather forecast for a specific location and duration including optional precipitation details.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city name that you want to get the weather for."}, "duration": {"type": "integer", "description": "Duration in hours for the detailed forecast."}, "include_precipitation": {"type": "boolean", "description": "Whether to include precipitation data in the forecast. Default is false."}}, "required": ["location", "duration"]}}]

Ground truth: [{"detailed_weather_forecast": {"location": ["New York", "New York, USA"], "duration": [72], "include_precipitation": [true]}}]
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': 'current_weather_condition', 'description': 'Get the current weather conditions of a specific city including temperature and humidity. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The city that you want to get the current weather conditions for.'}, 'country': {'type': 'string', 'description': 'The country of the city you specified.'}, 'measurement': {'type': 'string', 'description': "You can specify which unit to display the temperature in, 'c' for Celsius, 'f' for Fahrenheit. Default is 'c'."}}, 'required': ['city', 'country']}}]


user: What is the temperature in celsius and humidity level of Tokyo, Japan right now?

Available functions:
[{"name": "current_weather_condition", "description": "Get the current weather conditions of a specific city including temperature and humidity.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city that you want to get the current weather conditions for."}, "country": {"type": "string", "description": "The country of the city you specified."}, "measurement": {"type": "string", "description": "You can specify which unit to display the temperature in, 'c' for Celsius, 'f' for Fahrenheit. Default is 'c'."}}, "required": ["city", "country"]}}]

Ground truth: [{"current_weather_condition": {"city": ["Tokyo"], "country": ["Japan"], "measurement": ["c", ""]}}]