Replies: 1 comment 1 reply
-
Hey @jgrabovac! I'm here to help you with any issues you're encountering. I'm a bot designed to assist with bug fixes, answer questions, and guide potential contributors. Let's tackle this together! I found some similar discussions and issues that might help you troubleshoot the problem:
Additionally, here are some steps to troubleshoot your issue:
By following these steps and ensuring proper document loading, index creation, and initialization of the Chroma collection, you should be able to resolve the issue with documents not being retrieved from the persisted database [3][4][5]. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I already have a vectorstore in my local directory. Before I was using langchain_community to access Chroma but I have switched over to langchain_chroma once I found that the former was deprecated.
I'm trying to call the existing vectorstores that I have and query them, but I'm not getting any output at all.
I've individually tested the embedding model and have also tested commands such as
vectordb._collection.count()
which both return non-zero values. I am using an embedding and llm model from Azure and the connection there is also working.On VS Code I do get an error in the terminal of "Command executed x minutes ago, took y seconds and failed (Exit Code 1)". I wasn't getting this before when I was accessing Chroma from langchain_community and I'm not sure what I am doing wrong.
System Info
Current versions:
langchain==0.2.15
langchain-chroma==0.1.3
langchain-community==0.2.7
langchain-core==0.2.37
langchain-openai==0.1.23
langchain-text-splitters==0.2.2
Python version:
3.12.4
Platform:
Windows
Beta Was this translation helpful? Give feedback.
All reactions