"These models have been fine-tuned to both detect when a function needs to be called (depending on the user’s input) and to respond with JSON that adheres to the function signature."
https://openai.com/blog/function-calling-and-other-api-updat...