react-gpt
react-gpt copied to clipboard
Error in ingest.ts
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.