Skip to main content

Python class

TextParam

TextParamโ€‹

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

source

Bases: BaseModel

Configuration for text generation.

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