This commit is contained in:
2025-09-07 13:00:43 +08:00
parent 1ba6d0a7f3
commit 26377b0baa
2 changed files with 1 additions and 17 deletions

View File

@@ -45,5 +45,4 @@ def drop_existing_collection(collection_name):
raise raise
if __name__ == "__main__": if __name__ == "__main__":
# 可修改为目标集合名称
drop_existing_collection(MEMORY_COLLECTION_NAME) drop_existing_collection(MEMORY_COLLECTION_NAME)

View File

@@ -1,21 +1,6 @@
import logging import logging
import logging
import threading
from volcengine.ApiInfo import ApiInfo from Volcengine.VikingDBMemoryService import MEMORY_COLLECTION_NAME, initialize_services, ensure_collection_exists
from volcengine.Credentials import Credentials
from volcengine.ServiceInfo import ServiceInfo
from volcengine.auth.SignerV4 import SignerV4
from volcengine.base.Service import Service
import json
import time
from dotenv import load_dotenv
from volcenginesdkarkruntime import Ark
from Config.Config import VOLC_SECRETKEY, VOLC_API_KEY, VOLC_ACCESSKEY
from Volcengine.VikingDBMemoryService import MEMORY_COLLECTION_NAME, VikingDBMemoryException, VikingDBMemoryService, \
initialize_services, ensure_collection_exists
from Volcengine.chat import handle_conversation_turn, archive_conversation from Volcengine.chat import handle_conversation_turn, archive_conversation
# 控制日志输出 # 控制日志输出