Skip to main content

Python class

InputTextContent

InputTextContent​

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

source

Bases: BaseModel

Text content in input messages.

Parameters:

model_config​

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

source

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

text​

text: str

source

type​

type: Literal['input_text']

source