# Type Alias AzureOpenAiEmbeddingParameters

AzureOpenAiEmbeddingParameters: {
dimensions?: number | null;
encoding_format?: string | null;
input: string | string[];
input_type?: string;
user?: string;
} & Record<string, any>

Azure OpenAI embedding input parameters.

#### Type Declaration

- ##### `Optional` dimensions?: number | null

  The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models.

  #### Example

      1

- ##### `Optional` encoding_format?: string | null

  The format to return the embeddings in. Can be either `float` or `base64`. Defaults to `float`.

  #### Example

      "float"

- ##### input: string | string[]

  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.

- ##### `Optional` input_type?: string

  Input type of embedding search to use.

  #### Example

      "query"

- ##### `Optional` user?: string

  A 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.

- Defined in packages/foundation-models/dist/azure-openai/azure-openai-embedding-types.d.ts:4