feat: 添加 AI 推荐功能

新增 AI 推荐模块,包括前端界面和后端服务
添加 OpenAI API 密钥配置
实现工程数据分析和推荐功能
This commit is contained in:
dmy
2026-01-12 18:36:08 +08:00
parent 3647b9a2e5
commit 61520e9ebf
12 changed files with 362 additions and 9 deletions

View File

@@ -20,7 +20,7 @@
"test:e2e": "jest --config ./test/jest-e2e.json",
"crawl": "ts-node -r tsconfig-paths/register src/scripts/crawl.ts",
"update-source": "ts-node -r tsconfig-paths/register src/scripts/update-source.ts",
"web":"npm --prefix frontend run build"
"web": "npm --prefix frontend run build"
},
"dependencies": {
"@nestjs/common": "^11.0.1",
@@ -35,6 +35,7 @@
"class-validator": "^0.14.3",
"dotenv": "^16.4.7",
"mysql2": "^3.16.0",
"openai": "^6.16.0",
"puppeteer": "^24.34.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",