EmbeddingCreateParams#

class nemo_microservices.types.EmbeddingCreateParams

Bases: TypedDict

input: Required[str | List[str]]

Input text to embed, encoded as a string or array of tokens.

model: Required[str]

The model to use. Must be one of the available models.

dimensions: int

The dimensionality of the embedding vector.

encoding_format: str

The encoding format of the input.

input_type: str

The type of the input.

truncate: str

Truncate the input text.

user: str

Not Supported. A unique identifier representing your end-user.