@@ -16,6 +16,12 @@ DEFAULT_USER_MSG = f"""解析文件中的表格内容:要求准确识别金额
检查所有字段是否完整,确保没有遗漏或错误,可能需要多次校对,以确保生成的json准确无误。"""
+@app.get("hearth")
+async def hearth():
+ print("ok")
+ return 'ok'
+
@app.get("/upload-filepath")
async def parse_file(filepath: str = None,
file_id: str = None,
@@ -20,7 +20,7 @@ public enum ReportType {
ANNUALLY(2, "年", new String[]{"年度", "年报", "年度报告"}),
- WEEKLY(3, "周", new String[]{"周报", "周度报告", "周度", "周"}),
+ WEEKLY(3, "周", new String[]{"周报", "周度报告", "周度"}),
;
private final int type;