Package com.sap.ai.sdk.orchestration

# Class OrchestrationEmbeddingResponse

java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationEmbeddingResponse

public final class OrchestrationEmbeddingResponse extends Object
Response wrapper for orchestration embedding operations.

Wraps `EmbeddingsPostResponse` and provides convenient access to embedding vectors.

Since:
  1.12.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `List<float[]>`
  `getEmbeddingVectors()`
  Extracts embedding vectors as float arrays.
  `EmbeddingsPostResponse`
  `getOriginalResponse()`
  The original embedding response from the orchestration API.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getEmbeddingVectors

    @Nonnull public List<float[]> getEmbeddingVectors()
    Extracts embedding vectors as float arrays.
    Returns:
      list of embedding vectors, never `null`

  - ### getOriginalResponse

    @Nonnull public EmbeddingsPostResponse getOriginalResponse()
    The original embedding response from the orchestration API.

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`