🚀 Key Features / 关键更新
🧩 知识库插件化 / RAG Engine Plugin Architecture - Authored by @huanghuoguoguo
The Knowledge Base (RAG) capability has been refactored from the built-in implementation in LangBot to a plug-in architecture; the previous "external knowledge base" plugin is now also implemented through the "knowledge engine" plugin; developers can provide LangBot with custom knowledge engine implementations through plugins to meet complex business needs.
知识库(RAG)能力现已从 LangBot 内置实现重构为插件化架构;以往的「外部知识库」插件现在也通过「知识引擎」插件实现;开发者可以通过插件为 LangBot 提供自定义的知识引擎实现,满足复杂业务需求。
主要变更 / Key changes:
- Removed the distinction between internal and external knowledge bases; all knowledge bases are now unified under a single management interface, differentiated by RAG engine plugins
- Added the KnowledgeEngine plugin component type; knowledge base creation forms are dynamically rendered based on the selected engine
- Core capabilities such as Embedding invocation and vector database operations are encapsulated in RAGRuntimeService, accessible to plugins via API
- Removed the deprecated KnowledgeRetriever component
☁️ LangBot Cloud 现已上线 / LangBot Cloud is Live
In addition to this open-source release, LangBot Cloud has recently launched! Experience all LangBot capabilities without self-hosting. Visit https://space.langbot.app to learn more.
除了开源版本更新,LangBot Cloud 近期已正式上线!无需自行部署,即可体验 LangBot 的全部能力。欢迎前往 LangBot Cloud (https://space.langbot.app/cloud) 了解详情。
更新须知 / Update Notice
- Internal and external knowledge bases created in previous versions will be automatically migrated; after updating, you can visit the Knowledge Base page to verify the migration
- 旧版本中创建的内置知识库和外部知识库将由迁移工具自动迁移,您可以更新后前往知识库页面确认迁移
What's Changed
- Fix/tg send msg chunk by @fdc310 in #2021
- refactor(dify): Optimize the Dify API output parsing by @marunrun in #2027
- Feat/telemetry runner url by @fdc310 in #2029
- Feat/rag plugin by @huanghuoguoguo in #1995
- fix(platform): websocket send_message not delivering to webchat frontend by @fdc310 in #2039
- fix: centralized pipeline config type coercion to prevent string-type crashes by @doujianghub in #2031
- Fix/websocket chat bug by @wangcham in #2041
- Feat/dbm20 rag by @huanghuoguoguo in #2037
New Contributors
- @marunrun made their first contribution in #2027
- @doujianghub made their first contribution in #2031
Full Changelog: v4.8.7...v4.9.0