{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EmbeddingRequest", "title": "EmbeddingRequest", "type": "object", "required": [ "model", "input" ], "properties": { "model": { "type": "string", "description": "ID of the model to use for generating embeddings.", "example": "mistral-embed" }, "input": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Input text to embed. Can be a single string or an array of strings for batch processing." }, "encoding_format": { "type": "string", "description": "The format to return the embeddings in.", "enum": [ "float" ], "default": "float" } } }