react-gpt icon indicating copy to clipboard operation
react-gpt copied to clipboard

Error in ingest.ts

Open vincentcau opened this issue 2 years ago • 0 comments

I have this error after run yarn && yarn ingest

Error: Vector store not initialised yet. Try calling addTextsfirst. at HNSWLib.save (/Users/vincentcau/Documents/workspace/react-gpt/node_modules/langchain/vectorstores/hnswlib.ts:105:13) at .../Documents/workspace/react-gpt/ingest.ts:26:36 at processTicksAndRejections (node:internal/process/task_queues:96:5) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

vincentcau avatar Mar 07 '23 14:03 vincentcau