Erstellt Embeddings für Text mit OpenAIs Embedding-Modellen
model: Derzeit wird nur das text-embedding-ada-002 Modell unterstützt.encoding_format: Unterstützt sowohl float als auch base64 Formate.429 Too Many Requests Antwort.
Bitte beachte, dass die Rate Limits Änderungen unterliegen. Beziehe dich auf diese Dokumentation für die aktuellsten Informationen.
Falls du eine höhere Rate Limit benötigst, kontaktiere uns bitte unter [email protected].
API key as Bearer token. Format "Bearer YOUR_API_KEY"
API key as Bearer token. Format "Bearer YOUR_API_KEY"
The region of the API to use.
eu, us Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of tokens, e.g. ["text1", "text2"]. Each input must not exceed 8192 tokens in length.
ID of the model to use. You can use the List models API to see all of your available models, or see OpenAI's Model overview for descriptions of them.
The format to return the embeddings in. Can be either float or base64.
float, base64 The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
x >= 1A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.