Class DataAPIVector
java.lang.Object
com.datastax.astra.client.core.vector.DataAPIVector
- All Implemented Interfaces:
Serializable
DataAPIVector is a vector of embeddings.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
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
-