Python class
EmbeddingsGenerationOutput
EmbeddingsGenerationOutputβ
class max.interfaces.EmbeddingsGenerationOutput(embeddings)
Bases: Struct
Response structure for embedding generation.
-
Parameters:
-
embeddings (ndarray[tuple[Any, ...], dtype[floating[Any]]]) β The generated embeddings as a NumPy array.
embeddingsβ
The generated embeddings as a NumPy array.
is_doneβ
property is_done: bool
Indicates whether the embedding generation process is complete.
-
Returns:
-
Always
True, as embedding generation is a single-step operation.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!