Class DimensionAwareEmbeddingModel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int dimension() Returns the dimension of the Embedding produced by this embedding model.
      • Methods inherited from class dev.langchain4j.model.embedding.EmbeddingModel

        embed, embed, embedAll
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DimensionAwareEmbeddingModel

        DimensionAwareEmbeddingModel()
    • Method Detail

      • dimension

         int dimension()

        Returns the dimension of the Embedding produced by this embedding model.

        Returns:

        dimension of the embedding