I have been trying to use
Chromadb
version0.4.8
Langchain
version0.0.276
with SentenceTransformerEmbeddingFunction
as shown in the snippet below.
from langchain.vectorstores import Chroma
from chromadb.utils import embedding_functions
# other imports
embedding = embedding_functions.SentenceTransformerEmbeddingFunction(model_name="all-MiniLM-L6-v2")
However, it throws the following error.
RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.
Funfact is I do have the required sqlite3
(3.43.0
) available which I can validate using the command sqlite3 --version
.
Would appreciate any help. Thank you.