Class Embedding

java.lang.Object
com.alibaba.dashscope.types.embeddings.Embedding

public class Embedding extends Object
One embedding vector; type says which modality produced it.
  • Constructor Details

    • Embedding

      public Embedding()
  • Method Details

    • getIndex

      public int getIndex()
    • getType

      public String getType()
    • getEmbedding

      public List<Double> getEmbedding()
    • getSparseEmbedding

      public List<SparseEmbedding> getSparseEmbedding()