Package dev.langchain4j.store.embedding
package dev.langchain4j.store.embedding
-
ClassDescriptionUtility class for calculating cosine similarity between two vectors.EmbeddingMatch<Embedded>Represents a matched embedding along with its relevance score (derivative of cosine distance), ID, and original embedded content.Represents a request to search in an
EmbeddingStore
.EmbeddingSearchResult<Embedded>Represents a result of a search in anEmbeddingStore
.EmbeddingStore<Embedded>Represents a store for embeddings, also known as a vector database.TheEmbeddingStoreIngestor
represents an ingestion pipeline and is responsible for ingestingDocument
s into anEmbeddingStore
.EmbeddingStoreIngestor builder.Represents the result of aEmbeddingStoreIngestor
ingestion process.Utility class for converting between cosine similarity and relevance score.