haystack/releasenotes/notes/refactor-document-store-namespace-33f4433a2b121efc.yaml

18 lines
566 B
YAML
Raw Normal View History

---
upgrade:
- |
Change the imports for in_memory document store and retrievers from:
from haystack.document_stores import InMemoryDocumentStore
from haystack.components.retrievers import InMemoryEmbeddingRetriever
to:
from haystack.document_stores.in_memory import InMemoryDocumentStore
from haystack.components.retrievers.in_memory import InMemoryBM25Retriever
enhancements:
- |
Stop exposing `in_memory` package symbols in the `haystack.document_store` and
`haystack.components.retrievers` root namespaces.