这是一个基于 Vue 3 和 Spring Boot 开发的基于大模型AI Agent的导师智能推荐系统,旨在为学生科研之路提供智能化指南。
http://whucsmentorguide.asia/ 欢迎访问
- 基于 DeepSeek API 的智能推荐系统
- 实时流式对话响应(SSE)
- 前后端分离架构
- RESTful API 设计
- 标签化导师筛选
- 智能化导师匹配算法
- 响应式设计和现代化UI
- 数据可视化展示
- 完整的用户认证系统
- 论坛交流功能
- 新闻管理系统
- 核心框架: Vue 3
- UI组件库: Element Plus
- 路由管理: Vue Router 4
- 状态管理: Vuex 4
- HTTP客户端: Axios
- 图标库: Element Plus Icons
- Markdown渲染: Marked
- 动画效果:
- GSAP
- AOS
- Vue Kinesis
- @vueuse/motion
- 数据可视化: ECharts
- 开发工具: Vue CLI
- 核心框架: Spring Boot 3.4.4
- AI集成: DeepSeek Chat API
- 数据库: MySQL 8.0
- ORM框架: MyBatis-Plus 3.5.9
- HTTP客户端:
- Apache HttpClient
- OkHttp
- Unirest
- JSON处理: Jackson
- 构建工具: Maven
- 服务器推送: SSE (Server-Sent Events)
- API文档: SpringDoc OpenAPI 2.2.0
- 工具库:
- Lombok
- Hutool
- Guava
- EasyExcel
- AI 智能对话(基于 SSE 流式响应)
- 智能导师推荐
- 基于标签的导师筛选
- 个性化推荐算法
- 实时对话反馈
- 基础页面框架
- 导师信息展示
- 标签化筛选系统
- 数据可视化展示
- 新闻管理系统
- 论坛交流功能
- 科研方向查询
- 用户认证系统
- 个人中心
- Excel数据导出功能
- 教师评价系统
- 高级数据分析功能
- 智能匹配算法优化
- 移动端应用开发
- 管理员后台系统
MentorSelectGuide_WHUCS/
├── UI_vue/ # 前端项目
│ └── ui/
│ ├── public/ # 静态资源
│ ├── src/
│ │ ├── assets/ # 资源文件
│ │ ├── components/ # 通用组件
│ │ │ ├── Layout/ # 布局组件
│ │ │ ├── HotTeachers/ # 热门导师组件
│ │ │ └── ResearchAreas/ # 研究方向组件
│ │ ├── router/ # 路由配置
│ │ ├── store/ # Vuex状态管理
│ │ ├── utils/ # 工具函数
│ │ ├── views/ # 页面组件
│ │ │ ├── Home/ # 首页
│ │ │ ├── AIRecommend/ # AI推荐页
│ │ │ ├── About/ # 关于页面
│ │ │ ├── News/ # 新闻页面
│ │ │ ├── DataView/ # 数据可视化
│ │ │ ├── Profile/ # 个人中心
│ │ │ ├── Forum/ # 论坛页面
│ │ │ ├── ResearchDirection/ # 研究方向
│ │ │ ├── Teachers/ # 导师列表
│ │ │ ├── TeacherDetail/ # 导师详情
│ │ │ ├── Login/ # 登录页面
│ │ │ └── Register/ # 注册页面
│ │ ├── App.vue
│ │ └── main.js
│ └── package.json
│
├── server/ # 后端项目
│ └── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/example/whucs_mentorguide/
│ │ │ ├── controller/ # 控制器
│ │ │ ├── service/ # 服务层
│ │ │ ├── model/ # 数据模型
│ │ │ ├── repository/ # 数据访问层
│ │ │ ├── config/ # 配置类
│ │ │ ├── util/ # 工具类
│ │ │ └── exception/ # 异常处理
│ │ └── resources/
│ │ ├── application.properties
│ │ └── mapper/ # MyBatis映射文件
│ └── test/ # 测试目录
│
└── 数据库数据/ # 数据库相关文件
- Node.js >= 14.0.0
- Java >= 21
- Maven >= 3.6
- MySQL >= 8.0
- npm >= 6.0.0
cd UI_vue/ui
npm install
npm run serve# 使用Maven启动Spring Boot应用
./mvnw spring-boot:run在 application.properties 中配置:
ai.config.deepseek.apiKey=your_api_key
ai.config.deepseek.baseUrl=https://api.deepseek.com/v1spring.datasource.url=jdbc:mysql://localhost:3306/mentor_guide
spring.datasource.username=<username>
spring.datasource.password=<password>
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=truemybatis-plus.mapper-locations=classpath:mapper/*.xml
mybatis-plus.type-aliases-package=com.example.whucs_mentorguide.model
mybatis-plus.configuration.map-underscore-to-camel-case=true- 组件开发遵循 Vue 3 组合式 API
- 使用 Element Plus 组件库
- 使用 ESLint 进行代码规范检查
- 实现响应式设计
- 遵循组件化开发原则
- 遵循 RESTful API 设计规范
- 使用统一的响应格式
- 实现完整的错误处理
- 添加详细的日志记录
- 使用 MyBatis-Plus 进行数据库操作
- 遵循分层架构设计
npm run build将 dist 目录下的文件部署到 Web 服务器
mvn clean package
java -jar target/whucs-mentorguide.jar- Chrome (推荐,最新版本)
- Firefox (最新版本)
- Edge (最新版本)
- Safari (最新版本)
- 优化 AI 推荐算法
- 完善错误处理机制
- 添加用户反馈功能
- 优化页面响应速度
- 实现数据缓存机制
- 增强数据可视化展示
- 优化动画效果
- 完善移动端适配
- 开发移动端应用
- 添加数据分析功能
- 实现智能化教学资源推荐
- 建立导师评价体系
- 开发管理员后台系统
- 引入机器学习模型优化推荐算法
- 建立完整的用户画像系统
- Fork 项目
- 创建特性分支 (
git checkout -b feature/AmazingFeature) - 提交更改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 提交 Pull Request
本项目采用 MIT 许可证