mirror of
https://github.com/ooyinet/WeClone.git
synced 2026-08-31 03:15:39 +08:00
Merge pull request #65 from RockChinQ/master
doc: add LangBot integration
This commit is contained in:
@@ -156,6 +156,8 @@ weclone-cli test-model
|
||||
|
||||
## 🤖 部署到聊天机器人
|
||||
|
||||
### AstrBot
|
||||
|
||||
[AstrBot](https://github.com/AstrBotDevs/AstrBot) 是易上手的多平台 LLM 聊天机器人及开发框架 ✨ 平台支持 QQ、QQ频道、Telegram、微信、企微、飞书。
|
||||
|
||||
使用步骤:
|
||||
@@ -171,6 +173,20 @@ weclone-cli test-model
|
||||
7. 调整采样参数,例如temperature、top_p、top_k等
|
||||
[配置自定义的模型参数](https://astrbot.app/config/model-config.html#%E9%85%8D%E7%BD%AE%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E6%A8%A1%E5%9E%8B%E5%8F%82%E6%95%B0)
|
||||
|
||||
### LangBot
|
||||
|
||||
[LangBot](https://github.com/RockChinQ/LangBot) 是一个开源的接入全球多种即时通信平台的 LLM 机器人平台,适合各种场景使用。
|
||||
|
||||
1. [部署 LangBot](https://github.com/RockChinQ/LangBot#-%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8)
|
||||
2. 在 LangBot 中添加一个机器人
|
||||
4. 在模型页添加新模型,名称`gpt-3.5-turbo`,供应商选择 OpenAI,填写 请求 URL 为 WeClone 的地址,详细连接方式可以参考[文档](https://docs.langbot.app/zh/workshop/network-details.html),API Key 任意填写。
|
||||
|
||||
<img width="400px" alt="image" src="https://github.com/user-attachments/assets/fc167dea-7c93-4d94-9c5f-db709d0320ba" />
|
||||
|
||||
6. 在流水线配置中选择刚才添加的模型,或修改提示词配置
|
||||
|
||||
<img width="400px" alt="image" src="https://github.com/user-attachments/assets/dbb0fd0a-f760-42db-acd0-bb99c859b52e" />
|
||||
|
||||
## 📌 路线图
|
||||
- [ ] 更丰富的上下文:包括上下文对话、聊天对象信息、时间等 + 思考
|
||||
- [ ] Memory 支持
|
||||
|
||||
Reference in New Issue
Block a user