feat: 实现 AI 智能搜索功能

添加语义搜索能力,支持自然语言查询找到相关项目。

- 数据库:新增 embedding 字段用于向量存储
- 前端:新增 AI 搜索栏和结果组件,支持传统/AI 模式切换
- API:新增 /api/search/ai 端点处理语义搜索请求
- 国际化:添加 AI 搜索相关中英文翻译
- 探索任务:允许 FAILED 状态直接转到 IN_PROGRESS 简化重试

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-26 20:59:13 +08:00
co-authored by Claude
parent 6c65cb7cc0
commit 02cbe59a0c
12 changed files with 942 additions and 32 deletions
+2
View File
@@ -1,6 +1,7 @@
{
"common": {
"search": "搜索",
"aiSearch": "AI 搜索",
"loading": "加载中...",
"noResults": "未找到结果",
"noProjects": "暂无项目",
@@ -21,6 +22,7 @@
"featuredProjects": "精选项目",
"browseByTag": "按标签浏览",
"searchPlaceholder": "搜索 AI 项目...",
"aiSearchPlaceholder": "描述你想要的项目,如:能生成视频的 AI 工具...",
"metaTitle": "Agent Park - AI 项目导航",
"metaDescription": "发现和探索全网优质 AI 项目",
"heroTitle": "AI 项目",