huh? sample code please? this should not be true since Structured Outputs came out - literally prevented from generating invalid json
(more: https://www.latent.space/p/openai-api-and-o1)
You have to set 'strict' to True manually to use the same grammar-based sampling they use for structured outputs.
https://platform.openai.com/docs/guides/function-calling?api...
huh? sample code please? this should not be true since Structured Outputs came out - literally prevented from generating invalid json
(more: https://www.latent.space/p/openai-api-and-o1)