IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Python class

InputFileContent

InputFileContent​

class max.pipelines.request.InputFileContent(*, type='input_file', file_url=None, file_data=None, filename=None)

source

Bases: BaseModel

File content in input messages.

Parameters:

  • type (Literal['input_file'])
  • file_url (str | None)
  • file_data (str | None)
  • filename (str | None)

file_data​

file_data: str | None

source

file_url​

file_url: str | None

source

filename​

filename: str | None

source

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

source