添加RAGFlow配置
This commit is contained in:
parent
8d640fa0a9
commit
99ffe1acaa
@ -162,6 +162,14 @@ class HaiKangSettings:
|
||||
HAIKANG_PICTURE_CHECK_URL = '/api/frs/v1/face/picture/check'
|
||||
HAIKANG_FACECAPATURE_SEARCH = '/api/frs/v1/event/face_capture/search'
|
||||
HAIKANG_FACE_GROUP_URL = '/api/frs/v1/face/group'
|
||||
|
||||
|
||||
class RAGFlowSettings:
|
||||
"""
|
||||
RAGFlowSettings
|
||||
"""
|
||||
RAGFLOW_BASE_URL="http://10.0.0.202:82",
|
||||
RAGFLOW_API_KEY="ragflow-hlMjRmNzE2ODNiNTExZjA4ZTNlMDI0Mm"
|
||||
|
||||
|
||||
class GetConfig:
|
||||
@ -226,6 +234,13 @@ class GetConfig:
|
||||
获取海康平台配置
|
||||
"""
|
||||
return HaiKangSettings()
|
||||
|
||||
@lru_cache()
|
||||
def get_ragflow_config(self):
|
||||
"""
|
||||
获取RAGFlow配置
|
||||
"""
|
||||
return RAGFlowSettings()
|
||||
|
||||
@staticmethod
|
||||
def parse_cli_args():
|
||||
@ -270,3 +285,5 @@ GenConfig = get_config.get_gen_config()
|
||||
UploadConfig = get_config.get_upload_config()
|
||||
# 海康平台配置
|
||||
HaiKangConfig = get_config.get_haikang_config()
|
||||
# RAGFlow配置
|
||||
RAGFlowConfig = get_config.get_ragflow_config()
|
||||
|
||||
BIN
ruoyi-fastapi-backend/output.mp4
Normal file
BIN
ruoyi-fastapi-backend/output.mp4
Normal file
Binary file not shown.
2
ruoyi-fastapi-backend/utils/lang_graph_util.py
Normal file
2
ruoyi-fastapi-backend/utils/lang_graph_util.py
Normal file
@ -0,0 +1,2 @@
|
||||
# pip install -qU "langchain[anthropic]" to call the model
|
||||
|
||||
1
ruoyi-fastapi-backend/utils/unitree_util.py
Normal file
1
ruoyi-fastapi-backend/utils/unitree_util.py
Normal file
@ -0,0 +1 @@
|
||||
# from unitree_sdk2py.core.channel import ChannelSubscriber, ChannelFactoryInitialize
|
||||
Loading…
Reference in New Issue
Block a user