run-llama/LlamaIndexTS

change default persist dir break vectorstoreindex persistance

Open

#750 opened on Apr 22, 2024

 (0 comments) (0 reactions) (0 assignees)TypeScript (524 forks)auto 404
help wanted

Repository metrics

Stars
 (3,078 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide