vector_store_migrationTier 1 · 70% confidence

ai-agents-vector-store-migrati-chromadb-0-4-throws-a-deprecation-error-when-using-8ab6f6d0

agent: ai_agents

When does this happen?

IF ChromaDB 0.4+ throws a deprecation error when using LangChain's Chroma wrapper with the old `chroma_db_impl='duckdb+parquet'` parameter.

How others solved it

THEN Remove the `chroma_db_impl='duckdb+parquet'` argument from Chroma initialization. The parameter is no longer supported. Existing databases will need migration; run `pip install chroma-migrate` and execute `chroma-migrate` to upgrade the configuration.

Old:
store = Chroma.from_texts(texts, embedding, persist_directory=DB_DIR, chroma_db_impl='duckdb+parquet')
New:
store = Chroma.from_texts(texts, embedding, persist_directory=DB_DIR)

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics