Open AbhiBOAT opened 1 month ago
@AbhiBOAT, thanks for reporting this. With JS client, you need to have a Chroma server running. Is your server running on localhost port 8000?
@tazarov, my bad, there were some issues with docker because of which it was not properly hosting on the port 8000. I reinstalled it and it works just fine now. Thanks.
I wanted to do embedding and vector storing using ChromaDB so, to get a feel for it, I decided to try the test code in the JS Documentation of Chroma. But for some reason, I'm getting the following error whenever I run the code:
Error: TypeError: fetch failed at ChromaClient.createCollection (d:\test\node_modules\chromadb\dist\cjs\chromadb.cjs:2805:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async main (d:\test\chromadbTest.js:6:24)
Following is the code I'm trying to run, which is in the chromadb docs: