Open dheerapat opened 6 days ago
It is working for me.
I first started the Chroma server (see docs)
chroma run
then I executed this code
from haystack_integrations.document_stores.chroma import ChromaDocumentStore
from haystack import Document
document_store = ChromaDocumentStore(host="localhost", port=8000) # note the host value
document_store.write_documents(
[
Document(content="This is the first document."),
Document(content="This is the second document."),
]
)
print(document_store.count_documents())
Describe the bug A clear and concise description of what the bug is.
when use these option to connect to remote instance there will be result in error in
chromadb
packageTo Reproduce Steps to reproduce the behavior. Feel free to link a Colab we can run to investigate the issue. run this snippet to produce error, make sure you running chroma instance in docker
Describe your environment (please complete the following information):