基于 LLM 大语言模型的知识库问答系统。开箱即用,支持快速嵌入到第三方业务系统,1Panel 官方出品。
Go to file
shaohuzhang1 57b4d38308 Merge branch 'main' of github.com:1Panel-dev/MaxKB 2024-03-19 20:02:58 +08:00
.github/workflows build: 分开镜像 2024-03-19 20:00:08 +08:00
apps fix: 去掉嵌入脚本@scope 样式 手机端不支持@scope 2024-03-18 17:56:22 +08:00
installer feat: 修改程序端口为8080 2024-03-19 19:59:54 +08:00
ui feat: 修改程序端口为8080 2024-03-19 19:59:54 +08:00
.dockerignore build: 分开镜像 2024-03-19 19:53:47 +08:00
.gitignore chore: Update .gitignore 2024-03-19 17:21:02 +08:00
LICENSE Initial commit 2023-09-14 10:05:12 +08:00
README.md feat: 添加自定义持久化数据启动 2024-03-19 20:02:39 +08:00
config_example.yml feat: 配置时间区域 启动前先执行迁移数据库 2023-12-14 12:09:11 +08:00
main.py feat: 修改程序端口为8080 2024-03-19 19:59:54 +08:00
pyproject.toml feat: 升级依赖包 2024-03-19 19:54:15 +08:00

MaxKB

基于 LLM 大语言模型的知识库问答系统

License: GPL v3 Codacy Latest release Stars


MaxKB 是一款基于 LLM 大语言模型的知识库问答系统。

  • 多模型:支持对接主流的大模型,包括本地私有大模型(如 Llama 2、Azure OpenAI 和百度千帆大模型等;
  • 开箱即用:支持直接上传文档、自动爬取在线文档,支持文本自动拆分、向量化,智能问答交互体验好;
  • 无缝嵌入:支持零编码快速嵌入到第三方业务系统。

快速开始

docker run -d --name=maxkb -p 8080:8080 ghcr.io/1panel-dev/maxkb

自定义持久化数据

  • 在主机系统上创建一个存储数据的目录,例如:/opt/maxkb/data
  • 在主机系统上创建一个存储配置文件的目录,例如:/opt/maxkb/conf
docker run --name=maxkb -p 8080:8000 -v /opt/maxkb/data:/var/lib/postgresql/data -v /opt/maxkb/conf:/opt/maxkb/conf -d ghcr.io/1panel-dev/maxkb

也可以通过 1Panel 应用商店 快速部署 MaxKB + OllamaLlama 230 分钟内即可上线基于本地大模型的知识库问答系统。

UI 展示

Demo1 Demo2
Demo3 Demo4

社区交流

论坛

技术栈

License

Copyright (c) 2014-2024 飞致云 FIT2CLOUD, All rights reserved.

Licensed under The GNU General Public License version 3 (GPLv3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-3.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.