KokoAPIKokoAPI
User GuideAPI ReferenceAI ApplicationsHelp & Support

LangBot - Instant Messaging Bot Development Platform

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 KokoAPI.

Integrating KokoAPI

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

Usage

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

    If KokoAPI is deployed locally, please configure the API address yourself (refer to Container Network Connection). If using a third-party KokoAPI 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 KokoAPI as the provider, and fill in the corresponding API key and API address 添加 KokoAPI 模型

  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 KokoAPI's embedding models and utilizing them as vector models for the knowledge base.

  1. Add an embedding model in LangBot, select KokoAPI 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