2024-01-08 23:37:00 +08:00
|
|
|
|
{
|
2024-07-13 15:38:34 +08:00
|
|
|
|
"local": {
|
|
|
|
|
"args": {
|
|
|
|
|
"": ""
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"": {
|
|
|
|
|
"type": "program",
|
|
|
|
|
"route": [
|
|
|
|
|
"ocrengines.local",
|
|
|
|
|
"question"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-07-17 03:00:09 +08:00
|
|
|
|
"youdaodictocr": {
|
|
|
|
|
"args": {
|
|
|
|
|
"Translate": false
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"Translate": {
|
|
|
|
|
"type": "switch",
|
|
|
|
|
"name": "翻译"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-07-13 15:38:34 +08:00
|
|
|
|
"windowsocr": {
|
|
|
|
|
"args": {
|
|
|
|
|
"": ""
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"": {
|
|
|
|
|
"type": "program",
|
|
|
|
|
"route": [
|
|
|
|
|
"ocrengines.windowsocr",
|
|
|
|
|
"question"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"baiduocr_X": {
|
|
|
|
|
"args": {
|
|
|
|
|
"API Key": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"Secret Key": "",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"app_id": "",
|
|
|
|
|
"app_key": "",
|
|
|
|
|
"接口": 0
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"API Key": {
|
|
|
|
|
"refcombo": "接口",
|
|
|
|
|
"refcombo_i_r": 5
|
|
|
|
|
},
|
|
|
|
|
"Secret Key": {
|
|
|
|
|
"refcombo": "接口",
|
|
|
|
|
"refcombo_i_r": 5
|
|
|
|
|
},
|
|
|
|
|
"app_key": {
|
|
|
|
|
"name": "密钥",
|
|
|
|
|
"refcombo": "接口",
|
|
|
|
|
"refcombo_i": 5
|
|
|
|
|
},
|
|
|
|
|
"app_id": {
|
|
|
|
|
"name": "APP ID",
|
|
|
|
|
"refcombo": "接口",
|
|
|
|
|
"refcombo_i": 5
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"接口": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"rank": 0,
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"type": "combo",
|
|
|
|
|
"list": [
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"百度智能云_OCR_通用文字识别(标准版)",
|
|
|
|
|
"百度智能云_OCR_通用文字识别(标准含位置版)",
|
|
|
|
|
"百度智能云_OCR_通用文字识别(高精度版)",
|
|
|
|
|
"百度智能云_OCR_通用文字识别(高精度含位置版)",
|
|
|
|
|
"百度智能云_图片翻译",
|
|
|
|
|
"百度翻译开放平台_图片翻译"
|
2024-05-01 11:33:04 +08:00
|
|
|
|
]
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"txocr": {
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"args": {
|
|
|
|
|
"SecretId": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"SecretKey": "",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"ProjectId": "0",
|
|
|
|
|
"Region": 0,
|
|
|
|
|
"interface": 0
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"ProjectId": {
|
|
|
|
|
"refcombo": "interface",
|
|
|
|
|
"refcombo_i": 1
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"Region": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"rank": 1,
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"type": "combo",
|
|
|
|
|
"list": [
|
|
|
|
|
"ap-beijing",
|
|
|
|
|
"ap-guangzhou",
|
|
|
|
|
"ap-hongkong",
|
|
|
|
|
"ap-seoul",
|
|
|
|
|
"ap-shanghai",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"ap-singapore"
|
2024-05-01 11:33:04 +08:00
|
|
|
|
]
|
|
|
|
|
},
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"interface": {
|
|
|
|
|
"rank": 0,
|
|
|
|
|
"name": "接口",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"type": "combo",
|
|
|
|
|
"list": [
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"OCR_通用印刷体识别",
|
|
|
|
|
"图片翻译"
|
2024-05-01 11:33:04 +08:00
|
|
|
|
]
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"feishu": {
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"args": {
|
|
|
|
|
"app_id": "",
|
|
|
|
|
"app_secret": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
},
|
|
|
|
|
"docsumo": {
|
|
|
|
|
"args": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"token": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
},
|
|
|
|
|
"youdaocr": {
|
|
|
|
|
"args": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"interface": 0,
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"APP_KEY": "",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"APP_SECRET": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"APP_SECRET": {
|
2024-10-31 16:42:38 +08:00
|
|
|
|
"name": "应用密钥",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"refcombo": "interface",
|
|
|
|
|
"refcombo_l": [
|
|
|
|
|
0,
|
|
|
|
|
2
|
|
|
|
|
]
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"APP_KEY": {
|
2024-10-31 16:42:38 +08:00
|
|
|
|
"name": "应用ID",
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"refcombo": "interface",
|
|
|
|
|
"refcombo_l": [
|
|
|
|
|
0,
|
|
|
|
|
2
|
2024-05-01 11:33:04 +08:00
|
|
|
|
]
|
|
|
|
|
},
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"interface": {
|
|
|
|
|
"rank": 0,
|
|
|
|
|
"name": "接口",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"type": "combo",
|
|
|
|
|
"list": [
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"OCR_通用文字识别",
|
|
|
|
|
"OCR_通用文字识别_试用",
|
|
|
|
|
"图片翻译",
|
|
|
|
|
"图片翻译_试用"
|
2024-05-01 11:33:04 +08:00
|
|
|
|
]
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
},
|
|
|
|
|
"ocrspace": {
|
|
|
|
|
"args": {
|
|
|
|
|
"apikey": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"interface": 0
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"interface": {
|
2024-10-03 18:05:52 +08:00
|
|
|
|
"rank": 0,
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"type": "combo",
|
|
|
|
|
"list": [
|
|
|
|
|
"pro",
|
|
|
|
|
"free"
|
|
|
|
|
]
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"volcengine": {
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"args": {
|
|
|
|
|
"Access Key ID": "",
|
|
|
|
|
"Secret Access Key": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"tesseract5": {
|
2024-01-08 23:37:00 +08:00
|
|
|
|
"args": {
|
|
|
|
|
"路径": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"语言": 0,
|
|
|
|
|
"附加参数": "--psm 6"
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"路径": {
|
|
|
|
|
"type": "file",
|
|
|
|
|
"dir": false,
|
2024-06-04 21:14:14 +08:00
|
|
|
|
"filter": "tesseract.exe"
|
2024-05-01 11:33:04 +08:00
|
|
|
|
},
|
|
|
|
|
"语言": {
|
|
|
|
|
"type": "combo",
|
|
|
|
|
"list_function": [
|
|
|
|
|
"ocrengines.tesseract5",
|
|
|
|
|
"list_langs"
|
|
|
|
|
]
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
|
}
|
2024-03-14 23:46:58 +08:00
|
|
|
|
},
|
2024-05-07 20:19:02 +08:00
|
|
|
|
"googlecloudvision": {
|
|
|
|
|
"args": {
|
|
|
|
|
"key": ""
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-07-15 00:14:54 +09:00
|
|
|
|
"geminiocr": {
|
|
|
|
|
"args": {
|
2024-07-22 16:08:19 +09:00
|
|
|
|
"key": "",
|
2024-10-09 01:04:30 +08:00
|
|
|
|
"BASE_URL": "https://generativelanguage.googleapis.com/",
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"model": "gemini-1.5-flash",
|
|
|
|
|
"use_custom_prompt": false,
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"modellistcache": [],
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"custom_prompt": ""
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
2024-10-31 16:42:38 +08:00
|
|
|
|
"BASE_URL": {
|
|
|
|
|
"name": "API接口地址",
|
|
|
|
|
"rank": 0
|
|
|
|
|
},
|
2024-10-09 01:04:30 +08:00
|
|
|
|
"key": {
|
|
|
|
|
"rank": 2,
|
|
|
|
|
"name": "API Key"
|
|
|
|
|
},
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"custom_prompt": {
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"name": "自定义_promt",
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"type": "multiline",
|
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
|
},
|
|
|
|
|
"use_custom_prompt": {
|
|
|
|
|
"type": "switch_ref",
|
|
|
|
|
"name": "使用自定义promt"
|
2024-09-05 12:47:58 +08:00
|
|
|
|
},
|
|
|
|
|
"model": {
|
2024-10-09 01:04:30 +08:00
|
|
|
|
"rank": 3,
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"type": "lineedit_or_combo",
|
|
|
|
|
"list_function": "list_models",
|
|
|
|
|
"list_cache": "modellistcache"
|
|
|
|
|
},
|
|
|
|
|
"modellistcache": {
|
|
|
|
|
"type": "list_cache"
|
2024-07-26 04:43:42 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"chatgptlike": {
|
|
|
|
|
"args": {
|
|
|
|
|
"model": "gpt-4",
|
|
|
|
|
"apiurl": "https://api.openai.com/v1",
|
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
|
"custom_prompt": "",
|
|
|
|
|
"Temperature": 0.3,
|
|
|
|
|
"top_p": 0.3,
|
2024-09-11 23:58:34 +08:00
|
|
|
|
"max_tokens": 1024,
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"frequency_penalty": 0,
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"modellistcache": [],
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"s": ""
|
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
|
|
|
|
"SECRET_KEY": {
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"rank": 0.5,
|
|
|
|
|
"name": "API Key"
|
2024-07-26 04:43:42 +08:00
|
|
|
|
},
|
|
|
|
|
"s": {
|
|
|
|
|
"type": "split",
|
|
|
|
|
"rank": 1.5
|
|
|
|
|
},
|
|
|
|
|
"apiurl": {
|
|
|
|
|
"name": "API接口地址",
|
|
|
|
|
"rank": 0
|
|
|
|
|
},
|
|
|
|
|
"model": {
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"rank": 1,
|
|
|
|
|
"type": "lineedit_or_combo",
|
|
|
|
|
"list_function": "list_models",
|
|
|
|
|
"list_cache": "modellistcache"
|
|
|
|
|
},
|
|
|
|
|
"modellistcache": {
|
|
|
|
|
"type": "list_cache"
|
2024-07-26 04:43:42 +08:00
|
|
|
|
},
|
|
|
|
|
"top_p": {
|
|
|
|
|
"type": "spin",
|
|
|
|
|
"min": 0,
|
|
|
|
|
"max": 1,
|
|
|
|
|
"step": 0.01
|
|
|
|
|
},
|
|
|
|
|
"frequency_penalty": {
|
|
|
|
|
"type": "spin",
|
|
|
|
|
"min": 0,
|
|
|
|
|
"max": 2,
|
|
|
|
|
"step": 0.05
|
|
|
|
|
},
|
|
|
|
|
"max_tokens": {
|
|
|
|
|
"type": "intspin",
|
|
|
|
|
"min": 1,
|
2024-09-11 23:58:34 +08:00
|
|
|
|
"max": 1000000,
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"step": 1
|
|
|
|
|
},
|
|
|
|
|
"custom_prompt": {
|
2024-09-05 12:47:58 +08:00
|
|
|
|
"name": "自定义_prompt",
|
2024-07-26 04:43:42 +08:00
|
|
|
|
"type": "multiline",
|
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
|
},
|
|
|
|
|
"use_custom_prompt": {
|
|
|
|
|
"type": "switch_ref",
|
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
|
},
|
|
|
|
|
"Temperature": {
|
|
|
|
|
"type": "spin",
|
|
|
|
|
"min": 0,
|
|
|
|
|
"max": 1,
|
|
|
|
|
"step": 0.1
|
|
|
|
|
}
|
2024-07-15 00:14:54 +09:00
|
|
|
|
}
|
|
|
|
|
},
|
2024-05-07 20:19:02 +08:00
|
|
|
|
"xunfei": {
|
|
|
|
|
"args": {
|
|
|
|
|
"APPId": "",
|
|
|
|
|
"APISecret": "",
|
|
|
|
|
"APIKey": ""
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-03-14 23:46:58 +08:00
|
|
|
|
"mangaocr": {
|
|
|
|
|
"args": {
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"Port": 5665
|
2024-03-14 23:46:58 +08:00
|
|
|
|
},
|
|
|
|
|
"argstype": {
|
2024-05-01 11:33:04 +08:00
|
|
|
|
"Port": {
|
|
|
|
|
"type": "intspin",
|
|
|
|
|
"min": 1,
|
|
|
|
|
"max": 65535,
|
|
|
|
|
"step": 1
|
|
|
|
|
}
|
2024-03-14 23:46:58 +08:00
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
|
}
|
2024-07-26 04:43:42 +08:00
|
|
|
|
}
|