main
HuangHai 2 weeks ago
parent 3a26304c0f
commit 114969bb41

@ -4,17 +4,12 @@ from Util.DocxUtil import get_docx_content_by_pandoc
from Util.LightRagUtil import configure_logging, initialize_rag from Util.LightRagUtil import configure_logging, initialize_rag
import os import os
# 化学
#WORKING_DIR = "./Topic/Chemistry"
#docx_file = 'static/Txt/化学方程式.docx'
# 苏轼
#WORKING_DIR = "./Topic/Chinese"
#docx_file = 'static/Txt/苏轼.docx'
# 数学 # 数学
WORKING_DIR = "./Topic/Math" KEMU = 'Math' # Chinese,Chemistry
docx_file = 'static/Txt/小学数学教学中的若干问题.docx'
# 组装文件路径
WORKING_DIR = "./Topic/" + KEMU
docx_file = 'static/Txt/' + KEMU + '.docx'
async def main(): async def main():
# 注释掉或删除以下清理代码 # 注释掉或删除以下清理代码

Loading…
Cancel
Save