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

Issue with the creation or existence of the index required by Vectra in openv0\server\modules\multipass\passes\build-component-generation-context\rag_icons.js #41

Open
aphxtwin opened this issue May 3, 2024 · 0 comments

Comments

@aphxtwin
Copy link

aphxtwin commented May 3, 2024

I have had this error:
:\Users\54342\genuiformchat\src\openv0\server\node_modules\vectra\lib\LocalIndex.js:342
throw new Error('Index does not exist');
^

Error: Index does not exist
at LocalIndex.

And solved with this code snippet

// Check if the index is created, if not, create it if (!await vectorDB_index.isIndexCreated()) { await vectorDB_index.createIndex(); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant