nemo_microservices.types.embedding_create_params#

Module Contents#

Classes#

API#

class nemo_microservices.types.embedding_create_params.EmbeddingCreateParams#

Bases: typing_extensions.TypedDict

dimensions: int#

None

The dimensionality of the embedding vector.

encoding_format: str#

None

The encoding format of the input.

input: typing_extensions.Required[str | nemo_microservices._types.SequenceNotStr[str]]#

None

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

input_type: str#

None

The type of the input.

model: typing_extensions.Required[str]#

None

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

truncate: str#

None

Truncate the input text.

user: str#

None

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