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 · Issue #41 · nraiden/openv0 · GitHub
Skip to content

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

Description

@aphxtwin

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(); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions