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

@aphxtwin

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

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