Optionaldimensions?: number | nullThe number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
Optionalencoding_format?: string | nullThe format to return the embeddings in. Can be either float or base64. Defaults to float.
Input text to get embeddings for, encoded as a string. To get embeddings for multiple inputs in a single request, pass an array of strings. Each input must not exceed 2048 tokens in length. Unless you are embedding code, we suggest replacing newlines (\n) in your input with a single space, as we have observed inferior results when newlines are present.
Optionalinput_type?: stringInput type of embedding search to use.
Optionaluser?: stringA unique identifier representing your end-user, which can help monitoring and detecting abuse.
Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.
Azure OpenAI embedding input parameters.