Closed satyaloka93 closed 6 months ago
I saw my problem was trying to install haystack from their documentation. Uninstalling that and just using the repo's version fixed that. Also their api has changed a bit, so copying code from their documentation doesn't work.
Having the same problem uninstalling the haystack and installing using the repo doesnt work also. The same code 2 month ago worked just fine. ImportError: cannot import name 'send_event' from 'haystack.telemetry' (/usr/local/lib/python3.8/site-packages/haystack/telemetry/init.py)
Hi @ameerfaour95 @satyaloka93 I just validated the notebook you mentioned on a clean python env. I ran the following commands to install the right packages for the llama_cpp example. Note that I chose to install CPU-only pytorch.
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e .
pip install -e .[llama_cpp]
No response.
Can your examples include the haystack installation lines (with compatible versions)? I get errors on the newest farm-haystack and haystack-ai packages. When I downgraded to farm-haystack==1.17.2 (saw in another issue), then basic haystack 'getting started' code doesn't work. Are these projects synced?
Tried to run the notebook 'client_inference_with_Llama_cpp.ipynb'. Got the following error: