Skip to content

Conversation

dheineman
Copy link
Contributor

@dheineman dheineman commented Aug 29, 2025

Q A
Bug fix? no
New feature? yes
Docs? no
Issues Fix #364
License MIT

Allows the #[With] attribute to be set on properties thus making it usable on structured output classes.

@carsonbot carsonbot changed the title Allow the JsonSchema With attribute to be used for structured output Allow the JsonSchema With attribute to be used for structured output Aug 29, 2025
@OskarStark OskarStark added the Platform Issues & PRs about the AI Platform component label Aug 29, 2025
@carsonbot carsonbot changed the title Allow the JsonSchema With attribute to be used for structured output [Platform] Allow the JsonSchema With attribute to be used for structured output Aug 29, 2025
@OskarStark OskarStark changed the title [Platform] Allow the JsonSchema With attribute to be used for structured output [Platform] Allow to use the #[With] attribute for structured output Aug 29, 2025
@chr-hertel
Copy link
Member

Thank you @dheineman.

@chr-hertel chr-hertel merged commit eac6a44 into symfony:main Aug 29, 2025
7 checks passed
@dheineman dheineman deleted the with-structured-output branch September 1, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Platform Issues & PRs about the AI Platform component Status: Reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow using the With Attribute on structured output PHP class properties

4 participants