Class DataAPIVector

java.lang.Object
com.datastax.astra.client.core.vector.DataAPIVector
All Implemented Interfaces:
Serializable

public class DataAPIVector extends Object implements Serializable
DataAPIVector is a vector of embeddings.
See Also:
  • Constructor Details

    • DataAPIVector

      public DataAPIVector(float[] vector)
      Load the vector from a float array.
      Parameters:
      vector - float array with the mebddings
  • Method Details

    • dimension

      public int dimension()
      Access dimension of the Vector.
      Returns:
      dimensionality of the vector