# Class OrchestrationEmbeddingClient

Orchestration embedding client for generating embeddings with optional orchestration modules.

- Defined in packages/orchestration/dist/orchestration-embedding-client.d.ts:9

##### Index

### Constructors

constructor

### Methods

embed

## Constructors

### constructor

- new OrchestrationEmbeddingClient(
  config: EmbeddingModuleConfig,
  deploymentConfig?: DeploymentIdConfig | ResourceGroupConfig,
  destination?:
  | never
  | Without<HttpDestination> & DestinationFetchOptions & {
  serviceBindingTransformFn?: ServiceBindingTransformFunction;
  } & { destinationName: string; service?: undefined }
  | Without<
  DestinationFetchOptions & {
  serviceBindingTransformFn?: ServiceBindingTransformFunction;
  } & { destinationName: string; service?: undefined },
  > & Destination & { url: string },
  ): OrchestrationEmbeddingClient

  Creates an instance of the orchestration embedding client.

  #### Parameters

  - config: EmbeddingModuleConfig

    Embedding module configuration.

  - `Optional` deploymentConfig: DeploymentIdConfig | ResourceGroupConfig

    Deployment configuration.

  - `Optional` destination:
    | never
    | Without<HttpDestination> & DestinationFetchOptions & {
    serviceBindingTransformFn?: ServiceBindingTransformFunction;
    } & { destinationName: string; service?: undefined }
    | Without<
    DestinationFetchOptions & {
    serviceBindingTransformFn?: ServiceBindingTransformFunction;
    } & { destinationName: string; service?: undefined },
    > & Destination & { url: string }

    The destination to use for the request.

    - never
    - Without<HttpDestination> & DestinationFetchOptions & {
      serviceBindingTransformFn?: ServiceBindingTransformFunction;
      } & { destinationName: string; service?: undefined }

      - ##### `Optional` serviceBindingTransformFn?: ServiceBindingTransformFunction

        Custom transformation function to control how a Destination is built from the given Service.

      - ##### destinationName: string

        The name of the destination to retrieve from service bindings.

      - ##### `Optional` service?: undefined

    - Without<
      DestinationFetchOptions & {
      serviceBindingTransformFn?: ServiceBindingTransformFunction;
      } & { destinationName: string; service?: undefined },
      > & Destination & { url: string }

  #### Returns OrchestrationEmbeddingClient

  - Defined in packages/orchestration/dist/orchestration-embedding-client.d.ts:19

## Methods

### embed

- embed(
  request: EmbeddingRequest,
  requestConfig?: CustomRequestConfig,
  ): Promise<OrchestrationEmbeddingResponse>

  Generate embeddings for the given input.

  #### Parameters

  - request: EmbeddingRequest

    Embedding request configuration.

  - `Optional` requestConfig: CustomRequestConfig

    Custom request configuration.

  #### Returns Promise<OrchestrationEmbeddingResponse>

  Promise resolving to embedding response.

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

  - Defined in packages/orchestration/dist/orchestration-embedding-client.d.ts:26