"examples/vscode:/vscode.git/clone" did not exist on "084fa54d371e439cbca8b21930c6f658c1ef4671"
magic-pdf.template.json 1.48 KB
Newer Older
kernel.h@qq.com's avatar
kernel.h@qq.com committed
1
2
3
4
5
{
    "bucket_info":{
        "bucket-name-1":["ak", "sk", "endpoint"],
        "bucket-name-2":["ak", "sk", "endpoint"]
    },
6
    "models-dir":"/tmp/models",
7
    "layoutreader-model-dir":"/tmp/layoutreader",
8
    "device-mode":"cpu",
myhloli's avatar
myhloli committed
9
    "layout-config": {
10
        "model": "doclayout_yolo"
myhloli's avatar
myhloli committed
11
12
13
14
15
16
    },
    "formula-config": {
        "mfd_model": "yolo_v8_mfd",
        "mfr_model": "unimernet_small",
        "enable": true
    },
17
    "table-config": {
myhloli's avatar
myhloli committed
18
        "model": "rapid_table",
19
        "sub_model": "slanet_plus",
20
        "enable": true,
21
        "max_time": 400
myhloli's avatar
myhloli committed
22
    },
23
24
25
26
27
28
29
30
31
32
    "latex-delimiter-config": {
        "display": {
            "left": "$$",
            "right": "$$"
        },
        "inline": {
            "left": "$",
            "right": "$"
        }
    },
33
34
35
36
    "llm-aided-config": {
        "formula_aided": {
            "api_key": "your_api_key",
            "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
37
            "model": "qwen2.5-7b-instruct",
38
39
40
41
42
43
44
            "enable": false
        },
        "text_aided": {
            "api_key": "your_api_key",
            "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
            "model": "qwen2.5-7b-instruct",
            "enable": false
45
46
47
48
49
50
        },
        "title_aided": {
            "api_key": "your_api_key",
            "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
            "model": "qwen2.5-32b-instruct",
            "enable": false
51
52
        }
    },
53
    "config_version": "1.2.1"
kernel.h@qq.com's avatar
kernel.h@qq.com committed
54
}