docs: add wecom botname config and stream config

This commit is contained in:
fdc310
2026-03-29 17:05:10 +08:00
parent 202d200814
commit 1271269a90
5 changed files with 30 additions and 6 deletions
+10 -2
View File
@@ -43,7 +43,8 @@ Note:
### Configuring the Bot
Start the LangBot main program, select the adapter `WeCom Intelligent Bot`, and fill in the configuration items.
Enter the BotID and Secret from the long connection into the fields, click save and enable.
Enter the BotID, Secret, and bot name from the long connection into the fields, click save and enable.
> The bot name must match the name of the newly created bot, otherwise the bot will not respond in group chats.
![Long Connection Configuration](/images/zh/deploy/bots/wecom/wecombot/wecombot_10.png)
@@ -77,7 +78,14 @@ Return to the WeCom robot configuration page and fill the copied webhook address
Details page after successful creation:
![Creation Successful](/images/zh/deploy/bots/wecom/wecombot/wecombot_5.png)
Copy the `Bot ID` from the WeCom robot details page, return to the LangBot management page, change the Bot ID of the deployed intelligent robot to the copied ID, and restart the robot.
Copy the `Bot ID` and bot name from the WeCom robot details page, return to the LangBot management page, change the Bot ID of the deployed intelligent robot to the copied ID, fill in the bot name, and restart the robot.
## Enable Streaming
A streaming toggle has been added for locally deployed models or models that do not support streaming.
![Streaming Toggle](/images/zh/deploy/bots/wecom/wecombot/wecombot_12.png)
## Start Using
Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

+10 -2
View File
@@ -43,7 +43,8 @@ WeCom 管理コンソールで、インテリジェントボットの設定ペ
### ボットの設定
LangBot メインプログラムを起動し、アダプター「WeCom Intelligent Bot」を選択し、設定項目を入力します。
ロングコネクションの BotID と Secret を入力し、保存して有効化をクリックします。
ロングコネクションの BotID、Secret、およびボット名を入力し、保存して有効化をクリックします。
> ボット名は新しく作成したボットの名前と一致している必要があります。一致しない場合、グループチャットで応答しません。
![ロングコネクション設定](/images/zh/deploy/bots/wecom/wecombot/wecombot_10.png)
@@ -77,7 +78,14 @@ WeCom ロボット設定ページに戻り、コピーした webhook アドレ
作成成功後の詳細ページ:
![Creation Successful](/images/zh/deploy/bots/wecom/wecombot/wecombot_5.png)
WeCom ロボット詳細ページから「Bot ID」をコピーし、LangBot 管理ページに戻り、デプロイされたインテリジェントロボットの Bot ID をコピーした ID に変更し、ロボットを再起動します。
WeCom ロボット詳細ページから「Bot ID」とボット名をコピーし、LangBot 管理ページに戻り、デプロイされたインテリジェントロボットの Bot ID をコピーした ID に変更し、ボット名を入力して、ロボットを再起動します。
## ストリーミングの有効化
ローカルでデプロイされたモデルやストリーミングをサポートしていないモデル向けに、ストリーミングのオン・オフスイッチが追加されました。
![ストリーミングスイッチ](/images/zh/deploy/bots/wecom/wecombot/wecombot_12.png)
## 使用開始
+10 -2
View File
@@ -43,7 +43,8 @@ title: "部署企业微信智能机器人"
### 配置机器人
启动 LangBot 主程序,适配器选择 `企业微信智能机器人`,填写配置项,
将长连接中的botid和secret填入,点击保存并使用
将长连接中的botid和secret以及机器人名称填入,点击保存并使用
> 其中机器人名称要与新建的机器人名称一样,不然群聊会不回复
![长连接配置](/images/zh/deploy/bots/wecom/wecombot/wecombot_10.png)
@@ -77,7 +78,14 @@ title: "部署企业微信智能机器人"
创建成功之后的详情页:
![创建成功](/images/zh/deploy/bots/wecom/wecombot/wecombot_5.png)
复制企业微信机器人详情页的`Bot ID`,回到LangBot管理页面,将部署的智能机器人的机器人Id改为复制的ID,重新启动机器人。
复制企业微信机器人详情页的`Bot ID`和机器人的名称,回到LangBot管理页面,将部署的智能机器人的机器人Id改为复制的ID,并填入机器人名称,重新启动机器人。
## 开启流式
针对部分本地搭建或者不支持流式的模型新增流式开关
![流式开关](/images/zh/deploy/bots/wecom/wecombot/wecombot_12.png)
## 开始使用