Flowise
Flowise copied to clipboard
[BUG] Cannot read properties of undefined (reading 'data') with Chroma VectorStore
Describe the bug
Getting Cannot read properties of undefined (reading 'data')
error when using the Chroma Vector Store in any combination, e.g. in AutoGPT
To Reproduce Steps to reproduce the behavior:
- Use one of the marketplace examples or build a chatflow with Chroma
- Try running the flow
- Error is thrown
Setup
- OS: MacOS, M1 chip
Are there any additional steps required to set up Chroma with Flowise? Not quite sure based on the onboarding
Have you got Chroma running locally?
If not you'll have to clone the Chroma repo: git clone https://github.com/chroma-core/chroma.git
And start its docker container: docker-compose up -d --build
https://docs.trychroma.com/api-reference?lang=js
Running into same issue, Chroma already running at port 8000
@kayue are using mac os or linux?
@saviorand could you check whether the docker image is running?
I could run it as shown below
The chroma container is running and I can reach Chroma on port 8000, but having the same issue... My flow is on the screenshot:
The chroma container is running and I can reach Chroma on port 8000, but having the same issue... My flow is on the screenshot:
I believe is not an error from Chroma
, I will create a similar flow as you to investigate further.
I'm able to run the same flow as you without encountering error.
@saviorand did you upsert your document into chroma?
If you have not upsert any document into Chroma, based on below screenshot could you give this flow a try ?
I did not upsert anything to Chroma, maybe that's why! Let me try it out
hi, i have similar problem, i did upsert docs into chroma and already start chroma docker container, but i cant see any ingestion progresss whatsoever and chat test will return error "Error: Request failed with status code 400". Any idea?
We've identified a bug where if you run both Flowise and Chroma on docker, it will not work.
Are you guys running Flowise on docker? @kayue @Dojimanoryyu @saviorand ?
im running flowise via npx flowise start, it is chroma db that use docker. Also, i don't know how to check ingestion in chroma docker progress since it's not stated in the terminal. For the pinecone one I can check via pinecone consol.
I'm running Chroma locally, but there is a bug in Chroma. This is the description of bug In my case, I upgrade the langchain to 0.084 and chromadb to 1.5.0 to fix.
Hi, can I use a hosted Chroma instance or does it have to be local?
you can add a url to Chroma node - https://github.com/FlowiseAI/Flowise/pull/151
Thank you... I see where I can make those modifications.
We've identified a bug where if you run both Flowise and Chroma on docker, it will not work.
Are you guys running Flowise on docker? @kayue @Dojimanoryyu @saviorand ?
Yes I run on Docker
I'm running Chroma locally, but there is a bug in Chroma. This is the description of bug In my case, I upgrade the langchain to 0.084 and chromadb to 1.5.0 to fix.
Lifting to chromadb 1.5.0 didnt fix the issue for me. Running it locally.
I am facing the same issue my "chromadb" is running in docker and ran the flowise as "npx flowise start", unable to figure out what could be the issue.
I am facing the same issue my "chromadb" is running in docker and ran the flowise as "npx flowise start", unable to figure out what could be the issue.
Try update flowise with npm install -g flowise
then rebuild your flow
Results:
i am running flowise on local and I am running chroma db on docker but i get this error
i am running flowise on local and I am running chroma db on docker but i get this error
Hi! Just remove the trailing slash :)
Hi everyone, I had the same problem because I am embedding documents with openai integration into a chroma collection and using the same collection with local embedding. When you use a new collection only for local integration, everything is fine! I hope this'll be helpful
Hi! anyone can help me? Cannot read properties of undefined (reading 'length') let me know