This commit is contained in:
2025-09-07 08:02:23 +08:00
parent 1108011e79
commit adb4416ca2
3 changed files with 6 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import json
from VikingDBMemoryService import VikingDBMemoryService
from VikingDBMemoryService import VikingDBMemoryService, MEMORY_COLLECTION_NAME
from Config.Config import VOLC_ACCESSKEY, VOLC_SECRETKEY
def drop_existing_collection(collection_name):
@@ -34,5 +34,4 @@ def drop_existing_collection(collection_name):
if __name__ == "__main__":
# 可修改为目标集合名称
TARGET_COLLECTION = "emotional_support"
drop_existing_collection(TARGET_COLLECTION)
drop_existing_collection(MEMORY_COLLECTION_NAME)