from langchain_community.embeddings import __all__ EXPECTED_ALL = [ "OpenAIEmbeddings", "AzureOpenAIEmbeddings", "BaichuanTextEmbeddings", "ClarifaiEmbeddings", "CohereEmbeddings", "DatabricksEmbeddings", "ElasticsearchEmbeddings", "FastEmbedEmbeddings", "HuggingFaceEmbeddings", "HuggingFaceInferenceAPIEmbeddings", "InfinityEmbeddings", "GradientEmbeddings", "JinaEmbeddings", "LlamaCppEmbeddings", "LLMRailsEmbeddings", "HuggingFaceHubEmbeddings", "MlflowAIGatewayEmbeddings", "MlflowEmbeddings", "MlflowCohereEmbeddings", "ModelScopeEmbeddings", "TensorflowHubEmbeddings", "SagemakerEndpointEmbeddings", "HuggingFaceInstructEmbeddings", "MosaicMLInstructorEmbeddings", "SelfHostedEmbeddings", "SelfHostedHuggingFaceEmbeddings", "SelfHostedHuggingFaceInstructEmbeddings", "FakeEmbeddings", "DeterministicFakeEmbedding", "AlephAlphaAsymmetricSemanticEmbedding", "AlephAlphaSymmetricSemanticEmbedding", "SentenceTransformerEmbeddings", "GooglePalmEmbeddings", "MiniMaxEmbeddings", "VertexAIEmbeddings", "BedrockEmbeddings", "DeepInfraEmbeddings", "EdenAiEmbeddings", "DashScopeEmbeddings", "EmbaasEmbeddings", "OctoAIEmbeddings", "SpacyEmbeddings", "NLPCloudEmbeddings", "GPT4AllEmbeddings", "XinferenceEmbeddings", "LocalAIEmbeddings", "AwaEmbeddings", "HuggingFaceBgeEmbeddings", "ErnieEmbeddings", "JavelinAIGatewayEmbeddings", "OllamaEmbeddings", "QianfanEmbeddingsEndpoint", "JohnSnowLabsEmbeddings", "VoyageEmbeddings", "BookendEmbeddings", "VolcanoEmbeddings", "OCIGenAIEmbeddings", ] def test_all_imports() -> None: assert set(__all__) == set(EXPECTED_ALL)