chroma not working on windows localhost (anaconda)
I've been trying to run chroma via Anaconda navigator Python. anaconda version is 3 and python is 3.11
While trying to add data in chroma collection, the kernel is restarting repeatedly. So, I'm not able to add the data in to a chroma collection.
I'm able to generate embeddings using the default model mentioned in chroma documentation.
I'm not able to figure out the issue causing this behaviour (i.e. not able to add data)
Kindly help.
OS : Windows 11
System configuration :
Code snippet from documentation:
import chromadb
chroma_client = chromadb.Client()
collection = chroma_client.get_or_create_collection(name="my_collection")
collection.upsert(
documents=[
"This is a document about pineapple",
"This is a document about oranges"
],
ids=["id1", "id2"]
)
results = collection.query(
query_texts=["This is a query document about florida"], # Chroma will embed this for you
n_results=2 # how many results to return
)
print(results)
the error is
screenshot of the embeddings generated successfully (in a separate program) from the default model (mentioned in the chroma documentation) is given below:
What happened?
chroma not working on windows localhost (anaconda) I've been trying to run chroma via Anaconda navigator Python. anaconda version is 3 and python is 3.11 While trying to add data in chroma collection, the kernel is restarting repeatedly. So, I'm not able to add the data in to a chroma collection. I'm able to generate embeddings using the default model mentioned in chroma documentation.
I'm not able to figure out the issue causing this behaviour (i.e. not able to add data)
Kindly help.
OS : Windows 11 System configuration :
Code snippet from documentation:
the error is
screenshot of the embeddings generated successfully (in a separate program) from the default model (mentioned in the chroma documentation) is given below:
Thanks.
Versions
Python 3.11.7 OS - Windows 11 Chroma 0.5.7
Relevant log output
No response