Uses of Interface
dev.langchain4j.model.embedding.EmbeddingModel
Package
Description
-
Uses of EmbeddingModel in dev.langchain4j.classification
ModifierConstructorDescriptionEmbeddingModelTextClassifier
(EmbeddingModel embeddingModel, Map<L, ? extends Collection<String>> examplesByLabel) Creates a classifier with the default values forEmbeddingModelTextClassifier.maxResults
(1),EmbeddingModelTextClassifier.minScore
(0) andEmbeddingModelTextClassifier.meanToMaxScoreRatio
(0.5).EmbeddingModelTextClassifier
(EmbeddingModel embeddingModel, Map<L, ? extends Collection<String>> examplesByLabel, int maxResults, double minScore, double meanToMaxScoreRatio) Creates a classifier. -
Uses of EmbeddingModel in dev.langchain4j.model.azure
Modifier and TypeClassDescriptionclass
Represents an OpenAI embedding model, hosted on Azure, such as text-embedding-ada-002. -
Uses of EmbeddingModel in dev.langchain4j.model.bedrock
Modifier and TypeClassDescriptionclass
-
Uses of EmbeddingModel in dev.langchain4j.model.bedrock.internal
Modifier and TypeClassDescriptionclass
Abstract bedrock embedding model -
Uses of EmbeddingModel in dev.langchain4j.model.cohere
Modifier and TypeClassDescriptionclass
An implementation of anEmbeddingModel
that uses Cohere Embed API. -
Uses of EmbeddingModel in dev.langchain4j.model.dashscope
Modifier and TypeClassDescriptionclass
An implementation of anEmbeddingModel
that uses DashScope Embeddings API. -
Uses of EmbeddingModel in dev.langchain4j.model.embedding
Modifier and TypeClassDescriptionclass
A dimension aware embedding modelclass
AnEmbeddingModel
which throws aModelDisabledException
for all of its methods -
Uses of EmbeddingModel in dev.langchain4j.model.github
Modifier and TypeClassDescriptionclass
Represents an embedding model, hosted on GitHub Models, such as text-embedding-3-small. -
Uses of EmbeddingModel in dev.langchain4j.model.googleai
-
Uses of EmbeddingModel in dev.langchain4j.model.huggingface
-
Uses of EmbeddingModel in dev.langchain4j.model.jina
Modifier and TypeClassDescriptionclass
An implementation of anEmbeddingModel
that uses Jina Embeddings API. -
Uses of EmbeddingModel in dev.langchain4j.model.jlama
-
Uses of EmbeddingModel in dev.langchain4j.model.localai
-
Uses of EmbeddingModel in dev.langchain4j.model.mistralai
Modifier and TypeClassDescriptionclass
Represents a Mistral AI embedding model, such as mistral-embed. -
Uses of EmbeddingModel in dev.langchain4j.model.nomic
Modifier and TypeClassDescriptionclass
An integration with Nomic Atlas's Text Embeddings API. -
Uses of EmbeddingModel in dev.langchain4j.model.ollama
-
Uses of EmbeddingModel in dev.langchain4j.model.openai
Modifier and TypeClassDescriptionclass
Represents an OpenAI embedding model, such as text-embedding-ada-002. -
Uses of EmbeddingModel in dev.langchain4j.model.ovhai
Modifier and TypeClassDescriptionclass
Represents an OVHcloud embedding model. -
Uses of EmbeddingModel in dev.langchain4j.model.qianfan
Modifier and TypeClassDescriptionclass
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu -
Uses of EmbeddingModel in dev.langchain4j.model.vertexai
Modifier and TypeClassDescriptionclass
Represents a Google Vertex AI embedding model, such as textembedding-gecko. -
Uses of EmbeddingModel in dev.langchain4j.model.voyageai
Modifier and TypeClassDescriptionclass
An implementation of anEmbeddingModel
that uses Voyage AI Embedding API. -
Uses of EmbeddingModel in dev.langchain4j.model.workersai
-
Uses of EmbeddingModel in dev.langchain4j.model.zhipu
Modifier and TypeClassDescriptionclass
Represents an ZhipuAI embedding model, such as embedding-2 and embedding-3. -
Uses of EmbeddingModel in dev.langchain4j.rag.content.retriever
Modifier and TypeMethodDescriptionEmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder.embeddingModel
(EmbeddingModel embeddingModel) ModifierConstructorDescriptionEmbeddingStoreContentRetriever
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel) EmbeddingStoreContentRetriever
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel, int maxResults) EmbeddingStoreContentRetriever
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel, Integer maxResults, Double minScore) -
Uses of EmbeddingModel in dev.langchain4j.rag.content.retriever.azure.search
Modifier and TypeMethodDescriptionAzureAiSearchContentRetriever.Builder.embeddingModel
(EmbeddingModel embeddingModel) Sets the Embedding Model.ModifierConstructorDescriptionAzureAiSearchContentRetriever
(String endpoint, com.azure.core.credential.AzureKeyCredential keyCredential, com.azure.core.credential.TokenCredential tokenCredential, boolean createOrUpdateIndex, int dimensions, com.azure.search.documents.indexes.models.SearchIndex index, String indexName, EmbeddingModel embeddingModel, int maxResults, double minScore, AzureAiSearchQueryType azureAiSearchQueryType, AzureAiSearchFilterMapper filterMapper, Filter filter) -
Uses of EmbeddingModel in dev.langchain4j.retriever
Modifier and TypeMethodDescriptionstatic EmbeddingStoreRetriever
EmbeddingStoreRetriever.from
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel) Deprecated, for removal: This API element is subject to removal in a future version.static EmbeddingStoreRetriever
EmbeddingStoreRetriever.from
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel, int maxResults) Deprecated, for removal: This API element is subject to removal in a future version.static EmbeddingStoreRetriever
EmbeddingStoreRetriever.from
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel, int maxResults, double minScore) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionEmbeddingStoreRetriever
(EmbeddingStore<TextSegment> embeddingStore, EmbeddingModel embeddingModel, int maxResults, Double minScore) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EmbeddingModel in dev.langchain4j.spi.model.embedding
-
Uses of EmbeddingModel in dev.langchain4j.store.embedding
Modifier and TypeMethodDescriptionEmbeddingStoreIngestor.Builder.embeddingModel
(EmbeddingModel embeddingModel) Sets the embedding model.ModifierConstructorDescriptionEmbeddingStoreIngestor
(DocumentTransformer documentTransformer, DocumentSplitter documentSplitter, TextSegmentTransformer textSegmentTransformer, EmbeddingModel embeddingModel, EmbeddingStore<TextSegment> embeddingStore) Creates an instance of anEmbeddingStoreIngestor
.