Skip to main content

Python class

TextField

TextFieldโ€‹

class max.pipelines.request.TextField(*, type='text')

source

Bases: BaseModel

Text response format.

Parameters:

type (Literal['text'])

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['text']

source