# Class EmbeddingResponse

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

public final class EmbeddingResponse extends java.lang.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 java.lang.Object

  `clone, equals, finalize, 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()