WeRouter
WeRouter
User GuideAPI ReferenceAI ApplicationsSkillsHelp & SupportBusiness Cooperation

LangBot - Instant Messaging Bot Development Platform

LangBot integration guide — build AI-powered chatbots for Feishu, DingTalk, Telegram, Discord, and more. Supports Knowledge Base, Agent, and MCP with WeRouter.

LangBot is an open-source instant messaging bot development platform that supports various instant messaging platforms such as Feishu, DingTalk, WeChat, QQ, Telegram, Discord, Slack, etc. It integrates with mainstream global AI models, supports various AI application capabilities like Knowledge Base, Agent, MCP, and is perfectly compatible with WeRouter.

Integrating WeRouter

LangBot supports integrating with locally deployed WeRouter and third-party WeRouter services built using WeRouter.

Usage

  1. Obtain an API key from WeRouter 获取 API key

    If WeRouter is deployed locally, please configure the API address yourself (refer to Container Network Connection). If using a third-party WeRouter service, you can copy the address from the page. Note that /v1 needs to be appended to the address.

  2. Add a model in LangBot, select WeRouter as the provider, and fill in the corresponding API key and API address 添加 WeRouter 模型

  3. Select the model to use in the pipeline

    选择模型

  4. Use it by chatting in conversation debugging or by chatting with a bot bound to the pipeline

    对话

    微信对话

    For deploying and configuring bots, please refer to Deploying Bots.

Using LangBot Knowledge Base

LangBot supports using WeRouter's embedding models and utilizing them as vector models for the knowledge base.

  1. Add an embedding model in LangBot, select WeRouter as the provider 添加嵌入模型

  2. Select the embedding model when creating a new knowledge base 使用嵌入模型

For more usage instructions, please refer to the LangBot official documentation: https://docs.langbot.app

How is this guide?

Last updated on