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.
Auktoriseringar
API token from https://platform.acedata.cloud
Rubriker
Specifies the format of the response from the server.
Tillgängliga alternativ:
application/json Kropp
application/json
ID of the embedding model to use (e.g., text-embedding-3-small, text-embedding-3-large).
Tillgängliga alternativ:
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.
Tillgängliga alternativ:
float, base64 Optional output embedding size when supported by the model.
Obligatoriskt intervall:
x >= 1Svar
Embeddings created successfully.

