From 6ab3410581d664dd602f6af68f5c8f78bfdb4806 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 13 二月 2025 13:53:28 +0800 Subject: [PATCH] 增加ds模型文档智能 --- app/config/const.py | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/app/config/const.py b/app/config/const.py index 824f0ae..2237794 100644 --- a/app/config/const.py +++ b/app/config/const.py @@ -4,7 +4,15 @@ DOCUMENT_TO_REPORT = "document_to_report" IMAGE_TO_TEXT = "image_and_text_conversion" DOCUMENT_IA_QUESTIONS = "document_ia_questions" +DOCUMENT_IA_QUESTIONS_DS = "document_ia_questions_ds" +DOCUMENT_TO_REPORT_TITLE = "document_to_report_title" +DOCUMENT_TO_TITLE = "document_to_title" +DOCUMENT_TO_PAPER = "document_to_paper" + +### --------- file path------------------ +ENV_CONF_PATH = "app/config/env_conf" +APP_SERVICE_PATH = "app/service/" ### -----------app register -------------- RAGFLOW = "ragflow_app" @@ -15,4 +23,25 @@ BASIC_ID = 3 RAGFLOW_ID = 1 BISHENG_ID = 2 -DIFY_ID = 4 \ No newline at end of file +DIFY_ID = 4 + +### ------------------status-------------------- +USER_STATSU_DELETE = "2" +USER_STATSU_ON = "1" +USER_STATSU_OFF = "0" + +Dialog_STATSU_DELETE = "2" +Dialog_STATSU_ON = "1" +Dialog_STATSU_OFF = "0" + +DEPT_STATUS_DELETE = "2" +DEPT_STATUS_ON = "1" +DEPT_STATUS_OFF = "0" + +ROLE_STATUS_DELETE = "2" +ROLE_STATUS_ON = "1" +ROLE_STATUS_OFF = "0" + +RESOURCE_STATUS_DELETE = "2" +RESOURCE_STATUS_ON = "1" +RESOURCE_STATUS_OFF = "0" \ No newline at end of file -- Gitblit v1.8.0