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
I'm using Chroma locally to test 2 small RAG projects I am working on. I have a Python script (load_data.py), which creates or loads in my local Chroma DB, and then inserts metadata from a JSON file using some parsing logic.
I then run my database using the chroma run command.
1 RAG project is a basic AI chatbot, running a Python backend, which calls the collection (named "faqs"), and queries it based on query text sent from the API. The lookup is successful and is sent back to the frontend.
Another RAG project is a AI voice agent, which uses JavaScript/TS. I use ChromaClient to initialize the client, and then call the faq collection. I am able to see the collection being called, but the metadata is null, unlike in Python where I'm able to get metadata results.
Specfically, I'm getting the error Error querying ChromaDB: TypeError: Cannot read properties of undefined (reading 'generate') . Which I assume is because of null metadata in the collection, even though I populated the metadata and can confirm I am getting metadata in my Python backend.
The text was updated successfully, but these errors were encountered:
I'm using Chroma locally to test 2 small RAG projects I am working on. I have a Python script (load_data.py), which creates or loads in my local Chroma DB, and then inserts metadata from a JSON file using some parsing logic.
I then run my database using the
chroma run
command.1 RAG project is a basic AI chatbot, running a Python backend, which calls the collection (named "faqs"), and queries it based on query text sent from the API. The lookup is successful and is sent back to the frontend.
Another RAG project is a AI voice agent, which uses JavaScript/TS. I use
ChromaClient
to initialize the client, and then call the faq collection. I am able to see the collection being called, but the metadata isnull
, unlike in Python where I'm able to get metadata results.Specfically, I'm getting the error
Error querying ChromaDB: TypeError: Cannot read properties of undefined (reading 'generate')
. Which I assume is because of null metadata in the collection, even though I populated the metadata and can confirm I am getting metadata in my Python backend.The text was updated successfully, but these errors were encountered: