Skip to main content

Python class

JsonObjectParam

JsonObjectParamโ€‹

class max.pipelines.request.JsonObjectParam(*, type='json_object')

source

Bases: BaseModel

Configuration for JSON object responses.

Parameters:

type (Literal['json_object'])

model_configโ€‹

model_config: ClassVar[ConfigDict] = {'frozen': True}

source

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

typeโ€‹

type: Literal['json_object']

source