mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
277d1b0e30ef98f4e4e3ff72514e08fcf8841ba1
* feat: add embeddings model management (#1461) * feat: add embeddings model management backend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: add embeddings model management frontend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * chore: revert HttpClient URL to production setting Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * refactor: integrate embeddings models into models page with tabs Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * perf: move files * perf: remove `s` * feat: allow requester to declare supported types in manifest * feat(embedding): delete dimension and encoding format * feat: add extra_args for embedding moels * perf: i18n ref * fix: linter err * fix: lint err * fix: linter err --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: add knowledge page * feat: add api for uploading files * kb * delete ap * feat: add functions * fix: modify rag database * feat: add embeddings model management (#1461) * feat: add embeddings model management backend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: add embeddings model management frontend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * chore: revert HttpClient URL to production setting Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * refactor: integrate embeddings models into models page with tabs Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * perf: move files * perf: remove `s` * feat: allow requester to declare supported types in manifest * feat(embedding): delete dimension and encoding format * feat: add extra_args for embedding moels * perf: i18n ref * fix: linter err * fix: lint err * fix: linter err --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: add knowledge page * feat: add api for uploading files * feat: add sidebar for rag and related i18n * feat: add knowledge base page * feat: basic entities of kb * feat: complete support_type for 302ai and compshare requester * perf: format * perf: ruff check --fix * feat: basic definition * feat: rag fe framework * perf: en comments * feat: modify the rag.py * perf: definitions * fix: success method bad params * fix: bugs * fix: bug * feat: kb dialog action * fix: create knwoledge base issue * fix: kb get api format * fix: kb get api not contains model uuid * fix: api bug * fix: the fucking logger * feat(fe): component for available apis * fix: embbeding and chunking * fix: ensure File.status is set correctly after storing data to avoid null values * fix: add functions for deleting files * feat(fe): file uploading * perf: adjust ui * fix: file be deleted twice * feat(fe): complete kb ui * fix: ui bugs * fix: no longer require Query for invoking embedding * feat: add embedder * fix: delete embedding models file * chore: stash * chore: stash * feat(rag): make embedding and retrieving available * feat(rag): all APIs ok * fix: delete utils * feat: rag pipeline backend * feat: combine kb with pipeline * fix: .md file parse failed * perf: debug output * feat: add functions for frontend of kb * perf(rag): ui and related apis * perf(rag): use badge show doc status * perf: open kb detail dialog after creating * fix: linter error * deps: remove sentence-transformers * perf: description of default pipeline * feat: add html and epub * chore: no longer supports epub --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: WangCham <651122857@qq.com>
✨ Features
- 💬 Chat with LLM / Agent: Supports multiple LLMs, adapt to group chats and private chats; Supports multi-round conversations, tool calls, and multi-modal capabilities. Deeply integrates with Dify. Currently supports QQ, QQ Channel, WeCom, personal WeChat, Lark, DingTalk, Discord, Telegram, etc.
- 🛠️ High Stability, Feature-rich: Native access control, rate limiting, sensitive word filtering, etc. mechanisms; Easy to use, supports multiple deployment methods. Supports multiple pipeline configurations, different bots can be used for different scenarios.
- 🧩 Plugin Extension, Active Community: Support event-driven, component extension, etc. plugin mechanisms; Integrate Anthropic MCP protocol; Currently has hundreds of plugins.
- 😻 [New] Web UI: Support management LangBot instance through the browser. No need to manually write configuration files.
📦 Getting Started
Docker Compose Deployment
git clone https://github.com/langbot-app/LangBot
cd LangBot
docker compose up -d
Visit http://localhost:5300 to start using it.
Detailed documentation Docker Deployment.
One-click Deployment on BTPanel
LangBot has been listed on the BTPanel, if you have installed the BTPanel, you can use the document to use it.
Zeabur Cloud Deployment
Community contributed Zeabur template.
Railway Cloud Deployment
Other Deployment Methods
Directly use the released version to run, see the Manual Deployment documentation.
📸 Demo
- WebUI Demo: https://demo.langbot.dev/
- Login information: Email:
demo@langbot.appPassword:langbot123456 - Note: Only the WebUI effect is shown, please do not fill in any sensitive information in the public environment.
- Login information: Email:
🔌 Component Compatibility
Message Platform
| Platform | Status | Remarks |
|---|---|---|
| Personal QQ | ✅ | |
| QQ Official API | ✅ | |
| WeCom | ✅ | |
| WeComCS | ✅ | |
| Personal WeChat | ✅ | |
| Lark | ✅ | |
| DingTalk | ✅ | |
| Discord | ✅ | |
| Telegram | ✅ | |
| Slack | ✅ | |
| LINE | 🚧 | |
| 🚧 |
🚧: In development
LLMs
| LLM | Status | Remarks |
|---|---|---|
| OpenAI | ✅ | Available for any OpenAI interface format model |
| DeepSeek | ✅ | |
| Moonshot | ✅ | |
| Anthropic | ✅ | |
| xAI | ✅ | |
| Zhipu AI | ✅ | |
| CompShare | ✅ | LLM and GPU resource platform |
| Dify | ✅ | LLMOps platform |
| PPIO | ✅ | LLM and GPU resource platform |
| 302.AI | ✅ | LLM gateway(MaaS) |
| Google Gemini | ✅ | |
| Ollama | ✅ | Local LLM running platform |
| LMStudio | ✅ | Local LLM running platform |
| GiteeAI | ✅ | LLM interface gateway(MaaS) |
| SiliconFlow | ✅ | LLM gateway(MaaS) |
| Aliyun Bailian | ✅ | LLM gateway(MaaS), LLMOps platform |
| Volc Engine Ark | ✅ | LLM gateway(MaaS), LLMOps platform |
| ModelScope | ✅ | LLM gateway(MaaS) |
| MCP | ✅ | Support tool access through MCP protocol |
🤝 Community Contribution
Thank you for the following code contributors and other members in the community for their contributions to LangBot:
😎 Stay Ahead
Click the Star and Watch button in the upper right corner of the repository to get the latest updates.
Languages
Python
63.8%
TypeScript
34.6%
JavaScript
1%
CSS
0.4%
Shell
0.1%
