-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig-example.yml
121 lines (108 loc) · 3.49 KB
/
config-example.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# 微信支付配置文档: https://powerwechat.artisan-cloud.com/zh/payment/index.html#userconfig%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E%EF%BC%9A
payment:
appid: xxxxx # 公众号appid、小程序appid、企业微信corpid等
mchid: 100000 # ArtisanCloud商户号
certpath: certs/apiclient_cert.pem # 证书路径
keypath: certs/apiclient_key.pem # 证书私钥路径
serialno: 5XXX06F99FF64CF175XXXXXXX
key: xxxxx
# certificatekeypath: /xxx/ArtisanCloud/dev/wx_cert_artisan_cloud/certificates_key.pem
wechatpayserial: 7DED6E61FEA3C847XXXXXXXXXXXXXXX
# rsapublickeypath: /xxx/ArtisanCloud/dev/wx_cert_artisan_cloud/wx_rsa_public_key.pem
mchapiv3key: xxxxx
notifyurl: https://www.artisancloud.cn
submchid: xxxxx
subappid: xxxxx
redisaddr: localhost:6379
# 小程序配置文档: https://powerwechat.artisan-cloud.com/zh/mini-program/index.html
miniprogram:
appid: xxxxx
secret: xxxxx
redisaddr: localhost:6379
messagetoken: xxxx
messageaeskey: xxxx
# 企业微信配置文档: https://powerwechat.artisan-cloud.com/zh/wecom/index.html
wecom:
corpid: ww454dfb9d6f6d432a
# ----- powerwechat-docs-demo start ------
agent_id: 1000000
secret:
messagetoken: xxxxx
messageaeskey: KIBOjioaf3fabKJ32d9zjioafF
messagecallback: https://www.artisan-cloud.com/message/callback
oauthcallback: https://www.artisan-cloud.com/oauth/callback
# ----- powerwechat-docs-demo end ------
# 联系人配置
contactsecret:
contacttoken: xxxxx
contactaeskey: KIBOjioaf3fabKJ32d9zjioafF
contactcallback: https://www.artisan-cloud.com/api/wx/customer
redisaddr: localhost:6379
# 公众号配置文档: https://powerwechat.artisan-cloud.com/zh/official-account/index.html
offiaccount:
appid: xxxxx
appsecret: KIBOjioaf3fabKJ32d9zjioafF
redisaddr: localhost:6379
messagetoken: xxxxx
messageaeskey:
# 开放平台配置
openplatform:
appid: xxxxxx # 开放平台第三方平台 APPID
appsecret: xxxxxx # 开放平台第三方平台 Secret'
messagetoken: xxxxxx # 开放平台第三方平台 Token'
messageaeskey: xxxxxx # 开放平台第三方平台 AES Key
redisaddr: localhost:6379
robotchat:
artbot:
channel: stableDiffusion
stablediffusion:
token: MTA5OTI0MjgzOTI2NDcyNzA2MAkeykeykeykeykeykeykeykeykeykeykeykeykey
baseurl: http://127.0.0.1:7861
prefixuri:
version:
httpdebug:
proxyurl:
queue:
driver: redis
# 异步操作回调通知
notifyurl: http://127.0.0.1:8888/api/v1/webhook/art-bot/queue/notify
redis:
addr: 127.0.0.1:6379
clientname: ArtBot
username:
password:
db: 1
maxretries: 3
log:
driver: zap
env: develop
infolog: ./logs/artBot/info.log
errorlog: ./logs/artBot/error.log
httpdebug: true
chatbot:
channel: OPENAI
chatgpt:
openapikey: sk-r4KaVKEmWiogWiVSkeykeykeykeykeykeykeykeykeykeykeykeykeykey
model: ada:ft-55hudong-2023-06-15-05-51-27
organization: 55hudong
httpdebug: true
baseurl: https://chat.kxllen.com/v1
apitype:
apiversion: v1
queue:
driver: redis
# 异步操作回调通知
notifyurl: http://127.0.0.1:8888/api/v1/webhook/chat-bot/queue/notify
redis:
addr: 127.0.0.1:6379
clientname: ChatBot
username:
password:
db: 2
maxretries: 3
log:
driver: zap
env: develop
infolog: ./logs/chatBot/info.log
errorlog: ./logs/chatBot/error.log
httpdebug: true