# Class EmbeddingResponse

java.lang.Object
com.codename1.ai.EmbeddingResponse

public final class EmbeddingResponse extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EmbeddingResponse(List<Embedding> data, Usage usage, String modelUsed)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<Embedding>`
  `getData()`
  `String`
  `getModelUsed()`
  `Usage`
  `getUsage()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EmbeddingResponse

    public EmbeddingResponse(List<Embedding> data, Usage usage, String modelUsed)

- ## Method Details

  - ### getData

    public List<Embedding> getData()

  - ### getUsage

    public Usage getUsage()

  - ### getModelUsed

    public String getModelUsed()