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
@@ -14,7 +14,7 @@ embedder = SentenceTransformer("all-MiniLM-L6-v2")
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}
)
def extract_messages(convo):