deepset-ai / haystack-core-integrations

Additional packages (components, document stores and the likes) to extend the capabilities of Haystack version 2.0 and onwards
https://haystack.deepset.ai
Apache License 2.0
122 stars 120 forks source link

AstraDocumentStore retrieval not filtering top-k documents and not providing a score to retrieved documents #1204

Closed magomar closed 11 hours ago

magomar commented 5 days ago

Describe the bug AstraDocumentStore search is retrieving 1000 documents, no top-k is being applied, and the retrieved documents have no score.

To Reproduce Create a RAG pipeline using AstraEmbeddingRetriever, check retrieved documents Note: This bug happens in astra-haystack-0.10.0, not in previous versions, 0.9.0 is ok

Describe your environment (please complete the following information):