You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "potential_energy", "description": "Calculates the electrostatic potential energy given the charge and voltage.", "parameters": {"charge": {"description": "The electric charge.", "type": "float"}, "voltage": {"description": "The electric potential difference (voltage).", "type": "float"}}}, {"name": "calculate_electric_field", "description": "Calculate the electric field produced by a charge at a certain distance.", "parameters": {"charge": {"description": "Charge in coulombs producing the electric field.", "type": "int", "default": 8.854e-12}, "distance": {"description": "Distance from the charge in meters where the field is being measured.", "type": "int", "default": 8.854e-12}, "permitivity": {"description": "Permitivity of the space where field is being calculated, default is 8.854e-12.", "type": "float"}}}, {"name": "cosine_similarity", "description": "Calculates the cosine similarity between two vectors.", "parameters": {"vector_a": {"description": "The first vector.", "type": "List[float]"}, "vector_b": {"description": "The second vector.", "type": "List[float]"}}}]
What is the potential energy of a charge of 10 coulombs at a voltage of 20 volts and the electric field produced by a charge of 20 coulombs at a distance of 10 meters?
user
assistant
[{"name": "potential_energy", "arguments": {"charge": 10, "voltage": 20}}, {"name": "calculate_electric_field", "arguments": {"charge": 20, "distance": 10}}]