You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to save the index like this: from langchain.indexes import VectorstoreIndexCreator index = VectorstoreIndexCreator(vectorstore_kwargs={'persist_directory': 'some_dir'}).from_loaders([loader])
It can run but in the folder all the save file shows the error:
Error! file_name is not UTF-8 encoded
Saving disabled.
See Console for more details.
Also, I am wondering how to load the index without training again (ex: text from .pdf)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We are trying to save the index like this:
from langchain.indexes import VectorstoreIndexCreator index = VectorstoreIndexCreator(vectorstore_kwargs={'persist_directory': 'some_dir'}).from_loaders([loader])
It can run but in the folder all the save file shows the error:
Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions