| | |
| | | |
| | | ### ----------dify------api token |
| | | ### ----------df------api token |
| | | DOCUMENT_TO_CLEANING = "document_to_cleaning" |
| | | 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_IA_QUESTIONS_EQUIPMENT = "document_ia_questions_equipment" |
| | | 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_STATIC_PATH = "app/static" |
| | | |
| | | |
| | | |
| | | ### -----------app register -------------- |
| | | RAGFLOW = "ragflow_app" |
| | |
| | | agent_chat = "agent-chat" |
| | | base_chat = "chat" |
| | | basic_chat = "agent-basic" |
| | | complex_chat = "complex-chat" |
| | | |
| | | |
| | | ### ------------------------------ |
| | |
| | | ### ---------------------------http status-------------------------------------- |
| | | http_200 = 200 |
| | | http_400 = 400 |
| | | http_500 = 500 |
| | | http_500 = 500 |
| | | |
| | | ###-----------------------app account key-------------------------------------------- |
| | | chat_server = "chat_server" |
| | | workflow_server = "workflow_server" |
| | | smart_server = "smart_server" |
| | | |
| | | |
| | | TMP_DICT = {chat_server: RAGFLOW, workflow_server: DIFY} |
| | | |
| | | |
| | | ###-------------------------------system------------------------------------------------- |
| | | SYSTEM_ID = 1 |
| | | SYSTEM_STATUS_EXPIRED = 2 |
| | | SYSTEM_STATUS_ON = 1 |
| | | SYSTEM_STATUS_OFF = 0 |
| | | |
| | | ### --------------------------------complex mode---------------------------------------------- |
| | | complex_dialog_chat = 1 # 文档和基础对话 |
| | | complex_network_chat = 2 # 联网对话 |
| | | complex_knowledge_chat = 3 # 知识库对话 |
| | | complex_deep_chat = 6 |
| | | complex_mindmap_chat = 5 # 思维导图 |
| | | complex_content_optimization_chat = 4 # 内容优化 |
| | | complex_clean_chat = 7 # 清洗 |
| | | complex_title_chat = 8 # 小标题 |
| | | complex_report_chat = 9 # 报告 |
| | | complex_knowledge_chat_deep = 10 # 知识库对话-深度对话 |
| | | |
| | | |
| | | ### --------------------------------basic develop agent--------------------------------------------------- |
| | | basic_report_talk ="basic_report_talk" |