run-llama/LlamaIndexTS

change default persist dir break vectorstoreindex persistance

Aperta

#750 aperta il 22 apr 2024

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (524 fork)auto 404
help wanted

Metriche repository

Star
 (3078 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor