With this PR , we introduced support for structured outputs in OpenAIChatGenerator and AzureOpenAIChatGenerator. We should now investigate whether other chat generators that inherit from OpenAIChatGenerator also support structured outputs via response_format using pydantic models or schema.
If support exists (or can be added), we should:
- Document this clearly in the component docstrings.
- Add tests to ensure structured output is handled properly.
Integrations to explore: