'commit'
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import os
|
||||
import json
|
||||
import logging
|
||||
import time
|
||||
import os
|
||||
from datetime import datetime, timedelta
|
||||
import requests
|
||||
|
||||
import jwt
|
||||
import requests
|
||||
|
||||
# 配置日志
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
@@ -12,13 +12,11 @@ log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class KlCommon:
|
||||
# 获取项目根目录路径
|
||||
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../../../..')).replace('\\', '/') + '/dsAi'
|
||||
# 拼接相对路径
|
||||
base_path = project_root + '/src/main/java/com/dsideal/aiSupport/Util/KeLing/Example/'
|
||||
base_path = r'D:\dsWork\dsProject\dsLightRag\KeLing\Example'
|
||||
|
||||
ak = 'c992fd02624d4900a93ca3b6da03d9e9' # 填写access key
|
||||
sk = 'b37f67a00eb44f9bb57e4d530c328e1d' # 填写secret key
|
||||
ak = 'c992fd02624d4900a93ca3b6da03d9e9'
|
||||
sk = 'b37f67a00eb44f9bb57e4d530c328e1d'
|
||||
|
||||
@staticmethod
|
||||
def get_jwt():
|
||||
|
BIN
dsLightRag/KeLing/Kit/__pycache__/KlCommon.cpython-310.pyc
Normal file
BIN
dsLightRag/KeLing/Kit/__pycache__/KlCommon.cpython-310.pyc
Normal file
Binary file not shown.
BIN
dsLightRag/KeLing/Kit/__pycache__/KlErrorCode.cpython-310.pyc
Normal file
BIN
dsLightRag/KeLing/Kit/__pycache__/KlErrorCode.cpython-310.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user