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

Update import paths of InMemory document store and retrievers #6792

Closed
5 tasks done
bilgeyucel opened this issue Jan 19, 2024 · 0 comments
Closed
5 tasks done

Update import paths of InMemory document store and retrievers #6792

bilgeyucel opened this issue Jan 19, 2024 · 0 comments
Assignees
Labels
2.x Related to Haystack v2.0 type:refactor Not necessarily visible to the users

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

Tasks

  1. 2.x
    dfokina
  2. bilgeyucel
@bilgeyucel bilgeyucel added type:refactor Not necessarily visible to the users 2.x Related to Haystack v2.0 labels Jan 19, 2024
@bilgeyucel bilgeyucel self-assigned this Jan 19, 2024
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 type:refactor Not necessarily visible to the users
Projects
None yet
Development

No branches or pull requests

1 participant