Not really.
GenAI as you said is generative, so its taking an input (say a few shot examples that says it needs to generate in a specific format), and then makes a decision and given an output in that format.
Best to use this with the JSON format output using the JSON Mode, as described here: https://platform.openai.com/docs/guides/text-generation/json-mode