deepset-ai / haystack-tutorials

Here you can find all the Tutorials for Haystack 📓
https://haystack.deepset.ai/tutorials
Apache License 2.0
257 stars 87 forks source link

Unable to use "from haystack.document_stores import FAISSDocumentStore" #238

Closed ashlytom closed 5 months ago

ashlytom commented 1 year ago

Describe the issue Whenever i try to import from haystack.document_stores import FAISSDocumentStore i get the following errors """ ImportError: cannot import name 'MODEL_TO_ENCODING' from 'tiktoken.model' (C:\Users\25013529\AppData\Local\Programs\Python\Python311\Lib\site-packages\tiktoken\model.py) """

To Reproduce Steps to reproduce the behavior: Run this from haystack.document_stores import FAISSDocumentStore

Expected behavior I expected the installation to be done and to start using the FAISSDocumentStore

What environment did you try to run the tutorial on?:

Additional context Add any other context about the problem here.

bilgeyucel commented 1 year ago

Hi @ashlytom, according to this stackoverflow entry, this issue should be fixed with 1.20.1. Do you still encounter this issue?