Class Embedding<EmbeddingType extends Number>
- java.lang.Object
-
- com.microsoft.semantickernel.ai.embeddings.Embedding<EmbeddingType>
-
-
Constructor Summary
Constructors Constructor Description Embedding()Initializes a new instance of the Embedding class.Embedding(List<EmbeddingType> vector)Initializes a new instance of the Embedding class that contains numeric elements copied from the specified collection
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <EmbeddingType extends Number>
Embedding<EmbeddingType>empty()booleanequals(Object o)List<EmbeddingType>getVector()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Embedding
public Embedding()
Initializes a new instance of the Embedding class.
-
Embedding
public Embedding(List<EmbeddingType> vector)
Initializes a new instance of the Embedding class that contains numeric elements copied from the specified collection- Parameters:
vector- The collection whose elements are copied to the new Embedding
-
-
Method Detail
-
getVector
public List<EmbeddingType> getVector()
-
-