feat: 新增 DocxSplitter — 支持 .docx 文档入库
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
### Task 1: 修复 Embedder Protocol 和 Splitter 接口
|
||||
|
||||
**Files:**
|
||||
|
||||
- Modify: `src/core/embedder.py`
|
||||
- Modify: `src/core/splitters/pdf.py`
|
||||
- Modify: `src/core/splitters/epub.py`
|
||||
@@ -141,6 +142,7 @@ git commit -m "refactor: 修复 Embedder Protocol 标准写法和 PDF/EPUB Split
|
||||
### Task 2: DocxSplitter — .docx 文档支持
|
||||
|
||||
**Files:**
|
||||
|
||||
- Create: `src/core/splitters/docx.py`
|
||||
- Create: `tests/test_splitters_docx.py`
|
||||
- Modify: `src/core/splitters/registry.py`
|
||||
@@ -336,6 +338,7 @@ git commit -m "feat: 新增 DocxSplitter — 支持 .docx 文档入库"
|
||||
### Task 3: 数据导出功能
|
||||
|
||||
**Files:**
|
||||
|
||||
- Create: `tests/test_export.py`
|
||||
- Modify: `src/core/search.py`
|
||||
- Modify: `src/cli/main.py`
|
||||
@@ -581,6 +584,7 @@ git commit -m "feat: 新增数据导出功能(JSON/CSV)和 CLI export 命令
|
||||
### Task 4: Web 管理界面
|
||||
|
||||
**Files:**
|
||||
|
||||
- Create: `src/web/index.html`
|
||||
- Modify: `src/server/app.py`
|
||||
|
||||
@@ -939,6 +943,7 @@ git commit -m "feat: 添加 Web 管理界面(Vue 3 SPA 单文件)"
|
||||
### Task 5: 测试覆盖率提升到 80%+
|
||||
|
||||
**Files:**
|
||||
|
||||
- Modify: `tests/test_splitters_pdf.py`
|
||||
- Modify: `tests/test_splitters_html.py`
|
||||
- Modify: `tests/test_splitters_epub.py`
|
||||
@@ -1186,6 +1191,7 @@ git commit -m "test: 补充测试覆盖率至 80%+(PDF/HTML/EPUB/CLI/DB/Search
|
||||
### Task 6: CORS 和安全配置修复
|
||||
|
||||
**Files:**
|
||||
|
||||
- Modify: `src/server/app.py`
|
||||
|
||||
- [ ] **Step 1: 修复 CORS 配置**
|
||||
@@ -1227,6 +1233,7 @@ git commit -m "fix: 修复 CORS allow_credentials 配置,更新 .env.example"
|
||||
### Task 7: 更新 README 和文档
|
||||
|
||||
**Files:**
|
||||
|
||||
- Modify: `README.md`
|
||||
|
||||
- [ ] **Step 1: 更新 README 功能特性和新命令说明**
|
||||
|
||||
Reference in New Issue
Block a user