SpringAI教程包含Agent(智能体)/SSE流/FunctionCall/Embedding/VectorDatabase/RAG/历史消息/图片理解/等知识点。
- Java 17
- Node.js 18+
- MySQL 8
- Redis-Stack
- DashScope API KEY(或者其他)
git clone https://github.com/qifan777/KnowledgeBaseChatSpringAI
修改application.yml中的API-KEY, MySQL, Redis-Stack配置
前端运行,在front-end目录下
- npm run install
- npm run dev
后端运行
- 运行ServerApplication.java
- target/generated-sources/annotations右键mark directory as/generated source root