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

EmbeddingsGenerationOutput

EmbeddingsGenerationOutput​

class max.pipelines.modeling.types.EmbeddingsGenerationOutput(embeddings)

source

Bases: Struct

Response structure for embedding generation.

Parameters:

embeddings (ndarray[tuple[Any, ...], dtype[floating[Any]]]) – The generated embeddings as a NumPy array.

embeddings​

embeddings: ndarray[tuple[Any, ...], dtype[floating[Any]]]

source

The generated embeddings as a NumPy array.

is_done​

property is_done: bool

source

Indicates whether the embedding generation process is complete.

Returns:

Always True, as embedding generation is a single-step operation.