Spaces:
Runtime error
Runtime error
Commit ·
577ff99
1
Parent(s): 14444a4
Update server.py
Browse files
server.py
CHANGED
|
@@ -82,7 +82,7 @@ def chromadb_add_messages():
|
|
| 82 |
]
|
| 83 |
|
| 84 |
collection.delete()
|
| 85 |
-
collection.
|
| 86 |
ids=ids,
|
| 87 |
documents=documents,
|
| 88 |
metadatas=metadatas,
|
|
|
|
| 82 |
]
|
| 83 |
|
| 84 |
collection.delete()
|
| 85 |
+
collection.upsert(
|
| 86 |
ids=ids,
|
| 87 |
documents=documents,
|
| 88 |
metadatas=metadatas,
|