1.0 KiB
1.0 KiB
Auto cut docx to questions
自动切割docx文件中的题目,把它单独以json格式组织起来;
输入
docx 文件
输出
json格式的schema:
- 主文件概况;包括文件名;定义一个session_id作为主文件(docx)的唯一id;文件被切割出来的题目数量等;
- 提取出来的小题:
- question_id: 小题编号;
- image_base64:被提取出来中,如果含有图片,则给出图片的url或base64;
- ocr_text:被提取出来的题目内容。如果含有公式等,则使用markdown格式的latex数学公式,以
$或者$$包裹; - problem_summary: 题目概要,通过summary_api 获得;
- knowledges: 题目中包含的知识点,通过summary_api 获得,json格式:["knowledge1","knowledge2","knowledge3"];
- methods: 题目中包含的方法,通过summary_api 获得,json格式:["method1","method2","method3"];
- updated_knowledges;同knowledges,经过人工审核过的知识点;
- updated_methods;通methods,经过人工审核过的方法;
- created_at