Mistral AI · Schema

EmbeddingObject

AgentsArtificial IntelligenceBatch ProcessingChatEmbeddingsFine-TuningLarge Language ModelsOCR

Properties

Name Type Description
object string The object type, always embedding.
embedding array The embedding vector as an array of floats.
index integer The index of the embedding in the list of embeddings.
View JSON Schema on GitHub

JSON Schema

mistral-ai-embeddingobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmbeddingObject",
  "title": "EmbeddingObject",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "The object type, always embedding.",
      "enum": [
        "embedding"
      ]
    },
    "embedding": {
      "type": "array",
      "description": "The embedding vector as an array of floats.",
      "items": {
        "type": "number",
        "format": "float"
      }
    },
    "index": {
      "type": "integer",
      "description": "The index of the embedding in the list of embeddings."
    }
  }
}