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": "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]"}}}, {"name": "sort_numbers", "description": "Sorts a list of numbers in ascending or descending order.", "parameters": {"numbers": {"description": "The list of numbers to be sorted.", "type": "List[float]"}, "descending": {"description": "If True, sorts the numbers in descending order. Defaults to False.", "type": "bool, optional"}}}]
Suppose we have two vectors [1.2, -3.7, 2.1] and [0.3, 2.4, -1.5]. Can you find out their cosine similarity?
user
assistant
[{"name": "cosine_similarity", "arguments": {"vector_a": [1.2, -3.7, 2.1], "vector_b": [0.3, 2.4, -1.5]}}]