Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import / find module named 'haystack_integrations.components.embedders' #563

Closed
Croccodoyle opened this issue Mar 9, 2024 · 2 comments · Fixed by deepset-ai/haystack-integrations#205
Labels
bug Something isn't working

Comments

@Croccodoyle
Copy link

I am trying to run the sample code here:
https://haystack.deepset.ai/integrations/mongodb#overview but cannot import haystack_integrations.components.embedders

To Reproduce
Running locally on python 3.11

Describe your environment (please complete the following information):

  • Sonoma 14.3.1 with Python 3.11
  • Haystack version: 2.0
  • Integration version: 2.0
@Croccodoyle Croccodoyle added the bug Something isn't working label Mar 9, 2024
@Croccodoyle
Copy link
Author

Resolved

Code on https://haystack.deepset.ai/integrations/mongodb#overview is:

from haystack_integrations.components.embedders.mongodb_atlas import MongoDBAtlasEmbeddingRetriever

Code should read:

from haystack_integrations.components.retrievers.mongodb_atlas import MongoDBAtlasEmbeddingRetriever

@masci
Copy link
Contributor

masci commented Mar 9, 2024

Thank you! Opened a PR to fix it here deepset-ai/haystack-integrations#205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants