Commit Graph

65 Commits (31cf2bfc1cb81b8a539669c27c510925b3a90e9a)

Author SHA1 Message Date
mula.liu 31cf2bfc1c v0.9.8 2026-07-24 15:37:22 +08:00
mula.liu e6c92551ea Stage 2 & 3: Remove Graphy, integrate ZVec vectorization, and add knowledge base chat
## Changes

### Stage 2: ZVec Integration
- Created `zvec_service.py` for MD file vectorization with Aliyun ZVec
- Added `document_vector.py` model for storing embeddings
- Integrated ZVec into file operations (create/update/delete MD files)
- Added `create_document_vector_table.sql` migration
- Background vectorization on file save, removal on file delete

### Stage 3: Knowledge Base Chat
- Created `chat_session.py` model for chat sessions and messages
- Implemented `rag_service.py` for RAG (vector retrieval + LLM generation)
- Added `chat.py` API endpoints (create sessions, send messages, list history)
- Created `Chat.jsx` frontend component with project/model selection
- Added `chat.js` API client
- Chat route integrated into App.jsx

### Cleanup
- Removed all graphy-related files (graphy/, graphy.py, graphy_task.py, etc.)
- Removed BUILD_GRAPH from enums (no longer needed)

### Database
- Created migration script for chat tables (ChatSession, ChatMessage)
- Created migration script for document vectors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-23 21:58:16 +08:00
mula.liu 0b0713fc4e Merge remote main with local model config features
Merge origin/main which includes:
- New file sharing system (shares module)
- Large markdown viewer improvements
- Preview page refactoring
- FloatingToc component

Preserved from local:
- LLM model configuration support (llm_model_configs)

This merge integrates remote improvements while keeping the local
model configuration functionality for the next phase.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-23 21:52:09 +08:00
mula.liu e42a5525f6 优化超大md文档编辑器 2026-06-22 14:05:10 +08:00
mula.liu 2bb7db0d56 调整了对超大md文档的支持 2026-06-16 21:09:15 +08:00
mula.liu 9f707e879e fix project share 2026-06-03 17:08:06 +08:00
mula.liu c0a4798fc6 v0.9.7 2026-06-03 15:04:49 +08:00
mula.liu fd10178367 v0.9.7 2026-05-27 19:07:23 +08:00
mula.liu 4b41763ef4 调整了多个页面的工具栏样式 2026-05-22 10:31:21 +08:00
mula.liu 9f395a10ac 调整了多个页面的工具栏样式 2026-05-21 17:51:53 +08:00
mula.liu 5256d20ac9 v0.9.7 2026-05-15 19:59:49 +08:00
mula.liu ccb61b00fa v0.9.7 2026-05-11 09:48:19 +08:00
mula.liu 1fe3508ec6 v0.9.7 2026-05-10 17:15:24 +08:00
mula.liu e09f94b043 v0.9.7 2026-05-10 13:35:54 +08:00
mula.liu d621fd8d24 v0.9.7 2026-05-09 14:20:38 +08:00
mula.liu fc617cf678 v0.9.7 2026-05-09 10:45:30 +08:00
mula.liu 2d41a3ba2f v0.9.7 2026-04-09 01:03:57 +08:00
mula.liu f140ed9218 fix mcp 2026-04-02 21:33:05 +08:00
mula.liu 355be362fc fix bug 2026-04-01 09:14:02 +08:00
mula.liu d298174439 bug fix 2026-03-19 15:43:55 +08:00
mula.liu b64ade0525 bug fix 2026-03-11 20:39:05 +08:00
mula.liu ab95b1e498 bug fix、 2026-03-11 16:05:04 +08:00
mula.liu 0713edb261 bug fix 2026-03-11 16:00:55 +08:00
mula.liu c005964b5d v0.9.6 2026-03-11 15:44:31 +08:00
mula.liu b78fc3b269 0.9.6 2026-03-11 15:27:52 +08:00
mula.liu dc112de840 修复pdf导出 2026-02-26 19:19:29 +08:00
mula.liu cbef580776 预览页面增加了pdf导出 2026-02-26 17:52:09 +08:00
mula.liu e6794a1952 修正了部分页面显示问题 2026-02-11 10:26:50 +08:00
mula.liu e2211fbc9b 增加了项目转移 2026-02-09 18:08:38 +08:00
mula.liu b9f1b49572 修正了图片拷贝 2026-02-02 18:55:43 +08:00
mula.liu e623c93bf2 优化界面 2026-02-02 13:46:23 +08:00
mula.liu 836373fa27 增加了dark模式 2026-01-31 11:41:20 +08:00
mula.liu 4a99b10578 优化界面 2026-01-30 13:00:57 +08:00
mula.liu 4cee9414a5 修改了部分bug 2026-01-28 19:55:01 +08:00
mula.liu 2004ccce4e 增加了全文检索 2026-01-23 15:00:03 +08:00
mula.liu 08f4115889 修改兼容性 2026-01-22 19:52:29 +08:00
mula.liu 2255982c2c 修改兼容性 2026-01-22 18:53:30 +08:00
mula.liu 0eca877365 修改兼容性 2026-01-22 18:00:54 +08:00
mula.liu 2f7140e688 兼容性 2026-01-21 18:12:23 +08:00
mula.liu 0089eadcbd 兼容性 2026-01-21 18:05:41 +08:00
mula.liu f9a02721b6 兼容性 2026-01-21 17:52:39 +08:00
mula.liu 7ea142b64f 兼容性 2026-01-21 16:28:52 +08:00
mula.liu ce9ccd70ef 优化了登录页 2026-01-14 11:35:50 +08:00
mula.liu 72000d5660 更新了Desktop页 2026-01-13 21:21:47 +08:00
mula.liu 0af0f2331d 增加通知 2026-01-06 18:04:06 +08:00
mula.liu a6e2e95cc3 优化了链接 2026-01-06 15:50:05 +08:00
mula.liu 2af47195c1 添加了项目git仓库管理 2026-01-05 18:50:29 +08:00
mula.liu 0521bfdf0b 优化大pdf加载 2026-01-01 23:05:43 +08:00
mula.liu bb323f89e4 优化大pdf加载 2026-01-01 22:41:10 +08:00
mula.liu 1319310b5a 0.9.5 2025-12-31 15:12:56 +08:00