LunaTranslator/py/files/defaultconfig/translatorsetting.json

1337 lines
24 KiB
JSON
Raw Normal View History

2024-01-08 23:37:00 +08:00
{
2024-05-01 11:33:04 +08:00
"lingva": {
2024-01-08 23:37:00 +08:00
"args": {
2024-05-01 11:33:04 +08:00
"host": "translate.plausibility.cloud"
}
2024-01-08 23:37:00 +08:00
},
2024-08-25 03:29:07 +08:00
"deepl": {
2024-04-27 15:44:51 +08:00
"args": {
2024-08-25 03:29:07 +08:00
"usewhich": 0,
2024-08-25 05:24:30 +08:00
"github": "https://github.com/OwO-Network/DeepLX",
2024-07-18 14:41:36 +08:00
"api": "http://127.0.0.1:1188/translate"
},
"argstype": {
2024-08-25 05:24:30 +08:00
"github": {
"name": "DeepLX Github",
"type": "label",
2024-10-03 18:05:52 +08:00
"islink": true,
"refcombo": "usewhich",
"refcombo_i": 1
2024-08-25 05:24:30 +08:00
},
2024-08-25 03:29:07 +08:00
"api": {
2024-10-03 18:05:52 +08:00
"name": "DeepLX api",
"refcombo": "usewhich",
"refcombo_i": 1
2024-08-25 03:29:07 +08:00
},
"usewhich": {
"rank": 0,
"type": "combo",
"name": "类型",
"list": [
"DeepL",
"DeepLX"
]
2024-07-18 14:41:36 +08:00
}
2024-05-01 11:33:04 +08:00
}
2024-04-27 15:44:51 +08:00
},
2024-05-01 11:33:04 +08:00
"baiduapi": {
"args": {
2024-10-03 18:05:52 +08:00
"API Key": "",
"Secret Key": "",
2024-05-01 11:33:04 +08:00
"APP ID": "",
"密钥": "",
2024-10-03 18:05:52 +08:00
"interface": 0
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-10-03 18:05:52 +08:00
"密钥": {
"refcombo": "interface",
"refcombo_i": 0
},
"APP ID": {
"refcombo": "interface",
"refcombo_i": 0
},
"API Key": {
"refcombo": "interface",
"refcombo_i": 1
},
"Secret Key": {
"refcombo": "interface",
"refcombo_i": 1
},
"interface": {
"rank": 0,
"name": "接口",
"type": "combo",
"list": [
"百度翻译开放平台",
"百度智能云"
]
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"feishu": {
"args": {
"app_id": "",
"app_secret": ""
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
"caiyunapi": {
"args": {
2024-10-03 18:05:52 +08:00
"Token": ""
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
2024-08-25 05:24:30 +08:00
"deeplapi-free": {
2024-05-01 11:33:04 +08:00
"args": {
2024-08-25 03:29:07 +08:00
"usewhich": 0,
2024-08-25 05:24:30 +08:00
"DeepL-Auth-Key": "",
2024-10-03 18:05:52 +08:00
"DeepL-Auth-Key-2": ""
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-08-25 05:24:30 +08:00
"DeepL-Auth-Key": {
2024-08-25 05:38:25 +08:00
"rank": 1,
2024-10-31 16:42:38 +08:00
"name": "Auth Key",
"refcombo": "usewhich",
"refcombo_i": 0
2024-08-25 03:29:07 +08:00
},
"DeepL-Auth-Key-2": {
2024-08-25 05:38:25 +08:00
"rank": 2,
2024-10-31 16:42:38 +08:00
"name": "Auth Key",
"refcombo": "usewhich",
"refcombo_i": 1
2024-08-25 03:29:07 +08:00
},
"usewhich": {
2024-08-25 05:37:09 +08:00
"rank": 0,
2024-08-25 03:29:07 +08:00
"type": "combo",
"name": "类型",
"list": [
"Free",
"Pro"
]
2024-01-08 23:37:00 +08:00
}
}
2024-04-16 14:18:58 +08:00
},
2024-05-01 11:33:04 +08:00
"yandexapi": {
"args": {
"key": ""
}
},
"googleapi": {
"args": {
"key": ""
}
},
"sugoix": {
"args": {
2024-07-10 22:29:25 +08:00
"api": "http://127.0.0.1:14366/",
"V8": "{main_server}/Resource/translate/Sugoi_Translator_V8.7z"
2024-06-17 01:33:43 +08:00
},
"argstype": {
"V8": {
"type": "label",
"islink": true
}
2024-05-01 11:33:04 +08:00
}
},
"huoshanapi": {
"args": {
"Access Key ID": "",
2024-10-03 18:05:52 +08:00
"Secret Access Key": ""
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
"tencentapi": {
"args": {
"SecretId": "",
"SecretKey": "",
2024-10-03 18:05:52 +08:00
"Region": 0
2024-05-01 11:33:04 +08:00
},
"argstype": {
"Region": {
"type": "combo",
"list": [
"ap-beijing",
"ap-shanghai",
"ap-chengdu",
"ap-chongqing",
"ap-guangzhou",
"ap-hongkong",
"ap-mumbai",
"ap-seoul",
"ap-shanghai-fsi",
"ap-shenzhen-fsi",
"ap-singapore",
"ap-tokyo",
"ap-bangkok",
"eu-frankfurt",
"na-ashburn",
"na-siliconvalley",
"na-toronto"
]
}
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
"xiaoniu": {
"args": {
2024-10-03 18:05:52 +08:00
"apikey": ""
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
"youdaoapi": {
"args": {
"APP_KEY": "",
2024-10-03 18:05:52 +08:00
"APP_SECRET": ""
2024-10-31 16:42:38 +08:00
},
"argstype": {
"APP_KEY": {
"name": "应用ID"
},
"APP_SECRET": {
"name": "应用密钥"
}
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
2024-09-13 20:38:34 +08:00
"hwcloud": {
"args": {
"ak": "",
"sk": "",
2024-10-03 18:05:52 +08:00
"endpoint": "cn-north-4"
2024-09-13 20:38:34 +08:00
},
"argstype": {
"ak": {
"name": "Access Key Id"
},
"sk": {
"name": "Secret Access Key"
}
}
},
2024-07-19 20:02:36 +08:00
"txhunyuan": {
"args": {
"secret_id": "",
"secret_key": "",
"Temperature": 0.3,
"top_p": 0.3,
"model": "hunyuan-lite",
"context_num": 0,
"use_user_prompt": false,
"user_prompt": "",
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
2024-08-13 00:58:28 +08:00
"usingstream": true,
2024-07-30 19:32:59 +08:00
"other_args": "{}",
"use_other_args": false,
2024-07-20 23:23:26 +08:00
"s": ""
2024-07-19 20:02:36 +08:00
},
"argstype": {
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 2.5
},
"secret_id": {
2024-08-27 16:25:56 +08:00
"rank": 0,
"name": "SecretId"
2024-07-20 23:23:26 +08:00
},
"secret_key": {
2024-08-27 16:25:56 +08:00
"rank": 1,
"name": "SecretKey"
2024-07-20 23:23:26 +08:00
},
"model": {
2024-09-05 12:47:58 +08:00
"rank": 2,
"type": "lineedit_or_combo",
"list": [
"hunyuan-lite",
"hunyuan-turbo",
"hunyuan-pro",
"hunyuan-standard",
"hunyuan-standard-256k",
"hunyuan-role",
"hunyuan-functioncall",
"hunyuan-code"
]
2024-07-20 23:23:26 +08:00
},
2024-07-19 20:02:36 +08:00
"top_p": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.01
},
"usingstream": {
"name": "流式输出",
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 3
2024-07-19 20:02:36 +08:00
},
"user_prompt": {
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-20 23:23:26 +08:00
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_prompt",
"rank": 5
2024-07-19 20:02:36 +08:00
},
2024-07-30 19:32:59 +08:00
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
2024-07-19 20:02:36 +08:00
},
"context_num": {
"name": "附带上下文个数",
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-07-19 20:02:36 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
}
}
},
2024-05-01 11:33:04 +08:00
"claude": {
2024-04-08 16:47:00 +08:00
"args": {
2024-05-01 11:33:04 +08:00
"BASE_URL": "https://api.anthropic.com",
2024-10-23 01:06:13 +08:00
"model": "claude-3-5-sonnet-latest",
2024-05-01 11:33:04 +08:00
"API_KEY": "",
"max_tokens": 2048,
"Temperature": 0.3,
"附带上下文个数": 0,
"使用自定义promt": false,
"自定义promt": "",
2024-08-13 00:58:28 +08:00
"流式输出": true,
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
"other_args": "{}",
"use_other_args": false,
2024-09-18 12:01:52 +08:00
"s": "",
"s2": "",
"prefill": "",
"prefill_use": false
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-09-18 12:01:52 +08:00
"prefill": {
"refswitch": "prefill_use",
"rank": 5.11
},
"prefill_use": {
"type": "switch"
},
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 2.5
},
2024-09-18 12:01:52 +08:00
"s2": {
"type": "split",
"rank": 5.12
},
2024-07-20 23:23:26 +08:00
"BASE_URL": {
2024-10-31 16:42:38 +08:00
"name": "API接口地址",
2024-07-20 23:23:26 +08:00
"rank": 0
},
"model": {
2024-09-05 12:47:58 +08:00
"rank": 1,
"type": "lineedit_or_combo",
"list": [
2024-10-23 01:06:13 +08:00
"claude-3-5-sonnet-latest",
"claude-3-5-sonnet-20241022",
2024-09-05 12:47:58 +08:00
"claude-3-5-sonnet-20240620",
2024-10-23 01:06:13 +08:00
"claude-3-opus-latest",
2024-09-05 12:47:58 +08:00
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
2024-10-23 01:06:13 +08:00
"claude-3-haiku-20240307",
"claude-2.1",
"claude-2.0",
"claude-instant-1.2"
2024-09-05 12:47:58 +08:00
]
2024-07-20 23:23:26 +08:00
},
"API_KEY": {
2024-10-31 16:42:38 +08:00
"name": "API Key",
2024-07-26 04:43:42 +08:00
"rank": 0.5
2024-07-20 23:23:26 +08:00
},
2024-05-01 11:33:04 +08:00
"流式输出": {
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 3
},
"自定义promt": {
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "使用自定义promt",
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-30 19:32:59 +08:00
"rank": 5
2024-01-08 23:37:00 +08:00
},
2024-05-01 11:33:04 +08:00
"max_tokens": {
"type": "intspin",
"min": 0,
"max": 1000000,
"step": 1
},
"附带上下文个数": {
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-05-01 11:33:04 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
}
}
},
"chatgpt-3rd-party": {
"args": {
2024-09-20 12:25:33 +08:00
"model": "gpt-4o-mini",
2024-09-05 12:47:58 +08:00
"modellistcache": [],
2024-05-01 11:33:04 +08:00
"附带上下文个数": 0,
2024-06-08 15:04:15 +08:00
"API接口地址": "https://api.openai.com",
2024-06-06 21:43:28 +08:00
"SECRET_KEY": "",
2024-05-01 11:33:04 +08:00
"使用自定义promt": false,
"自定义promt": "",
2024-08-13 00:58:28 +08:00
"流式输出": true,
2024-06-06 21:43:28 +08:00
"Temperature": 0.3,
"top_p": 0.3,
2024-09-11 23:58:34 +08:00
"max_tokens": 1024,
2024-07-20 23:23:26 +08:00
"frequency_penalty": 0,
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
"other_args": "{}",
"use_other_args": false,
2024-09-18 12:01:52 +08:00
"s": "",
"s2": "",
"prefill": "",
"prefill_use": false
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-09-18 12:01:52 +08:00
"prefill": {
"refswitch": "prefill_use",
"rank": 5.11
},
"prefill_use": {
"type": "switch"
},
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 2.5
},
2024-09-18 12:01:52 +08:00
"s2": {
"type": "split",
"rank": 5.12
},
2024-07-20 23:23:26 +08:00
"API接口地址": {
"rank": 0
},
"SECRET_KEY": {
2024-09-05 12:47:58 +08:00
"rank": 1,
"name": "API Key"
2024-07-20 23:23:26 +08:00
},
"model": {
2024-09-05 12:47:58 +08:00
"rank": 2,
"type": "lineedit_or_combo",
"list_function": "list_models",
"list_cache": "modellistcache"
},
"modellistcache": {
"type": "list_cache"
2024-07-20 23:23:26 +08:00
},
2024-06-06 21:43:28 +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-06-06 21:43:28 +08:00
"step": 1
},
2024-05-01 11:33:04 +08:00
"流式输出": {
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 3
2024-01-08 23:37:00 +08:00
},
2024-07-20 23:23:26 +08:00
"自定义promt": {
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "使用自定义promt",
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-30 19:32:59 +08:00
"rank": 5
2024-01-08 23:37:00 +08:00
},
2024-05-01 11:33:04 +08:00
"附带上下文个数": {
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-05-01 11:33:04 +08:00
},
2024-07-19 20:02:36 +08:00
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
}
}
},
"baiduqianfan": {
"args": {
2024-09-05 12:47:58 +08:00
"model": "ernie-4.0-8k",
2024-07-19 20:02:36 +08:00
"context_num": 0,
"API_KEY": "",
"SECRET_KEY": "",
"use_user_prompt": false,
"user_prompt": "",
2024-08-13 00:58:28 +08:00
"usingstream": true,
2024-07-19 20:02:36 +08:00
"Temperature": 0.3,
"top_p": 0.3,
2024-09-11 23:58:34 +08:00
"max_tokens": 1024,
2024-07-20 23:23:26 +08:00
"frequency_penalty": 0,
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
"other_args": "{}",
"use_other_args": false,
2024-07-20 23:23:26 +08:00
"s": ""
2024-07-19 20:02:36 +08:00
},
"argstype": {
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 2.5
},
"API_KEY": {
"rank": 0
},
"SECRET_KEY": {
2024-10-31 16:42:38 +08:00
"rank": 1
2024-07-20 23:23:26 +08:00
},
"model": {
2024-09-05 12:47:58 +08:00
"rank": 2,
"type": "lineedit_or_combo",
"list": [
"ernie-4.0-8k",
"ernie-4.0-turbo-8k",
"ernie-3.5-128k",
"ernie-3.5-8k",
"ernie-speed-pro-128k",
"ernie-speed-128k",
"ernie-speed-8k",
"ernie-lite-8k",
"ernie-tiny-8k"
]
2024-07-20 23:23:26 +08:00
},
2024-07-19 20:02:36 +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-19 20:02:36 +08:00
"step": 1
},
"user_prompt": {
2024-07-20 23:23:26 +08:00
"type": "multiline",
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_prompt",
"rank": 5
2024-07-19 20:02:36 +08:00
},
"usingstream": {
"name": "流式输出",
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 3
2024-07-19 20:02:36 +08:00
},
"context_num": {
"name": "附带上下文个数",
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-05-01 11:33:04 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
2024-04-14 11:24:13 +08:00
"cohere": {
"args": {
2024-05-01 11:33:04 +08:00
"SECRET_KEY": "",
"Temperature": 0.3,
2024-09-05 12:47:58 +08:00
"modellistcache": [],
2024-05-01 11:33:04 +08:00
"model": "command-r",
"附带上下文个数": 0,
"使用自定义promt": false,
"自定义promt": "",
2024-08-13 00:58:28 +08:00
"流式输出": true,
2024-07-30 19:32:59 +08:00
"use_user_user_prompt": false,
"user_user_prompt": "{sentence}",
"other_args": "{}",
"use_other_args": false,
2024-09-18 12:01:52 +08:00
"s": "",
2024-10-03 18:05:52 +08:00
"s2": "",
2024-09-18 12:01:52 +08:00
"prefill": "",
"prefill_use": false
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-09-18 12:01:52 +08:00
"prefill": {
"refswitch": "prefill_use",
"rank": 5.11
},
"prefill_use": {
"type": "switch"
},
"s2": {
"type": "split",
"rank": 5.12
},
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 1.5
},
"SECRET_KEY": {
2024-09-05 12:47:58 +08:00
"rank": 0,
"name": "API Key"
2024-07-20 23:23:26 +08:00
},
"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-20 23:23:26 +08:00
},
"自定义promt": {
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "使用自定义promt",
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-30 19:32:59 +08:00
"rank": 5
2024-07-20 23:23:26 +08:00
},
2024-05-01 11:33:04 +08:00
"流式输出": {
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 2
2024-05-01 11:33:04 +08:00
},
"附带上下文个数": {
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-05-01 11:33:04 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
}
2024-04-14 11:24:13 +08:00
}
2024-05-01 11:33:04 +08:00
},
"jb7": {
"args": {
2024-06-04 21:14:14 +08:00
"path": "",
"path_userdict1": "",
"path_userdict2": "",
2024-09-19 09:09:45 +08:00
"path_userdict3": ""
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-06-04 21:14:14 +08:00
"path": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"dir": true,
"name": "路径"
2024-05-01 11:33:04 +08:00
},
2024-06-04 21:14:14 +08:00
"path_userdict1": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"dir": true,
"name": "用户词典1(可选)"
2024-05-01 11:33:04 +08:00
},
2024-06-04 21:14:14 +08:00
"path_userdict2": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"dir": true,
"name": "用户词典2(可选)"
2024-05-01 11:33:04 +08:00
},
2024-06-04 21:14:14 +08:00
"path_userdict3": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"dir": true,
"name": "用户词典3(可选)"
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"kingsoft": {
"args": {
2024-06-04 21:14:14 +08:00
"path": ""
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-06-04 21:14:14 +08:00
"path": {
"name": "路径",
2024-05-01 11:33:04 +08:00
"type": "file",
"dir": true
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
2024-07-09 21:20:21 +08:00
"eztrans": {
"args": {
"path": ""
},
"argstype": {
"path": {
"name": "路径",
"type": "file",
2024-07-18 14:41:36 +08:00
"filter": "J2KEngine.dll",
2024-07-09 21:20:21 +08:00
"dir": false
}
}
},
2024-05-01 11:33:04 +08:00
"dreye": {
"args": {
2024-06-04 21:14:14 +08:00
"path": ""
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-06-04 21:14:14 +08:00
"path": {
"name": "路径",
2024-05-01 11:33:04 +08:00
"type": "file",
"dir": true
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"rengong": {
"args": {
2024-06-04 21:14:14 +08:00
"jsonfile": []
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-06-04 21:14:14 +08:00
"jsonfile": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"name": "json文件",
2024-05-01 11:33:04 +08:00
"dir": false,
"filter": "*.json",
"multi": true
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"premt": {
"args": {
2024-06-04 21:14:14 +08:00
"sqlitefile": "",
2024-05-01 11:33:04 +08:00
"仅使用激活的翻译": false
},
"argstype": {
2024-06-04 21:14:14 +08:00
"sqlitefile": {
2024-05-01 11:33:04 +08:00
"type": "file",
2024-06-04 21:14:14 +08:00
"name": "sqlite文件",
2024-05-01 11:33:04 +08:00
"dir": false,
"filter": "*.sqlite"
},
"仅使用激活的翻译": {
"type": "switch"
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"azure": {
"args": {
"key1": "",
2024-10-03 18:05:52 +08:00
"Location": ""
2024-01-08 23:37:00 +08:00
}
2024-05-01 11:33:04 +08:00
},
2024-01-08 23:37:00 +08:00
"ibm": {
2024-05-01 11:33:04 +08:00
"args": {
"apiurl": "",
2024-10-03 18:05:52 +08:00
"apikey": ""
2024-05-01 11:33:04 +08:00
}
},
"aliyunapi": {
"args": {
"Access_Key": "",
2024-10-03 18:05:52 +08:00
"SECRET_KEY": ""
2024-10-31 16:42:38 +08:00
},
"argstype": {
"Access_Key": {
"name": "AccessKey ID"
},
"SECRET_KEY": {
"name": "AccessKey Secret"
}
2024-05-01 11:33:04 +08:00
}
},
2024-07-21 15:14:32 +08:00
"dev_chatgpt": {
"args": {
2024-07-24 16:34:54 +08:00
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
2024-07-21 15:14:32 +08:00
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
2024-07-24 16:34:54 +08:00
},
"custom_prompt": {
2024-08-09 05:11:57 +08:00
"name": "自定义_promt",
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-09-13 13:17:57 +08:00
"dev_duckduckgo": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
"name": "自定义_promt",
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-08-14 01:02:58 +08:00
"dev_theb": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
"name": "自定义_promt",
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-08-09 05:11:57 +08:00
"dev_chatgpt_mirror": {
"args": {
"target_url": "https://chatgpt.com/",
"request_method": 0,
"checkneturlfunction": "url.includes(\"conversation\")",
"extracttextfunction": "thistext = chunk.message.content.parts[0]",
"textarea_selector": "#prompt-textarea",
"button_selector": "#__next > div.relative.z-0.flex.h-full.w-full.overflow-hidden > div.relative.flex.h-full.max-w-full.flex-1.flex-col.overflow-hidden > main > div.flex.h-full.flex-col.focus-visible\\\\:outline-0 > div.md\\\\:pt-0.dark\\\\:border-white\\\\/20.md\\\\:border-transparent.md\\\\:dark\\\\:border-transparent.w-full > div.text-base.px-3.md\\\\:px-4.m-auto.md\\\\:px-5.lg\\\\:px-1.xl\\\\:px-5 > div > form > div > div.flex.w-full.items-center > div > div > button",
"S": "",
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"target_url": {
"rank": -10
},
"S": {
"rank": 0,
"type": "split"
},
"textarea_selector": {
"rank": -6,
"name": "CSS selector for textarea"
},
"button_selector": {
"rank": -5,
"name": "CSS selector for button"
},
"extracttextfunction": {
"rank": -7,
"name": "Function2 (extract text in stream chunk)"
},
"checkneturlfunction": {
"rank": -8,
"name": "Function1 (check if url is backend url)"
},
"request_method": {
"rank": -9,
"type": "combo",
"list": [
"fetch",
"xhr"
]
},
"usingstream": {
"rank": 1,
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
"rank": 2,
"name": "自定义_promt",
2024-07-24 16:34:54 +08:00
"type": "multiline",
"refswitch": "use_custom_prompt"
2024-07-21 15:14:32 +08:00
}
}
},
2024-07-24 16:52:17 +08:00
"dev_moonshot": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
2024-08-09 05:11:57 +08:00
"name": "自定义_promt",
2024-07-24 16:52:17 +08:00
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-07-24 17:43:48 +08:00
"dev_qwen": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
2024-08-09 05:11:57 +08:00
"name": "自定义_promt",
2024-07-24 17:43:48 +08:00
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-07-24 19:23:55 +08:00
"dev_chatglm": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
2024-08-09 05:11:57 +08:00
"name": "自定义_promt",
2024-07-24 19:23:55 +08:00
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-07-24 20:11:19 +08:00
"dev_deepseek": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
2024-08-09 05:11:57 +08:00
"name": "自定义_promt",
2024-07-24 20:11:19 +08:00
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
2024-01-08 23:37:00 +08:00
"gemini": {
2024-05-01 11:33:04 +08:00
"args": {
"SECRET_KEY": "",
"Temperature": 0.3,
2024-10-09 01:04:30 +08:00
"BASE_URL": "https://generativelanguage.googleapis.com",
"model": "gemini-1.5-flash",
2024-09-05 12:47:58 +08:00
"modellistcache": [],
"context": 0,
"use_custom_prompt": false,
2024-07-20 23:23:26 +08:00
"custom_prompt": "",
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
"other_args": "{}",
"use_other_args": false,
2024-08-13 01:31:33 +08:00
"s": "",
2024-10-03 18:05:52 +08:00
"s2": "",
2024-09-18 12:01:52 +08:00
"usingstream": true,
"prefill": "",
"prefill_use": false
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-09-18 12:01:52 +08:00
"prefill": {
"refswitch": "prefill_use",
"rank": 5.11
},
"prefill_use": {
"type": "switch"
},
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
2024-10-09 01:04:30 +08:00
"BASE_URL": {
2024-10-31 16:42:38 +08:00
"name": "API接口地址",
2024-10-09 01:04:30 +08:00
"rank": 0
},
2024-08-13 01:31:33 +08:00
"usingstream": {
"name": "流式输出",
"type": "switch",
"rank": 4
},
2024-07-30 19:32:59 +08:00
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 3.5
},
2024-09-18 12:01:52 +08:00
"s2": {
"type": "split",
"rank": 5.12
},
"custom_prompt": {
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-20 23:23:26 +08:00
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "use_custom_prompt",
"rank": 5
},
"context": {
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
"step": 1,
2024-07-30 19:32:59 +08:00
"name": "附带上下文个数",
"rank": 4.9
},
2024-07-20 23:23:26 +08:00
"SECRET_KEY": {
2024-09-05 12:47:58 +08:00
"rank": 2,
"name": "API Key"
2024-07-20 23:23:26 +08:00
},
"model": {
2024-09-05 12:47:58 +08:00
"rank": 3,
"type": "lineedit_or_combo",
"list_function": "list_models",
"list_cache": "modellistcache"
},
"modellistcache": {
"type": "list_cache"
2024-07-20 23:23:26 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
2024-06-06 20:21:40 +08:00
"step": 0.1
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
"ort_sp": {
"args": {
2024-06-04 21:14:14 +08:00
"path": "",
2024-05-01 11:33:04 +08:00
"最大生成长度": 128,
"最小生成长度": 1,
"柱搜索数": 8,
"序列数": 1,
"过长惩罚": 1.4,
"重复惩罚": 1.7
},
"argstype": {
2024-06-04 21:14:14 +08:00
"path": {
"name": "路径",
2024-05-01 11:33:04 +08:00
"type": "file",
"dir": true
},
"序列数": {
"type": "intspin",
"min": 0,
"max": 10000,
"step": 1
},
"最大生成长度": {
"type": "intspin",
"min": 0,
"max": 10000,
"step": 1
},
"最小生成长度": {
"type": "intspin",
"min": 0,
"max": 10000,
"step": 1
},
"柱搜索数": {
"type": "intspin",
"min": 0,
"max": 10000,
"step": 1
},
"过长惩罚": {
"type": "spin",
"min": 0,
"max": 10000,
"step": 0.1
},
"重复惩罚": {
"type": "spin",
"min": 0,
"max": 10000,
"step": 0.1
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
2024-01-08 23:37:00 +08:00
"sakura": {
2024-05-01 11:33:04 +08:00
"args": {
"API接口地址": "http://127.0.0.1:8080/",
2024-07-20 23:23:26 +08:00
"use_context": false,
"append_context_num": 3,
2024-05-01 11:33:04 +08:00
"temperature": 0.1,
2024-01-08 23:37:00 +08:00
"top_p": 0.3,
"num_beams": 1,
"do_sample": true,
2024-09-11 23:58:34 +08:00
"max_new_token": 1024,
2024-05-01 11:33:04 +08:00
"repetition_penalty": 1,
"frequency_penalty": 0,
2024-09-15 10:58:06 +08:00
"fix_degeneration": false,
2024-08-13 00:58:28 +08:00
"流式输出": true,
2024-10-16 15:24:38 +08:00
"prompt_version": 2,
2024-07-20 23:23:26 +08:00
"s": ""
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
"rank": 0.5
},
2024-07-28 18:49:01 +08:00
"prompt_version": {
"rank": 1.1,
2024-08-15 22:23:31 +08:00
"name": "prompt格式需要根据模型版本决定",
2024-07-28 18:49:01 +08:00
"type": "combo",
"list": [
"v0.9",
2024-10-07 18:08:45 +08:00
"v0.10pre1_支持gpt词典",
2024-10-08 16:57:57 +08:00
"v1.0/v1.0pre1_支持gpt词典"
2024-07-28 18:49:01 +08:00
]
},
2024-07-20 23:23:26 +08:00
"API接口地址": {
"rank": 0
},
2024-05-01 11:33:04 +08:00
"流式输出": {
2024-07-20 23:23:26 +08:00
"type": "switch",
"rank": 1
2024-03-03 01:27:25 +08:00
},
2024-07-20 23:23:26 +08:00
"append_context_num": {
2024-05-01 11:33:04 +08:00
"type": "intspin",
"min": 1,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-20 23:23:26 +08:00
"step": 1,
"refswitch": "use_context",
"name": "利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)"
2024-05-01 11:33:04 +08:00
},
"temperature": {
"type": "spin",
"min": 0,
"max": 2,
"step": 0.1
},
"top_p": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.01
},
"num_beams": {
"type": "intspin",
"min": 1,
"max": 16,
"step": 1
},
"do_sample": {
2024-01-08 23:37:00 +08:00
"type": "switch"
},
2024-05-01 11:33:04 +08:00
"fix_degeneration": {
2024-01-08 23:37:00 +08:00
"type": "switch"
},
2024-05-01 11:33:04 +08:00
"max_new_token": {
"type": "intspin",
"min": 1,
2024-09-11 23:58:34 +08:00
"max": 1000000,
2024-05-01 11:33:04 +08:00
"step": 1
},
"repetition_penalty": {
"type": "spin",
"min": 0,
"max": 2,
"step": 0.1
},
"frequency_penalty": {
"type": "spin",
"min": 0,
"max": 2,
"step": 0.05
2024-01-08 23:37:00 +08:00
}
}
2024-05-01 11:33:04 +08:00
},
2024-03-13 15:47:20 +08:00
"chatgpt-offline": {
2024-05-01 11:33:04 +08:00
"args": {
2024-09-20 12:25:33 +08:00
"model": "gpt-4o-mini",
2024-09-18 12:01:52 +08:00
"modellistcache": [],
2024-05-01 11:33:04 +08:00
"附带上下文个数": 0,
2024-09-18 12:01:52 +08:00
"API接口地址": "https://api.openai.com",
2024-06-06 21:43:28 +08:00
"SECRET_KEY": "",
2024-05-01 11:33:04 +08:00
"使用自定义promt": false,
"自定义promt": "",
2024-08-13 00:58:28 +08:00
"流式输出": true,
2024-05-01 11:33:04 +08:00
"Temperature": 0.3,
2024-03-13 15:47:20 +08:00
"top_p": 0.3,
2024-09-11 23:58:34 +08:00
"max_tokens": 1024,
2024-07-20 23:23:26 +08:00
"frequency_penalty": 0,
2024-07-30 19:32:59 +08:00
"user_user_prompt": "{sentence}",
"use_user_user_prompt": false,
"other_args": "{}",
"use_other_args": false,
2024-09-18 12:01:52 +08:00
"s": "",
"s2": "",
"prefill": "",
"prefill_use": false
2024-05-01 11:33:04 +08:00
},
"argstype": {
2024-09-18 12:01:52 +08:00
"prefill": {
"refswitch": "prefill_use",
"rank": 5.11
},
"prefill_use": {
"type": "switch"
},
2024-07-30 19:32:59 +08:00
"other_args": {
"type": "multiline",
"refswitch": "use_other_args",
"name": "其他参数"
},
"user_user_prompt": {
2024-08-31 09:10:08 +08:00
"name": "自定义_user message",
2024-07-30 19:32:59 +08:00
"refswitch": "use_user_user_prompt",
"rank": 5.1
},
2024-07-20 23:23:26 +08:00
"s": {
"type": "split",
2024-09-18 12:01:52 +08:00
"rank": 2.5
},
"s2": {
"type": "split",
"rank": 5.12
2024-07-20 23:23:26 +08:00
},
"API接口地址": {
"rank": 0
},
2024-09-18 12:01:52 +08:00
"SECRET_KEY": {
"rank": 6,
"name": "API Key"
},
2024-07-20 23:23:26 +08:00
"model": {
2024-09-18 12:01:52 +08:00
"rank": 1,
"type": "lineedit_or_combo",
"list_function": "list_models",
"list_cache": "modellistcache"
},
"modellistcache": {
"type": "list_cache"
2024-07-20 23:23:26 +08:00
},
2024-05-01 11:33:04 +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-05-01 11:33:04 +08:00
"step": 1
},
"流式输出": {
2024-07-20 23:23:26 +08:00
"type": "switch",
2024-09-18 12:01:52 +08:00
"rank": 3
2024-07-20 23:23:26 +08:00
},
"自定义promt": {
"type": "multiline",
2024-07-30 19:32:59 +08:00
"refswitch": "使用自定义promt",
2024-08-23 23:48:30 +08:00
"name": "自定义_system prompt",
2024-07-30 19:32:59 +08:00
"rank": 5
2024-05-01 11:33:04 +08:00
},
"附带上下文个数": {
"type": "intspin",
"min": 0,
2024-09-12 21:01:26 +08:00
"max": 99999,
2024-07-30 19:32:59 +08:00
"step": 1,
"rank": 4.9
2024-05-01 11:33:04 +08:00
},
"Temperature": {
"type": "spin",
"min": 0,
"max": 1,
"step": 0.1
}
}
2024-05-01 11:33:04 +08:00
}
}