You can do this by not only passing in `functions` parameter, but also passing in the `function_call` parameter The `function_call` parameter forces it to respond using a particular function – allowing you to guarantee the output in a specific format
Force AI Function Output Format with function_call Parameter
By
–
Leave a Reply