ymq
24bc017e1f
fix: 所有id统一32字节 — init.py去掉[:16], DSPY文件改用getID(32)去import uuid
2026-08-07 16:47:50 +08:00
1dd59f7caa
feat(tags): multi-select tag list + dedup create + tag_sync endpoint
...
- tag_form.dspy: rewrite as multi-select checkbox list (clickable rows with toggle)
+ input field for new tag with + button (calls /api/tag/create with dedup)
+ submit button calls /api/tag/sync to sync media_tags
+ dynamically add new tag row to list after creation
- media_cards.dspy: read tags from media_tags table instead of metadata
- init.py: tag_create_handler adds dedup (check existing by kb_id+name)
- init.py: new tag_sync_handler (full sync: delete old + insert selected)
- config.json: add /api/tag/sync route
2026-08-05 15:36:44 +08:00
371afae84a
fix: file list action buttons spacing 6px->14px; drop analysis button; legacy /api/doc/upload now saves via FileStorage (flat files/ layout caused 404)
2026-08-05 12:17:25 +08:00
548fc6013e
feat: per-org storage quota enforcement — org_storage_limits table, upload rejection, UI display
2026-08-04 15:36:53 +08:00
Hermes
908480f35e
fix: file_url uses file_path directly with /idfile prefix
2026-07-30 14:24:49 +08:00
Hermes
a481130810
feat: search page + KB selector + file upload, pipeline module
2026-07-30 13:53:17 +08:00
c2f0d4e8a7
fix: detail.ui sidebar overflow hidden — prevent tree nodes from expanding menu width
2026-07-27 18:51:19 +08:00
850e96e0ea
feat: uapi-based unified search with text+media, multi-KB, rerank
...
- search_handler: query(opt) + media(opt) → embed → VDB search → rerank → enriched
- _resolve_search_kbs: specific KB or all org KBs
- _build_search_vector: text + image/audio/video/text file → CLIP embedding
- _parse_vdb_hits/_apply_rerank/_enrich_search_results: result pipeline
2026-07-27 14:08:47 +08:00
f494eaa686
feat: uapi-based RAG ingest pipeline + improved delete cleanup
...
- _rag_ingest_async(): chunk → embed(VDB) → VDB upsert → NER → graph save → DB records
- _split_text(): paragraph-based text chunker
- doc_upload_handler: replace pipeline.ingest with _rag_ingest_async
- doc_delete_handler: use uapi vdb-delete + graph-delete (was broken graph/save)
2026-07-27 13:49:41 +08:00
50b2e35e7b
feat: replace hardcoded VDB/Graph calls with uapi-based async functions
...
- Add _call_uapi() for unified GPU service calling via uapi config
- Add _call_vdb_async() / _call_graph_async() async wrappers
- Update doc_delete_handler to use async versions
- Keep sync wrappers for backward compat
2026-07-27 12:10:28 +08:00
fbba95e683
fix: /rag/ prefix in all module URLs
2026-07-24 14:34:36 +08:00
5664508234
fix: wwwroot/json/models/conf at repo root (Sage module convention)
2026-07-24 13:39:39 +08:00
8bef57b89e
fix: move code into rag/ subpackage for find_packages()
2026-07-24 13:36:54 +08:00