-
Notifications
You must be signed in to change notification settings - Fork 33
/
cfg.yml
42 lines (34 loc) · 1.4 KB
/
cfg.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
huawei_cloud_nlp: # 华为云机器翻译
ak_id: "" # Access Key
sk_key: "" # Secret Access Key
region: "cn-north-4" # 当前接口开发的区域, 目前仅支持华北-北京四终端节点
project_id: "" # 项目ID
max_single_text_length: 2000 # 单次翻译最大长度
ling_va:
data_id: "3qnDcUVykFKnSC3cdRX2t" # 数据ID
max_single_text_length: 1000 # 单次翻译最大长度
baidu:
app_id: "" # 应用ID
app_key: "" # 应用密钥
max_single_text_length: 1000 # 单次翻译最大长度
tencent_cloud_mt: # 腾讯云机器翻译
secret_id: "" # 密钥ID 用于标识接口调用者身份
secret_key: "" # 密钥关键字 用于验证接口调用者的身份
max_single_text_length: 2000 # 单次翻译最大长度
openapi_youdao: # 有道智云翻译
app_key: "" # 应用ID
app_secret: "" # 应用密钥
max_single_text_length: 5000 # 单次翻译最大长度
ali_cloud_mt: # 阿里云翻译
ak_id: "" # 应用ID
ak_secret: "" # 应用密钥
region: "" # 区域
max_single_text_length: 3000 # 单次翻译最大长度
caiyun_ai: # 彩云小翻译
token: "" # 密钥
max_single_text_length: 5000 # 单次翻译最大长度
niutrans:
app_key:
volc_engine:
access_key:
secret_key: