'commit'
This commit is contained in:
Binary file not shown.
BIN
dsLightRag/Volcengine/Kit/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
dsLightRag/Volcengine/Kit/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
@@ -2,9 +2,7 @@ import logging
|
||||
import sys
|
||||
import time
|
||||
|
||||
from volcenginesdkarkruntime import Ark
|
||||
|
||||
from Config.Config import VOLC_ACCESSKEY, VOLC_SECRETKEY, VOLC_API_KEY
|
||||
from Config.Config import VOLC_ACCESSKEY, VOLC_SECRETKEY
|
||||
from Volcengine.Kit.VikingDBMemoryService import VikingDBMemoryService, MEMORY_COLLECTION_NAME
|
||||
|
||||
# 控制日志输出
|
||||
@@ -29,12 +27,6 @@ def main():
|
||||
region="cn-beijing"
|
||||
)
|
||||
|
||||
# 初始化LLM客户端
|
||||
llm_client = Ark(
|
||||
base_url="https://ark.cn-beijing.volces.com/api/v3",
|
||||
api_key=VOLC_API_KEY
|
||||
)
|
||||
|
||||
try:
|
||||
collection_name = MEMORY_COLLECTION_NAME
|
||||
user_id = "system"
|
||||
|
Reference in New Issue
Block a user