mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-12 23:37:36 +00:00
* feat: added to init * feat: added return_embedding in to_dict * feat: added return_embedding to filter_documents * feat: added return_embedding to bm25_retrieval * refactor: embedding_retrieval to use return_embedding attribute rather than parameter passed * docs: added releasenote * fix: pop from doc_fields instead of changing return_documents attr to none * fix: made return_embedding an optional field and removed deprecation warning * fix: give return_embedding a higher priority than self.return_embedding * feat: changed default behaviour of return_embedding to True * chore: update tests after InMemory Document store update * Update releasenotes/notes/update-in-memory-document-store-17f555695caf9d52.yaml Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com> * chore: update docs * chore: enhanced clarity and redability of expression * test: return_embedding is set to false during initialization * test: overriding return_embedding inside * fix: changed the use of self.filter_documents to actual implementation inside `embedding_retrieval` Signed-off-by: rafaeljohn9 <rafaeljohb@gmail.com> --------- Signed-off-by: rafaeljohn9 <rafaeljohb@gmail.com> Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>