client.embeddings.create()
Generate embeddings for one or more input strings.
Parameters
str
required
Embedding model ID. Example:
"minnow-em-v1".str | List[str]
required
A single string or a list of strings to embed.
int
Request a specific MRL dimension. Supported values:
896, 512, 256, 128, 64.
Defaults to the model’s native dimension (896 for minnow-em-v1).str
"float" (default) or "base64".dict
Any additional parameters passed through to the API.
Returns: EmbeddingResponse
Each
Embedding:
