Class Embedding
java.lang.Object
com.codename1.ai.Embedding
A single embedding vector.
index matches the position of the
corresponding input string in the original request.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Embedding
public Embedding(float[] vector, int index)
-
-
Method Details
-
getVector
public float[] getVector() -
getIndex
public int getIndex() -
getDimensions
public int getDimensions()
-