chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
15.67k stars 1.32k forks source link

[Install issue]: Chroma requires SQLite3 version which is unsupported by GCF #1143

Open Jkense opened 1 year ago

Jkense commented 1 year ago

What happened?

I use the Chromadb client to communicate from my GCF server to my database. However, serverless functions do not allow for custom system packages to be installed. It seems like a common use case that is now impossible to use. Is there a workaround for such an issue? Or could an older version do the same thing?

FYI: My function is only responsible for uploading a document to a collection. Nothing fancy.

Versions

Chroma>0.4.0

Relevant log output

No response

tazarov commented 1 year ago

@Jkense, you can install only chromadb-client, which can do the embeddings + interface with a server running in a GCP VM.

HammadB commented 1 year ago

Yeah, pointing to a remote chromadb instance is one good solution.

Another is to use the pysqlite3-binary workaround here https://docs.trychroma.com/troubleshooting#sqlite