Python class
JsonSchemaParam
JsonSchemaParamβ
class max.pipelines.request.JsonSchemaParam(*, type='json_schema', json_schema, name=None, description=None, strict=None)
Bases: BaseModel
Configuration for JSON schema-constrained responses.
-
Parameters:
descriptionβ
json_schemaβ
model_configβ
model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
nameβ
strictβ
typeβ
type: Literal['json_schema']
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!