- For models that support structured output, Datawizz will pass your JSON Schema to leverage the built-in validation capabilities of the model.
- Additionally, Datawizz can independenly validate the output of the model against the JSON Schema you provide. This is usefull for models that don’t support structured output.
Configuring Structured Outputs
To use Datawizz Structured output validation, turn on the JSON Validation option at the end point level. This will run JSON validation if a JSON Schema is supplied in the request, and fail the request if the model response fails validation.