Class Embedding<EmbeddingType extends Number>


  • public class Embedding<EmbeddingType extends Number>
    extends Object
    Represents a strongly typed vector of numeric data.
    • 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