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