# YNU-Mind
**Repository Path**: ppandaer/YNU-Mind
## Basic Information
- **Project Name**: YNU-Mind
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-08-09
- **Last Updated**: 2025-08-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 🎯 基于多Agent与GraphRAG的校园智能助手
## 📸 界面预览(移动端)
图1:系统主界面
|
图2:问答展示1
|
图3:问答展示2
|
图4:问答展示3
|
## 📂 项目结构
```bash
YNU-Mind
├── README.md # 项目文档
├── docs/ # 数据爬取及处理模块
├── images/ # 项目图片资源
├── open-webui-main/ # 前端工程目录
│ └── backend/ # 前端服务端
└── ynu-assistant/ # 核心后端服务
└── main.py # 服务启动入口
```
# 🚀 快速开始
## 环境准备
- Neo4j neo4j-community-5.26.3
- Node.js v20.18.1
## 🛠️ 部署步骤
1. 克隆仓库
```bash
git clone https://github.com/Burning1020/YNU-Mind.git
cd YNU-Mind
```
2. 配置Neo4j数据库
```bash
# 在Neo4j bin 目录下双击cypher-shell.bat
# 输入以下命令创建数据库
source ./docs/all_2_.cypher
```
3. 环境变量
```bash
export OPENAI_API_KEY=your_api_key
export NEO4J_PASSWORD=your_password
```
4. 启动后端服务
```bash
cd ynu-assistant
pip install -r requirements.txt
python main.py
```
5. 配置前端服务端
```bash
cd ../open-webui-main/backend
pip install -r requirements.txt
./start_windows.bat # Windows系统
# 或 ./start_linux.sh # Linux系统
```
6. 启动前端界面
```bash
cd ..
npm install
npm run dev
```
# 🌐 访问系统
浏览器访问 http://localhost:5173
在设置页面中添加外部链接
