From 1918bf4308d22adba7dc575b4dc9664b79318c80 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期二, 12 十一月 2024 15:50:04 +0800 Subject: [PATCH] 知识问答,文档智能,智能问答。对话历史记录获取 --- app/config/config.py | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index e3d254f..2d7bdf2 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -4,15 +4,17 @@ class Settings: secret_key: str = '' - bisheng_base_url: str = '' - bisheng_websocket_url: str = '' - ragflow_base_url: str = '' + sgb_base_url: str = '' + sgb_websocket_url: str = '' + fwr_base_url: str = '' database_url: str = '' + sgb_db_url: str = '' + fwr_db_url: str = '' + fetch_sgb_agent: str = '' + fetch_fwr_agent: str = '' PUBLIC_KEY: str PRIVATE_KEY: str - bisheng_agent_id: str - ragflow_agent_id: str - ragflow_chat_id: str + def __init__(self, **kwargs): # Check if all required fields are provided and set them for field in self.__annotations__.keys(): -- Gitblit v1.8.0