Trying to load exisitng persist database #467
Replies: 1 comment 1 reply
-
Hi, when you say failed, what do you get? I was curious how the tokens looks like and what is the distance of the return response. These are not exposed on PrivateGPT and the langchain scripts. Hence I used the ChromaDB to have a peek. It took me a few days to realise, it could be an issue with the indexing. Using PrivateGPT script, I could get a response when I perform the query, however, if I use the Chroma embeddings script shown in the same URL I yielded no result. I couldn't recreate the index, hence I re-ingest 2 documents. And run my chroma py script again and it produce the results I wanted. I'm not sure if this is the same case as you, but it is highly likely the chroma index is corrupted or not able to be fetched by ChromaDB. After I re-ingest, it fixed the issues. It dumps out the matches up to the n results you configure. I did not pass it to LLM.
|
Beta Was this translation helpful? Give feedback.
-
Hi all, I spent a lot of time on this the other day. I'm building some data viz on my chroma DB, but I'm trying to write another script that accesses the vector DB, but whenever I try it fails. I've tried so many things. So any help would be much appreciated!
I've tried all these things. I'm using a local LLM llama2 as the go between, and the instruct model.
https://docs.trychroma.com/embeddings
Beta Was this translation helpful? Give feedback.
All reactions