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
121 stars 119 forks source link

Chroma integration won't work after latest udpate #1136

Open farzbood opened 1 month ago

farzbood commented 1 month ago

Describe the bug The code example from the repo was working before the latest updates for the haystack-ai and chroma-haystack with both models (in-memory and persistent), but it just exit code execution at indexing.run line with no output and/or error code! (log points show that in screenshots below)

Terminal Output: (No Output/Error Code) image

Debug Console: (Execution never reach the next log point) image

To Reproduce Just run the example code in the repo.

Describe your environment (please complete the following information):

anakin87 commented 1 month ago

I cannot reproduce the error.

I tried the following on Ubuntu with Python 3.8 and Python 3.10.

I get the expected result:

{'file_path': '.../example/data/usr_51.txt'} 1.4255602359771729
{'file_path': '.../example/data/usr_41.txt'} 1.4427379369735718
{'file_path': '.../example/data/usr_29.txt'} 1.474898099899292

In our CI, we test the document store on Linux, Windows and MacOS.

Feel free to add more details if the error persists.

farzbood commented 4 weeks ago

Hi, Sorry for late feedback, I've created a clean .env and install chroma-haystack but still got the same results. So, tracing the code and turns out that the hnswlib in chroma crash the execution, opened an issue there and waiting for the response. will let you know about the results as soon as they respond. PEACE V