lanceyq
f2d7479229
feat(memory): add async user metadata extraction pipeline
- Add MetadataExtractor to collect user-related statements post-dedup
and extract profile/behavioral metadata via independent LLM call
- Add Celery task (extract_user_metadata) routed to memory_tasks queue
- Add metadata models (UserMetadata, UserMetadataProfile, etc.)
- Add metadata utility functions (clean, validate, merge with _op support)
- Add Jinja2 prompt template for metadata extraction (zh/en)
- Fix Lucene query parameter naming: rename `q` to `query` across all
Cypher queries, graph_search functions, and callers
- Escape `/` in Lucene queries to prevent TokenMgrError
- Add `speaker` field to ChunkNode and persist it in Neo4j
- Remove unused imports (argparse, os, UUID) in search.py
- Fix unnecessary db context nesting in interest distribution task
2026-04-09 11:01:56 +08:00
..
2026-04-03 18:57:28 +08:00
2026-04-09 11:01:56 +08:00
2026-04-03 18:57:28 +08:00
2025-12-02 20:28:01 +08:00
2026-03-25 11:45:49 +08:00
2026-03-10 13:55:53 +08:00
2026-03-27 16:27:09 +08:00
2026-04-03 18:57:28 +08:00
2026-02-09 17:28:42 +08:00
2026-04-03 18:57:28 +08:00
2026-02-10 13:54:52 +08:00
2025-12-25 17:28:21 +08:00
2026-01-04 15:36:24 +08:00
2025-12-15 14:09:43 +08:00
2026-03-24 17:29:38 +08:00
2026-01-29 12:05:50 +08:00
2025-12-15 14:09:43 +08:00
2025-12-15 14:09:43 +08:00
2026-02-03 16:03:08 +08:00
2026-03-23 16:38:47 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2026-01-22 10:12:23 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00
2025-12-02 20:28:01 +08:00