When calling /api/v1/task/classification-with-text-generation with a missing models object inside guardrail_config.input or guardrail_config.output objects in the payload, a 422 Failed to deserialize the JSON body response occurs.
Platform
Please provide details about the environment you are using, including the following:
Describe the bug
When calling
/api/v1/task/classification-with-text-generation
with a missingmodels
object insideguardrail_config.input
orguardrail_config.output
objects in the payload, a422 Failed to deserialize the JSON body
response occurs.Platform
Please provide details about the environment you are using, including the following:
Observed behavior
Request body
Response
Additional context
It happens for both
guardrail_config.output
andguardrail_config.input
.