-
-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
PlatformIssues & PRs about the AI Platform componentIssues & PRs about the AI Platform componentRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
Description
Feature request
It'd be nice to have an optional symfony/validator integration that would transform Symfony validation constraints to JSON schema (for tool calls / structured output) + it would also check those with validator before invoking the tool. To make all this possible I think the json schema generation needs to be decoupled from With attribute and do something similar to https://github.com/nelmio/NelmioApiDocBundle/tree/5.x/src/ModelDescriber/Annotations.
In addition to using validation constraints, it'd still be possible to use #[With], the same way as you can use #[OA\Property] with nelmio api doc bundle in case it's not possible to infer the whole schema from validation constraints alone.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PlatformIssues & PRs about the AI Platform componentIssues & PRs about the AI Platform componentRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)