docs: update docs_v1.0/ documentation

- Fix markdown lint issues (MD030, MD047, MD051, MD028, MD005)
- Update AI agents, architecture, implementation docs
- Add new identity, face recognition, and API documentation
- Remove deprecated face/person API guides
This commit is contained in:
Warren
2026-04-30 15:10:41 +08:00
parent 8f05a7c188
commit 4d75b2e251
185 changed files with 21071 additions and 1605 deletions

View File

@@ -112,9 +112,9 @@ ai_query_hints:
### 3.1 數據關聯架構 (Input Aggregation)
針對每一個 Parent Chunk `[start_frame, end_frame]`,系統提取:
1. **子 Chunk (Rule 1)**: 提取對話 (`content`) 與說話者 (`speaker_id`)。
2. **子 Chunk (Rule 2)**: 提取物件標籤 (`frame_objects`)。
3. **身份解析**: 將 `face_id` 解析為真實人名 (e.g., `face_01` -> "Cary Grant")。
1. **子 Chunk (Rule 1)**: 提取對話 (`content`) 與說話者 (`speaker_id`)。
2. **子 Chunk (Rule 2)**: 提取物件標籤 (`frame_objects`)。
3. **身份解析**: 將 `face_id` 解析為真實人名 (e.g., `face_01` -> "Cary Grant")。
### 3.2 LLM 上下文構造 (Context Construction)
@@ -270,4 +270,4 @@ src/core/db/postgres_db.rs
2. **[DESIGN_IMPLEMENTATION_GAP.md](../../DESIGN_IMPLEMENTATION_GAP.md)** - 設計與實現差異分析
3. **[ARCHITECTURE_OVERVIEW.md](../../ARCHITECTURE_OVERVIEW.md)** - 架構總覽
**最後更新**: 2026-04-22
**最後更新**: 2026-04-22

View File

@@ -61,9 +61,9 @@ ai_query_hints:
本規範確保所有資料庫表嚴格遵循 **Chunking Architecture** 定義的通用結構:
1. **時間權威 (Frame-Based)**:所有時間相關欄位以 `frame` 為核心,`timestamp` 為計算參考。
2. **內容與元數據分離 (Content vs Metadata)**`content` 用於全文檢索與向量嵌入,`metadata` (JSONB) 儲存關聯物件、Speaker、Faces 等結構化數據。
3. **路由清晰 (Rule Routing)**:每個 Rule 對應獨立的資料表,透過 `chunk_type` 欄位輔助識別。
1. **時間權威 (Frame-Based)**:所有時間相關欄位以 `frame` 為核心,`timestamp` 為計算參考。
2. **內容與元數據分離 (Content vs Metadata)**`content` 用於全文檢索與向量嵌入,`metadata` (JSONB) 儲存關聯物件、Speaker、Faces 等結構化數據。
3. **路由清晰 (Rule Routing)**:每個 Rule 對應獨立的資料表,透過 `chunk_type` 欄位輔助識別。
---