Creates embeddings using Cohere v2 API format.
ID of an available embedding model
"embed-english-v3.0"
Specifies the type of input passed to the model. Required for embedding models v3 and higher.
Array of strings to embed. Maximum 96 texts per call. At least one of texts, images, or inputs is required.
96Array of image data URIs for multimodal embedding. Maximum 1 image per call. Supports JPEG, PNG, WebP, GIF up to 5MB.
1Array of mixed text/image components for embedding. Maximum 96 per call.
96Specifies the return format types (float, int8, uint8, binary, ubinary, base64). Defaults to float if unspecified.
Number of dimensions for output embeddings (256, 512, 1024, 1536). Available only for embed-v4 and newer models.
Maximum tokens to embed per input before truncation.
Handling for inputs exceeding token limits. Defaults to END.