Pre-pgvector migration checkpoint — upsert, allow_replace_deleted, maintenance timer

This commit is contained in:
2026-04-26 20:19:49 +00:00
parent 72c8d1ef2c
commit d2eed98906
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ def retrieve(mode, task=None, project=None, n_results=8):
client = chromadb.PersistentClient(path=DB_PATH)
collection = client.get_or_create_collection(
name="aaronai",
metadata={"hnsw:space": "cosine"}
metadata={"hnsw:space": "cosine", "hnsw:allow_replace_deleted": True}
)
low, high = MODE_RANGES[mode]