Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default persist dir break vectorstoreindex persistance #750

Open
sirpy opened this issue Apr 22, 2024 · 0 comments
Open

change default persist dir break vectorstoreindex persistance #750

sirpy opened this issue Apr 22, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@sirpy
Copy link

sirpy commented Apr 22, 2024

If I generate vector index from documents with storage context initialized with
const storageContext = await storageContextFromDefaults({ persistDir: './cache' });
it generates only doc_store in cache folder and then VectorStoreIndex.init(storageContext) doesn't work
if I set persistDir to ./storage it works fine

@himself65 himself65 added the help wanted Extra attention is needed label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants