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

Docs: Update InMemory component import paths #6793

Closed
Tracked by #6792
bilgeyucel opened this issue Jan 19, 2024 · 0 comments
Closed
Tracked by #6792

Docs: Update InMemory component import paths #6793

bilgeyucel opened this issue Jan 19, 2024 · 0 comments
Assignees
Labels
2.x Related to Haystack v2.0

Comments

@bilgeyucel
Copy link
Contributor

bilgeyucel commented Jan 19, 2024

With 2.0.0-beta.5, import paths of InMemory components (document store and retrievers) are changed.

OLD:

from haystack.components.retrievers import InMemoryEmbeddingRetriever
from haystack.components.retrievers import InMemoryBM25Retriever
from haystack.document_stores import InMemoryDocumentStore

NEW:

from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever
from haystack.components.retrievers.in_memory import InMemoryBM25Retriever
from haystack.document_stores.in_memory import InMemoryDocumentStore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0
Projects
None yet
Development

No branches or pull requests

2 participants