Commit Graph

23 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 ccb61b00fa v0.9.7 2026-05-11 09:48:19 +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 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 e2211fbc9b 增加了项目转移 2026-02-09 18:08:38 +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 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 2af47195c1 添加了项目git仓库管理 2026-01-05 18:50:29 +08:00
mula.liu bb323f89e4 优化大pdf加载 2026-01-01 22:41:10 +08:00
mula.liu 9a431fc046 0.9.5 2025-12-31 13:44:03 +08:00
mula.liu f5e1e8871a 0.9.2 2025-12-29 20:53:50 +08:00
mula.liu fa59dcc05d 静态资源 2025-12-23 19:10:38 +08:00
mula.liu 9f26f33bf0 fix: 导出 Base 模型类以支持数据库初始化 2025-12-23 17:38:48 +08:00
mula.liu bc897706b3 0.9.2 2025-12-23 13:02:10 +08:00
mula.liu 1712031528 0.9.1 2025-12-20 19:18:59 +08:00