Package com.sap.ai.sdk.foundationmodels.openai.model

# Class OpenAiEmbeddingData

java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiEmbeddingData

@Deprecated public class OpenAiEmbeddingData extends Object
Deprecated.
Result candidates for OpenAI embedding output.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OpenAiEmbeddingData()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  Deprecated.
  `boolean`
  `equals(Object o)`
  Deprecated.
  `float[]`
  `getEmbedding()`
  Deprecated.
  Array of size `1536` (OpenAI's embedding size) containing embedding vector.
  `Integer`
  `getIndex()`
  Deprecated.
  Index of choice.
  `String`
  `getObject()`
  Deprecated.
  Embedding object.
  `int`
  `hashCode()`
  Deprecated.
  `String`
  `toString()`
  Deprecated.

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

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

- ## Constructor Details

  - ### OpenAiEmbeddingData

    public OpenAiEmbeddingData()
    Deprecated.

- ## Method Details

  - ### equals

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

  - ### canEqual

    protected boolean canEqual(Object other)
    Deprecated.

  - ### hashCode

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

  - ### toString

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

  - ### getObject

    @Nonnull public String getObject()
    Deprecated.
    Embedding object.

  - ### getEmbedding

    @Nonnull public float[] getEmbedding()
    Deprecated.
    Array of size `1536` (OpenAI's embedding size) containing embedding vector.

  - ### getIndex

    @Nonnull public Integer getIndex()
    Deprecated.
    Index of choice.