55 Commits

Author SHA1 Message Date
7993b186da fix: stop double-encoding keyword - pass raw value as httpcall params (CRUD style); defensive unquote fallback in dspy for legacy cached UI 2026-08-04 11:33:52 +08:00
dfad26d3c7 feat: hybrid search - add keyword LIKE recall merged with vector results, mark kw hits 2026-08-03 19:19:32 +08:00
bd03743c6f fix: use resultValue() not getValue() for kb selector - getValue returns object, broke kb_id in URL 2026-08-03 18:52:34 +08:00
2d4ff6a19f debug: log incoming params_kw in search_result.dspy 2026-08-03 18:34:50 +08:00
84448259e2 fix: GPU URLs need :10443, create VDB collection before upsert, align VDB id with chunk id 2026-08-03 17:02:06 +08:00
598f5c5c23 sync: add batch_ingest.dspy from test env 2026-08-03 10:40:25 +08:00
8ab8987776 chore: remove debug traces from upload_file.dspy 2026-07-31 18:59:15 +08:00
5bf3ef3822 trace: check if DBPools blocks in background task 2026-07-31 18:56:51 +08:00
2f7acc8120 debug: trace background_reco execution in upload_file.dspy 2026-07-31 18:53:31 +08:00
8dad4e9b5e feat: async upload — return immediately, ingest in background 2026-07-31 18:17:47 +08:00
cdc02e31e4 fix: search.ui - call buildUrlwidgetHandler result to actually fire HTTP request 2026-07-31 16:35:10 +08:00
7792aa913e fix: search.ui - code→UiCode widgettype + bricks.app.root→this.parent for urlwidget sub-page 2026-07-31 16:14:53 +08:00
7badd6e683 fix: search.ui getWidgetById 用 this 替代 bricks.app.root 2026-07-31 15:48:55 +08:00
a644e41de3 fix: search.ui buildUrlwidgetHandler 参数顺序错误导致 TypeError 2026-07-31 15:04:43 +08:00
0cb6f34135 fix: search_result.dspy 用 StreamHttpClient + try/except 替代裸 aiohttp 2026-07-31 14:59:18 +08:00
0d6acfb4ef feat: analysis cards with face/voiceprint results + tag system 2026-07-31 14:58:21 +08:00
9b3cfb86c0 refactor: 用 StreamHttpClient 替代 aiohttp — DSPY 预置全局变量 2026-07-31 13:45:42 +08:00
848644f229 fix: import aiohttp — 原代码所有 aiohttp 调用被 except:pass 静默吞掉 NameError 2026-07-31 13:31:52 +08:00
d92275d811 fix: actually remove unused var tree in detail.ui 2026-07-30 18:25:16 +08:00
df8d220308 fix: return type consistency + textAlign→halign + remove unused var (Agent 2 review) 2026-07-30 18:24:04 +08:00
1cb82b912d add text extraction for PDF/DOCX/PPTX/XLSX and MP4 keyframe CLIP embedding in upload_file.dspy 2026-07-30 18:06:26 +08:00
c6110522c1 fix: root folder upload __root__ → empty string 2026-07-30 18:00:00 +08:00
5b1fb8e564 fix: try/except around DB queries (Agent 2 review) 2026-07-30 17:43:18 +08:00
a440887028 fix: search bind passes {options:{url:...}} to buildUrlwidgetHandler 2026-07-30 17:28:30 +08:00
448645b0e2 fix: delete reloads file_list.dspy instead of delete response 2026-07-30 17:13:58 +08:00
89cb31897b fix: restore col widths + absolute delete URL + _webbricks_=1 2026-07-30 17:04:49 +08:00
5ec01c3b18 fix: restore tree root node (📁 根目录) 2026-07-30 16:55:19 +08:00
8e1ef924e5 fix: download URL /idfile prefix, delete uses fetch, filename left-aligned 2026-07-30 16:17:20 +08:00
40cf8f3291 fix: int(total_size) + json.dumps default=str (Agent 2 review) 2026-07-30 16:02:53 +08:00
eaa8d37816 fix: storage stats use int for doc/chunk counts 2026-07-30 15:48:58 +08:00
f968f9f578 feat: dynamic storage stats display via storage_stats.dspy 2026-07-30 15:45:07 +08:00
Hermes
f63f742f8e fix: restore del_url line in file_list.dspy 2026-07-30 15:06:20 +08:00
Hermes
c1a8f1643a fix: download URL uses file_path directly (/idfile/{id}.{ext}) 2026-07-30 14:49:19 +08:00
Hermes
908480f35e fix: file_url uses file_path directly with /idfile prefix 2026-07-30 14:24:49 +08:00
Hermes
eed6da7667 fix: file download/view URL uses /idfile/{doc_id}.{ext} 2026-07-30 14:20:22 +08:00
Hermes
f06063c0b5 fix: search page — use script bind to avoid datawidget crash 2026-07-30 13:55:06 +08:00
Hermes
a481130810 feat: search page + KB selector + file upload, pipeline module 2026-07-30 13:53:17 +08:00
bd66e00a7a fix: use env.save_file/realpath instead of importing FileStorage in DSPY 2026-07-30 10:38:06 +08:00
3f3743842e fix: use FileStorage for upload/delete — hashed paths /idfile/191/193/197/97/xxx.txt 2026-07-29 18:15:06 +08:00
c14588f33b fix: file list truncation+tooltip, fixed column widths, view/download/delete fix 2026-07-29 17:14:38 +08:00
0385670e38 fix: restore detail.ui with upload zone + upload_file.dspy 2026-07-29 16:59:58 +08:00
224496ae0e fix: file_list alignment + view/download/delete actions
- Filename: add textAlign left + cwidth columns for type/size/status/date
- View: newwindow → window.open(_blank)
- Download: urlwidget PopupWindow → script anchor download
- Delete: hardcoded path → relative path, refresh with widget list
2026-07-29 16:41:39 +08:00
Hermes
ac75d75ec4 fix: detail.ui restore tree + file_list.dspy with node_selected bind 2026-07-28 15:07:07 +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
0712856f09 add pyproject.toml 2026-07-24 13:48:13 +08:00
e2c70c23c1 clean: remove conf directory 2026-07-24 13:45:39 +08:00