Accusys
3ad6f8740a
feat: Rule2 TKG relationship chunks + Phase0-1 Qdrant integration
Phase 0: TKG builder populate face_detections from face.json
- Fix face.json parser for pose_angle format
- Call store_traced_faces.py to set trace_id
- Skip if trace_id already populated
Phase 1: Qdrant face embeddings integration
- Add FaceEmbeddingDb module (src/core/db/face_embedding_db.rs)
- Create dev_face_embeddings collection (dim=512)
- Store 1122 face embeddings with pose metadata
- API: init_collection, batch_upsert, search_similar
Rule2: TKG edges → relationship chunks
- Design: RULE2_TKG_RELATIONSHIP_V1.0.md
- Implementation: rule2_ingest.rs
- ChunkType::Relationship added
- Edge types: SPEAKS_AS, MUTUAL_GAZE, CO_OCCURS_WITH, HAS_APPEARANCE, WEARS
- Auto-trigger on TKG rebuild
API:
- POST /api/v1/file/:file_uuid/rule2 (vectorization)
- POST /api/v1/file/:file_uuid/tkg/rebuild (auto Rule2)
Test: 75 relationship chunks created + vectorized
2026-06-21 00:22:41 +08:00
..
2026-05-19 12:51:10 +08:00
2026-05-19 12:51:10 +08:00
2026-05-19 12:51:10 +08:00
2026-05-19 12:51:10 +08:00
2026-05-19 12:51:10 +08:00
2026-06-02 07:13:23 +08:00
2026-06-02 07:13:23 +08:00
2026-05-19 12:51:10 +08:00
2026-05-22 09:56:10 +08:00
2026-05-19 12:51:10 +08:00
2026-05-19 23:22:09 +08:00
2026-05-19 12:51:10 +08:00
2026-05-22 12:26:11 +08:00
2026-05-19 12:51:10 +08:00
2026-06-02 07:13:23 +08:00
2026-06-21 00:22:41 +08:00