| Field | Type | Required | Description | Example |
|---|---|---|---|---|
model |
str | ✔️ | ID of the model to use. | mistral-embed |
inputs |
models.EmbeddingRequestInputs | ✔️ | Text to embed. | [ "Embed this sentence.", "As well as this one." ] |
output_dimension |
OptionalNullable[int] | ➖ | The dimension of the output embeddings. | |
output_dtype |
Optional[models.EmbeddingDtype] | ➖ | N/A | |
encoding_format |
Optional[models.EncodingFormat] | ➖ | N/A |