{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CreateEmbeddingRequest",
"type": "object",
"description": "Request body for creating embeddings.",
"properties": {
"input": {
"type": "string",
"description": "Input text to embed, encoded as a string or array of strings."
},
"user": {
"type": "string",
"description": "A unique identifier representing your end-user."
},
"input_type": {
"type": "string",
"description": "The input type for the embedding request."
},
"encoding_format": {
"type": "string",
"description": "The format to return the embeddings in."
},
"dimensions": {
"type": "integer",
"description": "The number of dimensions the resulting output embeddings should have."
}
}
}