I am trying to use chroma vector store in Python but I cannot make it work.
When I tried to create a persistent client using the command below I got the below error.
client = chromadb.PersistentClient(path=path="/path/to/save/to")
ERROR:
RuntimeError: Chroma is running in http-only client mode, and can only be run with 'chromadb.api.fastapi.FastAPI' as the chroma_api_impl. see https://docs.trychroma.com/usage-guide?lang=py#using-the-python-http-only-client for more information.
I also tried to run chroma in http-only client mode. I used the code below:
from chromadb import HttpClient
from chromadb.config import Settings
settings = Settings(chroma_api_impl="chromadb.api.fastapi.FastAPI", allow_reset=True, anonymized_telemetry=False)
client = HttpClient(host='localhost',port=8000,settings=settings)
it worked but when I tried to create a collection I got the following error:
ERROR:
ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Any help would be truly appreciated :).
Many many thanks