[GH-ISSUE #92] ChromaDB: deprecated configuration of Chroma. #61

Closed
opened 2026-10-15 18:03:53 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @aetherwu on GitHub (Jul 27, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/92

Error while run with chromadb:

Initializing ChromaDB
Traceback (most recent call last):
  File "/home/ubuntu/SillyTavern-extras/server.py", line 268, in <module>
    chromadb_client = chromadb.Client(Settings(anonymized_telemetry=False, persist_directory=args.chroma_folder, chroma_db_impl='duckdb+parquet'))
  File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/__init__.py", line 107, in Client
    system = System(settings)
  File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/config.py", line 175, in __init__
    if settings[key] is not None:
  File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/config.py", line 110, in __getitem__
    raise ValueError(LEGACY_ERROR)
ValueError: *You are using a deprecated configuration of Chroma.*

If you do not have data you wish to migrate, you only need to change how you construct
your Chroma client. Please see the "New Clients" section of https://docs.trychroma.com/migration.

Related packages:
chroma-hnswlib-0.7.1 chromadb-0.4.3

SillyTavern-extras:
Latest commits on main.

Python:
Python 3.10.12

Conda:
conda 23.5.2

Originally created by @aetherwu on GitHub (Jul 27, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/92 Error while run with chromadb: ``` Initializing ChromaDB Traceback (most recent call last): File "/home/ubuntu/SillyTavern-extras/server.py", line 268, in <module> chromadb_client = chromadb.Client(Settings(anonymized_telemetry=False, persist_directory=args.chroma_folder, chroma_db_impl='duckdb+parquet')) File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/__init__.py", line 107, in Client system = System(settings) File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/config.py", line 175, in __init__ if settings[key] is not None: File "/home/ubuntu/miniconda3/envs/extras/lib/python3.10/site-packages/chromadb/config.py", line 110, in __getitem__ raise ValueError(LEGACY_ERROR) ValueError: *You are using a deprecated configuration of Chroma.* If you do not have data you wish to migrate, you only need to change how you construct your Chroma client. Please see the "New Clients" section of https://docs.trychroma.com/migration. ``` Related packages: chroma-hnswlib-0.7.1 chromadb-0.4.3 SillyTavern-extras: Latest commits on main. Python: Python 3.10.12 Conda: conda 23.5.2
Author
Owner

@Cohee1207 commented on GitHub (Jul 31, 2023):

Fixed in main

<!-- gh-comment-id:1658988943 --> @Cohee1207 commented on GitHub (Jul 31, 2023): Fixed in main
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#61
No description provided.