You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting it up and configuring it, I get this error when running it.
TypeError: mongodb_rag_core_1.MongoClient is not a constructor
at makeIngestMetaStore (/root/chatbot/examples/quick-start/packages/ingest/node_modules/mongodb-rag-ingest/build/IngestMetaStore.js:9:20)
at ingestMetaStore (/root/chatbot/examples/quick-start/packages/ingest/build/ingest.config.js:46:73)
at resolve (/root/chatbot/examples/quick-start/packages/ingest/node_modules/mongodb-rag-ingest/build/withConfig.js:105:56)
at /root/chatbot/examples/quick-start/packages/ingest/node_modules/mongodb-rag-ingest/build/withConfig.js:86:40
at Array.map (<anonymous>)
at resolveConfig (/root/chatbot/examples/quick-start/packages/ingest/node_modules/mongodb-rag-ingest/build/withConfig.js:85:73)
at withConfig (/root/chatbot/examples/quick-start/packages/ingest/node_modules/mongodb-rag-ingest/build/withConfig.js:52:45)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I don't understand what I causing this issue as its not mentioned anywhere from what I can see.
I did npm i in the root of the project and I also tried to do it from within the packages/ingest and still no luck.
Any help is appreciated.
Must be something I missed.
UPDATE
Ok, I was able to make it work by installing the latest package versions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am following this example and I am simply trying to test the ingest feature in the quick start project here: https://mongodb.github.io/chatbot/quick-start
After setting it up and configuring it, I get this error when running it.
I don't understand what I causing this issue as its not mentioned anywhere from what I can see.
I did npm i in the root of the project and I also tried to do it from within the packages/ingest and still no luck.
Any help is appreciated.
Must be something I missed.
UPDATE
Ok, I was able to make it work by installing the latest package versions.
Beta Was this translation helpful? Give feedback.
All reactions