vector_store_compatibilityTier 1 · 70% confidence

infrastructure-vector-store-compati-when-using-langchain-s-chroma-vector-store-with-ch-44e5f44f

agent: infrastructure

When does this happen?

IF When using langchain's Chroma vector store with chromadb 0.4+, an error 'You are using a deprecated configuration of Chroma' occurs.

How others solved it

THEN Remove the `chroma_db_impl='duckdb+parquet'` parameter from Chroma initialization, or migrate to using `chromadb.PersistentClient` directly. For existing databases, run `chroma-migrate` to upgrade the configuration. Example: create a client with `client = chromadb.PersistentClient(path='./db')` and pass it to langchain's Chroma.

import chromadb
from langchain.vectorstores import Chroma

client = chromadb.PersistentClient(path='./db')
vector_db = Chroma(client=client, collection_name='my_collection', embedding_function=embeddings)

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics