-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpdf2zh_config.json
More file actions
30 lines (30 loc) · 1.2 KB
/
pdf2zh_config.json
File metadata and controls
30 lines (30 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"models": {
"doclayout_path": "./models/doclayout_yolo_docstructbench_imgsz1024.onnx"
},
"fonts": {
"zh": "./fonts/SourceHanSerifCN-Regular.ttf",
"ja": "./fonts/SourceHanSerifJP-Regular.ttf",
"ko": "./fonts/SourceHanSerifKR-Regular.ttf",
"zh-TW": "./fonts/SourceHanSerifTW-Regular.ttf",
"default": "./fonts/GoNotoKurrent-Regular.ttf"
},
"translation": {
"service": "bing",
"lang_in": "en",
"lang_out": "zh",
"envs": {}
},
"qa_engine": {
"service": "关闭",
"envs": {}
},
"qa_settings": {
"pages": "",
"system_prompt": "你是一个专业的PDF文档分析助手。用户上传了一个PDF文档,你需要基于文档内容回答用户的问题。\n\nPDF文档内容如下:\n{pdf_content}\n\n请注意:\n1. 请仅基于上述PDF文档内容回答问题\n2. 如果问题与文档内容无关,请明确说明\n3. 回答要准确、详细,并引用相关页面信息\n4. 使用中文回答"
},
"translation_enabled": true,
"NOTO_FONT_PATH": "./fonts/SourceHanSerifCN-Regular.ttf",
"pages": "",
"save_dual_file": false
}