'commit'
This commit is contained in:
@@ -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)
|
@@ -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
|
||||||
|
|
||||||
# 控制日志输出
|
# 控制日志输出
|
||||||
|
Reference in New Issue
Block a user