mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-07 05:02:43 +08:00
实现类似 Google NotebookLM 的效果:笔记生成后自动向量化, 用户可针对笔记内容进行 LLM 问答。 ### 后端 - 新增 VectorStoreManager(ChromaDB),按标题/转录分块建立向量索引 - 新增 chat_service.py RAG 问答:检索相关片段 → 构建 prompt → 调用 LLM - 新增 /chat/index, /chat/ask, /chat/status API 端点 - 笔记生成完成后自动建立向量索引 ### 前端 - 使用 @ant-design/x Bubble.List + Sender 组件构建聊天面板 - 新增 chatStore(Zustand + persist)持久化聊天记录 - MarkdownViewer 右侧嵌入 ChatPanel,通过"AI 问答"按钮切换 - 首次打开自动检查/触发索引,支持重新索引 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
88 lines
2.6 KiB
JSON
88 lines
2.6 KiB
JSON
{
|
|
"name": "bili_note",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/x": "^2.4.0",
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@lobehub/icons": "^1.97.1",
|
|
"@lobehub/icons-static-svg": "^1.45.0",
|
|
"@lottiefiles/dotlottie-react": "^0.13.3",
|
|
"@radix-ui/react-checkbox": "^1.1.4",
|
|
"@radix-ui/react-dialog": "^1.1.7",
|
|
"@radix-ui/react-label": "^2.1.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
"@radix-ui/react-select": "^2.1.6",
|
|
"@radix-ui/react-slot": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.2.2",
|
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
"@tailwindcss/vite": "^4.1.3",
|
|
"@tauri-apps/plugin-shell": "~2.2.2",
|
|
"@uiw/react-markdown-preview": "^5.1.3",
|
|
"antd": "^5.24.8",
|
|
"axios": "^1.8.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fuse.js": "^7.1.0",
|
|
"github-markdown-css": "^5.8.1",
|
|
"jszip": "^3.10.1",
|
|
"katex": "^0.16.22",
|
|
"lottie-react": "^2.4.1",
|
|
"lucide-react": "^0.487.0",
|
|
"markdown-navbar": "^1.4.3",
|
|
"markmap-common": "^0.18.9",
|
|
"markmap-lib": "^0.18.11",
|
|
"markmap-toolbar": "^0.18.10",
|
|
"markmap-view": "^0.18.10",
|
|
"next-themes": "^0.4.6",
|
|
"pinyin-match": "^1.2.7",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.55.0",
|
|
"react-hot-toast": "^2.5.2",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-markdown": "^8.0.7",
|
|
"react-medium-image-zoom": "^5.2.14",
|
|
"react-resizable-panels": "^2.1.8",
|
|
"react-router-dom": "^7.5.1",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"rehype-katex": "^6.0.2",
|
|
"remark-gfm": "3.0.1",
|
|
"remark-math": "^5.1.1",
|
|
"sonner": "^2.0.3",
|
|
"tailwind-merge": "^3.1.0",
|
|
"tailwindcss": "^4.1.3",
|
|
"tw-animate-css": "^1.2.5",
|
|
"uuid": "^11.1.0",
|
|
"zod": "^3.24.2",
|
|
"zustand": "^5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.21.0",
|
|
"@tailwindcss/postcss": "^4.1.3",
|
|
"@tauri-apps/cli": "^2.5.0",
|
|
"@types/node": "^22.14.0",
|
|
"@types/react": "^19.0.10",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.21.0",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
"globals": "^15.15.0",
|
|
"prettier": "^3.5.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"typescript": "~5.7.2",
|
|
"typescript-eslint": "^8.24.1",
|
|
"vite": "^6.2.0"
|
|
}
|
|
}
|