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