For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
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']