mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-01 13:25:18 +08:00
Update config.md
This commit is contained in:
@@ -99,6 +99,33 @@
|
||||
|
||||
`token`:验证密钥,,与`go-cqhttp`的`config.yml`里面的保持一致
|
||||
|
||||
### 企业微信适配器
|
||||
|
||||
用于接入企业微信,如果不清楚这些内容应该填写什么,请查看[企业微信配置项](/deploy/platforms/wecom.md#企业微信配置项)。
|
||||
|
||||
```json
|
||||
{
|
||||
"adapter":"wecom",
|
||||
"enable":false,
|
||||
"host":"0.0.0.0",
|
||||
"port":5001,
|
||||
"corpid":"",
|
||||
"secret":"",
|
||||
"token":"",
|
||||
"EncodingAESKey":"",
|
||||
"contacts_secret":""
|
||||
},
|
||||
```
|
||||
`"adapter": "wecom"`,无需改动。
|
||||
|
||||
`enable`:是否启用,配置完成后请将其设为`true`
|
||||
|
||||
`host`:运行 企业微信回调地址 的主机地址,一般不改动
|
||||
|
||||
`port`:运行 企业微信回调地址 的监听端口,一般不改动
|
||||
|
||||
`corpid`,`secret`,`token`,`EncodingAESKey`,`contacts_secret`都在企业微信配置项页中获取。
|
||||
|
||||
## provider.json
|
||||
|
||||
修改此配置文件以设置所连接的 AI 提供商的相关信息,目前支持 `openai(GPT)`, `anthropic(claude)`, `moonshot(月之暗面)` 三种接口及对应模型。
|
||||
@@ -149,4 +176,4 @@
|
||||
|
||||
阅读并完成以上教程后,请根据你部署 LangBot 的方式重启,你应该可以成功使用了,如果不能请再次阅读(你或许漏做或错做某些步骤),如果完全阅读并充分理解本文档后仍然确实无法使用,你可以在[这里](/insight/community.html)找到交流群。
|
||||
|
||||
:::
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user