diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4fc4871..b6e0fec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: args: ["--fix=lf"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.2 hooks: - id: ruff args: [--fix] diff --git a/README.md b/README.md index e9e35a4..76315b9 100644 --- a/README.md +++ b/README.md @@ -200,17 +200,20 @@ Usage steps: ### LangBot -[LangBot](https://github.com/RockChinQ/LangBot) is an open-source LLM chatbot platform that connects to various global instant messaging platforms, suitable for various scenarios. +[LangBot](https://github.com/langbot-app/LangBot) is an easy-to-use open-source LLM chatbot platform suitable for various scenarios. It connects to various global instant messaging platforms. You can set up your IM bot in just 5 minutes. + +image 1. [Deploy LangBot](https://github.com/RockChinQ/LangBot/blob/master/README_EN.md#-getting-started) -2. Add a robot in LangBot +2. Add a bot (Discord, Telegram, Slack, Lark e.g.) in LangBot +3. Execute `weclone-cli server` to start the WeClone API service 4. Add a new model in the model page, name it `gpt-3.5-turbo`, select OpenAI as the provider, fill in the request URL as WeClone's address. For detailed connection methods, refer to the [documentation](https://docs.langbot.app/en/workshop/network-details.html), and enter any API Key. -image +image 6. Select the model you just added in the pipeline configuration, or modify the prompt configuration -image +image ## 📌 Roadmap diff --git a/README_zh.md b/README_zh.md index 083cb9f..972cf3b 100644 --- a/README_zh.md +++ b/README_zh.md @@ -194,8 +194,12 @@ weclone-cli test-model [LangBot](https://github.com/RockChinQ/LangBot) 是一个开源的接入全球多种即时通信平台的 LLM 机器人平台,适合各种场景使用。 +image + + 1. [部署 LangBot](https://github.com/RockChinQ/LangBot#-%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8) -2. 在 LangBot 中添加一个机器人 +2. 执行 `weclone-cli server` 启动 WeClone API 服务 +3. 在 LangBot 中添加一个机器人 4. 在模型页添加新模型,名称`gpt-3.5-turbo`,供应商选择 OpenAI,填写 请求 URL 为 WeClone 的地址,详细连接方式可以参考[文档](https://docs.langbot.app/zh/workshop/network-details.html),API Key 任意填写。 image