IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Python class

ProcessorOutput

ProcessorOutput​

class max.pipelines.lib.auto_processor.ProcessorOutput

source

Bases: TypedDict

The inputs AutoProcessor returns for a batch.

Pass them to generate() as keyword arguments.

images​

images: list[list[bytes | Image]]

source

Each row’s images as encoded bytes or PIL images, in the order of its image parts.

messages​

messages: list[list[TextGenerationRequestMessage]]

source

One conversation per row, with a placeholder part for each image.