mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-04-03 07:16:39 +08:00
发布应用 MaxKB
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
3ccd5d382b
commit
f0067c3fb6
17
maxkb/1.6.1/data.yml
Normal file
17
maxkb/1.6.1/data.yml
Normal file
@ -0,0 +1,17 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/maxkb"
|
||||
edit: true
|
||||
envKey: MAXKB_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
20
maxkb/1.6.1/docker-compose.yml
Normal file
20
maxkb/1.6.1/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
maxkb:
|
||||
image: 1panel/maxkb:v1.6.1
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${MAXKB_ROOT_PATH}/data:/var/lib/postgresql/data
|
||||
- ${MAXKB_ROOT_PATH}/python-packages:/opt/maxkb/app/sandbox/python-packages
|
||||
15
maxkb/1.6.1/scripts/init.sh
Normal file
15
maxkb/1.6.1/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
maxkb/1.6.1/scripts/uninstall.sh
Normal file
10
maxkb/1.6.1/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
15
maxkb/1.6.1/scripts/upgrade.sh
Normal file
15
maxkb/1.6.1/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
69
maxkb/README.md
Normal file
69
maxkb/README.md
Normal file
@ -0,0 +1,69 @@
|
||||
# MaxKB
|
||||
|
||||
一款基于大语言模型和 RAG 的开源知识库问答系统
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 应用简介
|
||||
|
||||
MaxKB = `Max Knowledge Base`,是一款基于大语言模型和 RAG
|
||||
的开源知识库问答系统,广泛应用于企业内部知识库、客户服务、学术研究与教育等场景。作为一款专注于知识库问答场景的软件产品,MaxKB
|
||||
能够为企业的智能化进程注入新的动力,助力企业实现“提质增效”的目标。在知识库管理方面,MaxKB
|
||||
帮助企业实现知识采集、知识入库、知识库构建的全流程自动化;在场景化智能搜索方面,MaxKB 能够解析用户输入的问题并匹配检索知识库;在回复准确性方面,MaxKB
|
||||
采用了成熟的 LLM + RAG 技术,能够最大限度地降低大模型幻觉对知识搜索准确性的干扰,提高企业对业务数据的分类与召回能力;安全性方面,MaxKB
|
||||
支持本地部署和调用本地大模型,有效管控企业使用知识库时越级访问的风险,以及公有模型在数据传输方面可能存在的安全隐患。借助
|
||||
MaxKB,企业用户可以快速上线业务 AI 助手,将生成式 AI 能力应用于业务数据管理、内部资料查询、线上客户服务等领域,优化业务服务流程并切实提升用户体验。
|
||||
|
||||
### 整体架构
|
||||
|
||||

|
||||
|
||||
### 实现原理
|
||||
|
||||

|
||||
|
||||
### 技术栈
|
||||
|
||||
+ 前端:Vue.js、logicflow
|
||||
+ 后端:Python / Django
|
||||
+ 架构:Langchain
|
||||
+ 向量数据库:PostgreSQL / pgvector
|
||||
+ 大模型:Ollama、Azure OpenAI、OpenAI、通义千问、Kimi、百度千帆、讯飞星火、Gemini、DeepSeek等。
|
||||
|
||||
---
|
||||
|
||||
## 安装说明
|
||||
|
||||
> 服务地址:http://127.0.0.1:8080。
|
||||
>
|
||||
> 默认的登录信息:
|
||||
>
|
||||
> 用户名:`admin`
|
||||
>
|
||||
> 默认密码:`MaxKB@123..`
|
||||
|
||||
### 安装环境
|
||||
|
||||
+ 操作系统:Ubuntu 22.04 / CentOS 7 64 位系统;
|
||||
+ CPU/内存: 推荐 2C/4GB 以上;
|
||||
+ 磁盘空间:100GB;
|
||||
+ 浏览器要求:请使用 Chrome、FireFox、Safari、Edge等现代浏览器;
|
||||
+ 可访问互联网。
|
||||
|
||||
### 社区版限制
|
||||
|
||||
+ 用户数量:2 个;
|
||||
+ 知识库数量:50 个;
|
||||
+ 应用数量:5 个;
|
||||
+ 不支持 第三方应用(企业微信,钉钉,微信公众号)
|
||||
+ 不支持自定义对话框的 AI 头像
|
||||
+ 不支持自定义对话框的浮窗入口图标
|
||||
+ 不支持对话框浮窗位置可拖拽
|
||||
+ 不支持显示历史对话记录设置
|
||||
+ 不支持自定义系统 Logo 和主题
|
||||
+ 不支持 LDAP、OIDC、CAS 等单点登录协议
|
||||
+ 不开放 API
|
||||
|
||||

|
||||
15
maxkb/data.yml
Normal file
15
maxkb/data.yml
Normal file
@ -0,0 +1,15 @@
|
||||
additionalProperties:
|
||||
key: maxkb
|
||||
name: MaxKB
|
||||
tags:
|
||||
- WebSite
|
||||
- AI
|
||||
- Local
|
||||
shortDescZh: 基于 LLM 大语言模型的知识库问答系统
|
||||
shortDescEn: A knowledge base question and answer system based on LLM large language model
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://maxkb.cn/
|
||||
github: https://github.com/1Panel-dev/MaxKB/
|
||||
document: https://maxkb.cn/docs/
|
||||
BIN
maxkb/logo.png
Normal file
BIN
maxkb/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Loading…
x
Reference in New Issue
Block a user