- JDK17
- SpringBoot 3.5.3
- 大模型: qwen
- 数据库: MySQL8.0
- 知识库: spring ai rag + redis stack
- 前端: vue3
-
启动依赖服务
- 执行 sh docker/run.sh
-
启动order-server服务
-
启动客服服务
- idea启动配置
- 环境变量,选中 .env文件
- 无法看到.env隐藏文件
- mac: Command + Shift + .
- windows: Ctrl + H
- 无法看到.env隐藏文件
- 环境变量,选中 .env文件
- idea启动配置
-
启动前端web
- npm install
- npm run dev
- C端用户: http://localhost:5174/
- 后台: http://localhost:5174/orders
-
postman测试
curl --location --request POST 'http://localhost:8080/workflows/run' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId":"1001",
"userInput":"美式有吗"
}'用户名密码: test/123456
redis stack: http://127.0.0.1:8001/ 密码: redis123