Cant load the ChromaDB again #1290
Unanswered
BGroenberg
asked this question in
Q&A
Replies: 1 comment 5 replies
-
There seems to be a bug in the get_data_sources() method. It eventually tried to get the "data_type" attribute but that throws a no attribute error. I believe this is the release that introduced the bug: https://github.com/embedchain/embedchain/releases/tag/0.1.82 The model for the data uses "type" but the method that pulls the data is using "data_type" Code: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I made an dataloader, that loads all my documents into ChromaDB using embedchain. My code looks like this.
Looking at the console, it works fine and loads the data as expected into ChromaDB.
If i move this code directly into the chat app, everything works and im able to "chat" with my documents.
But if i seperate that code, so i got a loader app - and the chat app, it wont load data from the db.
This is basicly what i do to try and load the ChromaDB, when starting my chat app.
How do i get this to work ? I want to be able to reuse the persistet ChromaDB.
Beta Was this translation helpful? Give feedback.
All reactions