Skip to main content

Embedding models

Embedding model classes are implemented by inheriting the Embeddings class.

This table lists all 100 derived classes.

Namespace ๐Ÿ”ปClass
langchain.chains.hyde.baseHypotheticalDocumentEmbedder
langchain.embeddings.cacheCacheBackedEmbeddings
langchain_ai21.embeddingsAI21Embeddings
langchain_aws.embeddings.bedrockBedrockEmbeddings
langchain_cohere.embeddingsCohereEmbeddings
langchain_community.embeddings.aleph_alphaAlephAlphaAsymmetricSemanticEmbedding
langchain_community.embeddings.aleph_alphaAlephAlphaSymmetricSemanticEmbedding
langchain_community.embeddings.anyscaleAnyscaleEmbeddings
langchain_community.embeddings.awaAwaEmbeddings
langchain_community.embeddings.azure_openaiAzureOpenAIEmbeddings
langchain_community.embeddings.baichuanBaichuanTextEmbeddings
langchain_community.embeddings.baidu_qianfan_endpointQianfanEmbeddingsEndpoint
langchain_community.embeddings.bedrockBedrockEmbeddings
langchain_community.embeddings.bookendBookendEmbeddings
langchain_community.embeddings.clarifaiClarifaiEmbeddings
langchain_community.embeddings.cloudflare_workersaiCloudflareWorkersAIEmbeddings
langchain_community.embeddings.clovaClovaEmbeddings
langchain_community.embeddings.cohereCohereEmbeddings
langchain_community.embeddings.dashscopeDashScopeEmbeddings
langchain_community.embeddings.databricksDatabricksEmbeddings
langchain_community.embeddings.deepinfraDeepInfraEmbeddings
langchain_community.embeddings.edenaiEdenAiEmbeddings
langchain_community.embeddings.elasticsearchElasticsearchEmbeddings
langchain_community.embeddings.embaasEmbaasEmbeddings
langchain_community.embeddings.ernieErnieEmbeddings
langchain_community.embeddings.fakeDeterministicFakeEmbedding
langchain_community.embeddings.fakeFakeEmbeddings
langchain_community.embeddings.fastembedFastEmbedEmbeddings
langchain_community.embeddings.gigachatGigaChatEmbeddings
langchain_community.embeddings.google_palmGooglePalmEmbeddings
langchain_community.embeddings.gpt4allGPT4AllEmbeddings
langchain_community.embeddings.gradient_aiGradientEmbeddings
langchain_community.embeddings.huggingfaceHuggingFaceBgeEmbeddings
langchain_community.embeddings.huggingfaceHuggingFaceEmbeddings
langchain_community.embeddings.huggingfaceHuggingFaceInferenceAPIEmbeddings
langchain_community.embeddings.huggingfaceHuggingFaceInstructEmbeddings
langchain_community.embeddings.huggingface_hubHuggingFaceHubEmbeddings
langchain_community.embeddings.infinityInfinityEmbeddings
langchain_community.embeddings.infinity_localInfinityEmbeddingsLocal
langchain_community.embeddings.ipex_llmIpexLLMBgeEmbeddings
langchain_community.embeddings.itrexQuantizedBgeEmbeddings
langchain_community.embeddings.javelin_ai_gatewayJavelinAIGatewayEmbeddings
langchain_community.embeddings.jinaJinaEmbeddings
langchain_community.embeddings.johnsnowlabsJohnSnowLabsEmbeddings
langchain_community.embeddings.laserLaserEmbeddings
langchain_community.embeddings.llamacppLlamaCppEmbeddings
langchain_community.embeddings.llamafileLlamafileEmbeddings
langchain_community.embeddings.llm_railsLLMRailsEmbeddings
langchain_community.embeddings.localaiLocalAIEmbeddings
langchain_community.embeddings.minimaxMiniMaxEmbeddings
langchain_community.embeddings.mlflowMlflowCohereEmbeddings
langchain_community.embeddings.mlflowMlflowEmbeddings
langchain_community.embeddings.mlflow_gatewayMlflowAIGatewayEmbeddings
langchain_community.embeddings.modelscope_hubModelScopeEmbeddings
langchain_community.embeddings.mosaicmlMosaicMLInstructorEmbeddings
langchain_community.embeddings.nemoNeMoEmbeddings
langchain_community.embeddings.nlpcloudNLPCloudEmbeddings
langchain_community.embeddings.oci_generative_aiOCIGenAIEmbeddings
langchain_community.embeddings.octoai_embeddingsOctoAIEmbeddings
langchain_community.embeddings.ollamaOllamaEmbeddings
langchain_community.embeddings.openaiOpenAIEmbeddings
langchain_community.embeddings.openvinoOpenVINOBgeEmbeddings
langchain_community.embeddings.openvinoOpenVINOEmbeddings
langchain_community.embeddings.optimum_intelQuantizedBiEncoderEmbeddings
langchain_community.embeddings.oracleaiOracleEmbeddings
langchain_community.embeddings.ovhcloudOVHCloudEmbeddings
langchain_community.embeddings.premaiPremAIEmbeddings
langchain_community.embeddings.sagemaker_endpointSagemakerEndpointEmbeddings
langchain_community.embeddings.sambanovaSambaStudioEmbeddings
langchain_community.embeddings.self_hostedSelfHostedEmbeddings
langchain_community.embeddings.self_hosted_hugging_faceSelfHostedHuggingFaceEmbeddings
langchain_community.embeddings.self_hosted_hugging_faceSelfHostedHuggingFaceInstructEmbeddings
langchain_community.embeddings.solarSolarEmbeddings
langchain_community.embeddings.spacy_embeddingsSpacyEmbeddings
langchain_community.embeddings.sparkllmSparkLLMTextEmbeddings
langchain_community.embeddings.tensorflow_hubTensorflowHubEmbeddings
langchain_community.embeddings.text2vecText2vecEmbeddings
langchain_community.embeddings.titan_takeoffTitanTakeoffEmbed
langchain_community.embeddings.vertexaiVertexAIEmbeddings
langchain_community.embeddings.volcengineVolcanoEmbeddings
langchain_community.embeddings.voyageaiVoyageEmbeddings
langchain_community.embeddings.xinferenceXinferenceEmbeddings
langchain_community.embeddings.yandexYandexGPTEmbeddings
langchain_community.embeddings.zhipuaiZhipuAIEmbeddings
langchain_core.embeddings.fakeDeterministicFakeEmbedding
langchain_core.embeddings.fakeFakeEmbeddings
langchain_elasticsearch.embeddingsElasticsearchEmbeddings
langchain_fireworks.embeddingsFireworksEmbeddings
langchain_google_genai.embeddingsGoogleGenerativeAIEmbeddings
langchain_google_genai.google_vector_storeServerSideEmbedding
langchain_google_vertexai.embeddingsVertexAIEmbeddings
langchain_huggingface.embeddings.huggingfaceHuggingFaceEmbeddings
langchain_huggingface.embeddings.huggingface_endpointHuggingFaceEndpointEmbeddings
langchain_ibm.embeddingsWatsonxEmbeddings
langchain_mistralai.embeddingsMistralAIEmbeddings
langchain_nomic.embeddingsNomicEmbeddings
langchain_nvidia_ai_endpoints.embeddingsNVIDIAEmbeddings
langchain_together.embeddingsTogetherEmbeddings
langchain_upstage.embeddingsUpstageEmbeddings
langchain_voyageai.embeddingsVoyageAIEmbeddings

Was this page helpful?


You can leave detailed feedback on GitHub.