🔗 Embeddings Official Documentation

â‹™ Create Embeddings

Creates an embedding vector representing the input text.

msg.payload Properties

input string | array
Input text to embed, encoded as a string or array of tokens.
model string
ID of the model to use.
encoding_format string
The format to return the embeddings in. Can be either float or base64.
dimensions integer
The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
user string
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.