Creates an embedding vector representing the input text.
API Reference
Creates an embedding vector representing the input text.
POST
Creates an embedding vector representing the input text.
التفويضات
API token from https://platform.acedata.cloud
الترويسات
Specifies the format of the response from the server.
الخيارات المتاحة:
application/json الجسم
application/json
ID of the embedding model to use (e.g., text-embedding-3-small, text-embedding-3-large).
الخيارات المتاحة:
text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002 Input to embed: a single string, an array of strings, or token arrays.
Format of the returned embeddings.
الخيارات المتاحة:
float, base64 Optional output embedding size when supported by the model.
النطاق المطلوب:
x >= 1
