[Open Source] An enterprise knowledge base application powered by large language models, helping you build AI knowledge base applications
![[Open Source] An enterprise knowledge base application powered by large language models, helping you build AI knowledge base applications](https://yy123.ink/api/img/1782602676585-68bz4g.jpg)
1. Project Overview
Enterprise AI Knowledge Base
Bsin-kb-agent is an enterprise knowledge base application built on the BsinPaaS open-source framework and large language models. Inspired by LangChain's framework design philosophy, it integrates the langchian4j component and adopts a micro-frontend and microservices architecture, helping you quickly build and experience end-to-end AI knowledge base applications.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
UI








4. Feature Overview
bsin-copilot is developed based on BsinPaaS. In addition to the built-in multi-tenant, multi-merchant, multi-user permission management, menu management, and other basic features of BsinPaaS, it integrates a rich set of general-purpose components for large language model applications. All features can be configured through the administration console. Combined with advanced AI orchestration capabilities, it enables rapid development of AI applications for specialized domains, such as digital avatars (virtual humans), enterprise brand showcases, and customer service assistants.
Use Cases
-
Intelligent Customer Service for Enterprise WeChat Groups and Official Accounts: Improve customer experience through intelligent customer service features.
-
IP Brand Ambassador: Help enterprises manage and promote their brands digitally.
-
Digital Avatar: Create an independent AI digital identity for individuals or enterprises.
-
Enterprise Knowledge Base Assistant: Provide efficient internal enterprise knowledge management and query services.
5. Tech Stack
Architecture design


Scenario Diagram

Tech Stack
Large Language Model Backend (Java): Local Knowledge Base (RAG), Large Language Model Management, AI Service Orchestration...
|
Components |
Version |
Remarks |
|
JDK |
11+ |
|
|
SOFABoot |
3.18.0 |
An open-source development framework based on Spring Boot, developed by Ant Financial |
|
zookeeper |
3.6.2 |
A distributed, open-source coordination service for distributed applications |
|
seata |
1.4.2 |
A distributed transaction solution dedicated to providing high-performance and easy-to-use distributed transaction services in microservices architectures |
|
MySql |
8.0 |
Relational Database |
|
Redis |
6.0.16 |
Cache |
|
Milvus |
2.3.5 |
An open-source vector database designed to provide efficient similarity search and vector clustering capabilities, serving as a local knowledge base and permanent Copilot memory storage |
|
BsinPaaS |
1.0 |
Enterprise-Grade Microservices Framework |
|
Mybatis |
2.1.3 |
MySQL Data Persistence Layer (ORM) Framework |
|
langchain4j |
0.27.1 |
Java implementation of LangChain |
|
wx-java |
4.3.0 |
A Java SDK for WeChat development, providing API interfaces for multiple platforms, including WeChat Pay, Open Platform, Mini Programs, Enterprise WeChat, and Official Accounts |
|
... |
Backend (Golang) - Primarily implements personal WeChat login and message forwarding
|
Components |
Version |
Remarks |
|
gin |
1.9.1 |
Lightweight HTTP Web Framework |
|
openWechat |
1.4.6 |
Personal WeChat Account API, enabling personal WeChat account development similar to Official Account development |
|
go-redis |
9.4.0 |
Cache |
|
swag |
1.8.12 |
API Documentation Generation |
|
... |
Frontend (B2B Administration Console)
|
Components |
Version |
Remarks |
|
bsin-apps-container |
2.0.0 |
BsinPaaS Micro-Frontend Base UI |
|
bsin-ui-upms |
2.0.0 |
BsinPaaS Permission Management Admin UI |
|
bsin-ui-scaffold-react-app1 |
2.0.0 |
BsinPaaS Micro-Frontend Admin Scaffolding |
|
react |
18.1.0 |
An open-source frontend framework by Facebook |
|
antd |
5.4.7 |
A React UI component library based on the Ant Design design system, primarily used for developing enterprise-grade back-office products |
|
umi |
2.10.1 |
An extensible enterprise-grade frontend application framework |
|
qiankun |
4.0.72 |
A micro-frontend implementation library based on single-spa, designed to help developers build production-ready micro-frontend architecture systems more easily and seamlessly |
|
reactflow |
11.10.3 |
A React-based visual workflow library that provides rich features and flexible extensibility, helping developers quickly build high-quality visual workflow applications |
|
ant-design/pro-chat |
1.7.0 |
Large Language Model Chat Components Based on Ant Design |
|
... |
Frontend (C-End App | H5 | Mini Programs)
|
Components |
Version |
Remarks |
|
bsin-ui-scaffold-uniapp |
1.0.0 |
BsinPaaS uni-app Micro-Frontend Scaffolding |
|
uni-app |
A frontend framework for developing cross-platform personal library applications with Vue.js. Developers write a single codebase that can be compiled for multiple platforms, including iOS, Android, H5, and Mini Programs |
|
|
... |
For more information, please refer to the README.md documentation