Example
Batch embeddings
Pass an array asinput to embed multiple texts in a single request:
Supported parameters
| Parameter | Notes |
|---|---|
model | Embedding model name |
input | String or array of strings |
encoding_format | float only |
Generate embedding vectors from text using the OpenAI-compatible embeddings API.
input to embed multiple texts in a single request:
| Parameter | Notes |
|---|---|
model | Embedding model name |
input | String or array of strings |
encoding_format | float only |