Package dev.langchain4j.model.embedding
See: Description
-
Interface Summary Interface Description EmbeddingModel Represents a model that can convert a given text into an embedding (vector representation of the text). TokenCountEstimator Represents an interface for estimating the count of tokens in various texts, text segments, etc. -
Class Summary Class Description DimensionAwareEmbeddingModel A dimension aware embedding model DisabledEmbeddingModel An EmbeddingModel which throws a ModelDisabledException for all of its methods This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality.