Skip to content
LangBot is an open-source instant messaging bot development platform that supports Feishu, DingTalk, WeChat, QQ, Telegram, Discord, Slack, and more. It supports knowledge bases, agents, MCP, and works well with OpenAI-compatible providers.

Connect Dli.li AI

LangBot can work with self-hosted compatible gateways and can also connect directly to Dli.li AI.

Usage

  1. Get an API key from the Dli.li AI API Tokens page. Get API key

    If you are using a self-hosted compatible gateway, configure the API address yourself and make sure it ends with /v1. If you are using the official Dli.li endpoint, you can start with the official default API https://api.dli.li/v1; if you want the official backup API directly, use https://api.dlizz.com/v1.

  2. Add a model in LangBot. Choose NewAPI as the provider and fill in the API key and API address. Add NewAPI model

  3. Select the model inside the pipeline. Select model

  4. Use it in conversation debugging or by chatting with a bot bound to that pipeline. Debug chatWeChat chat

    For deployment and platform-specific bot setup, see Deploying Bots.

Using embeddings for the knowledge base

LangBot can also use embedding models exposed through Dli.li AI as vector models for its knowledge base.

  1. Add an embedding model in LangBot and choose NewAPI as the provider. Add embedding model

  2. Select that embedding model when creating a knowledge base. Use embedding model

For more details, see the official LangBot docs: https://docs.langbot.app