Pre-pgvector migration checkpoint — upsert, allow_replace_deleted, maintenance timer
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ db_path = str(Path.home() / "aaronai" / "db")
|
||||
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_text_from_docx(path):
|
||||
|
||||
Reference in New Issue
Block a user