# Class OrchestrationEmbeddingResponse

Response wrapper for orchestration embedding requests.

- Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:7

##### Index

### Constructors

constructor

### Properties

_data
response

### Methods

getEmbeddings
getIntermediateResults
getRequestId
getTokenUsage

## Constructors

### constructor

- new OrchestrationEmbeddingResponse(
  response: HttpResponse,
  ): OrchestrationEmbeddingResponse

  #### Parameters

  - response: HttpResponse

  #### Returns OrchestrationEmbeddingResponse

  - Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:10

## Properties

### `Readonly`_data

_data: EmbeddingsPostResponse

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

### `Readonly` response

response: HttpResponse

- Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:8

## Methods

### getEmbeddings

- getEmbeddings(): EmbeddingData[]

  Final embedding results with index and object type (which is always `embedding`) information.

  #### Returns EmbeddingData[]

  Array of embedding data objects containing both vectors, indices, and object types.

  - Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:15

### getIntermediateResults

- getIntermediateResults(): ModuleResultsBase | undefined

  Intermediate results from orchestration modules.

  #### Returns ModuleResultsBase | undefined

  Intermediate results or undefined.

  - Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:25

### getRequestId

- getRequestId(): string

  Gets the request ID for the embedding response.

  #### Returns string

  The request ID.

  - Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:30

### getTokenUsage

- getTokenUsage(): EmbeddingsUsage

  Usage information.

  #### Returns EmbeddingsUsage

  Usage information or undefined.

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

  - Defined in packages/orchestration/dist/orchestration-embedding-response.d.ts:20