-
Couldn't load subscription status.
- Fork 19.5k
Closed as not planned
Labels
bugRelated to a bug, vulnerability, unexpected error with an existing featureRelated to a bug, vulnerability, unexpected error with an existing feature
Description
System Info
-
Python 3.9.13
-
langchain-0.0.235-py3-none-any.whl
-
chromadb-0.4.0-py3-none-any.whl
Who can help?
No response
Information
- The official example notebooks/scripts
- My own modified scripts
Related Components
- LLMs/Chat Models
- Embedding Models
- Prompts / Prompt Templates / Prompt Selectors
- Output Parsers
- Document Loaders
- Vector Stores / Retrievers
- Memory
- Agents / Agent Executors
- Tools / Toolkits
- Chains
- Callbacks/Tracing
- Async
Reproduction
Steps to reproduce:
- Create a Chroma store which is locally persisted
store = Chroma.from_texts(
texts=docs, embedding=embeddings, metadatas=metadatas, persist_directory=environ["DB_DIR"]
)
- Get the error
You are using a deprecated configuration of Chroma. Please pip install chroma-migrate and runchroma-migrateto upgrade your configuration. See https://docs.trychroma.com/migration for more information or join our discord at https://discord.gg/8g5FESbj for help! - Suffer
Expected behavior
- Create locally persisted Chroma store
- Use Chroma store
The issue:
Starting chromadb 0.40 the chroma_db_impl is no longer a supported parameter, it uses sqlite instead.
Removing the line
chroma_db_impl="duckdb+parquet",
from langchain.vectorstores/chroma.py solves the issue, but the earlier DB cannot be used or migrated.
lyuu09, lightbot21, wenisy, kevinknights29, imharvol and 7 moregpappdosubot, wenisy, yicheng20110203, lgs and daveleee
Metadata
Metadata
Assignees
Labels
bugRelated to a bug, vulnerability, unexpected error with an existing featureRelated to a bug, vulnerability, unexpected error with an existing feature