Commit Graph

1256 Commits (main)

Author SHA1 Message Date
wuqinchuan 6c16bd0d82 perf: optimize tag graph response and surface LLM failures 2026-01-11 20:42:14 +08:00
wuqinchuan 3771de5834 feat: enhance tag relation graph filtering, fullscreen, and i18n 2026-01-11 18:33:17 +08:00
wuqinchuan 59bef3915e feat: 优化query搜索并加入tag图(去掉max抽象层与d3依赖) 2026-01-11 00:56:58 +08:00
wuqinchuan 67cbda36d1 fix: Add echarts dependency and update build
- Install echarts@6.0.0 for graph visualization
- Update TagRelationGraph.vue to use echarts instead of custom canvas
- Build completed successfully
2026-01-11 00:53:38 +08:00
wuqinchuan c2c0c69fbc feat: Add tag relationship graph visualization for topic clusters
Features:
- Tag-based relationship graph using force-directed layout
- Hybrid weight calculation (frequency + TF-IDF)
- Automatic community detection using Louvain algorithm
- Interactive visualization with ECharts
- Support for Tag and Cluster nodes
- Click to search images by tag
- Top-N filtering to avoid visual clutter

Backend:
- New API endpoint: POST /db/cluster_tag_graph
- Tag weight calculation with configurable alpha
- Category inference (character/style/scene/object)
- Community detection (requires networkx, optional)

Frontend:
- New component: TagRelationGraph.vue
- Switch between Cluster Cards and Tag Graph views
- Interactive graph with drag/zoom/pan
- Node details panel with search functionality
- Stats panel showing tags/clusters/images count

Documentation:
- Added TAG_GRAPH_README.md with usage guide

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-11 00:53:38 +08:00
zanllp 53caa7de69
Merge pull request #888 from zanllp/updates/rebuild-assets
Rebuild vue dist assets & fix download
2026-01-10 23:17:30 +08:00
zanllp 38ab17006e Rebuild vue dist assets 2026-01-10 23:14:45 +08:00
zanllp ec63af7326
Merge pull request #886 from zanllp/fix/secret
fix secret verification failed
2026-01-10 13:00:18 +08:00
zanllp e6acf49711 fix secret verification failed 2026-01-10 12:59:40 +08:00
zanllp d3b84354dd
Merge pull request #883 from zanllp/feature/optional-deps-skip
feat: Add IIB_SKIP_OPTIONAL_DEPS support and improve error handling f…
2026-01-06 21:27:15 +08:00
zanllp 312bdee339 feat: Add IIB_SKIP_OPTIONAL_DEPS support and improve error handling for optional packages
- Add environment variable IIB_SKIP_OPTIONAL_DEPS to skip numpy and hnswlib installation
- Provide detailed helpful hints when hnswlib or numpy installation fails
- Include guidance on C++ compiler requirements and pre-built wheel installation
- Add links to related GitHub issues for troubleshooting
- Improve error handling with better Unicode support on Windows
- Skip empty lines and comments in requirements parsing
2026-01-06 21:22:00 +08:00
zanllp b304396ecc
Merge pull request #882 from zanllp/refactor-install-script
Refactor install script: simplify package installation logic and impr…
2026-01-05 06:52:40 +08:00
zanllp 04862034c9 Refactor install script: simplify package installation logic and improve error handling 2026-01-05 06:42:21 +08:00
zanllp c30b117b90
Merge pull request #879 from zanllp/fix/improve-download-files
Fix downloadFiles function: remove hardcoded URL, improve multiple do…
2026-01-04 23:56:07 +08:00
zanllp 000da5ad69 Fix downloadFiles function: remove hardcoded URL, improve multiple downloads handling, add error handling 2026-01-04 23:46:25 +08:00
zanllp a6f20762d8
Merge pull request #878 from zanllp/fix/remove-hardcoded-path
Remove hardcoded test path from generate_image_cache function
2026-01-04 23:22:18 +08:00
zanllp 3127b5aa65 fix 2026-01-04 23:21:40 +08:00
zanllp 26dfc573c9 Remove hardcoded test path from generate_image_cache function 2026-01-04 23:20:02 +08:00
zanllp a834959f22
Merge pull request #876 from zanllp/fix/numpy-version-requirement
fix: Set numpy version requirement to >=1.10.0 and add runtime versio…
2026-01-04 22:21:37 +08:00
zanllp bfb55d4857 fix: Set numpy version requirement to >=1.10.0 and add runtime version info
- Set numpy to >=1.10.0,<3.0.0 (minimum for np.stack function, compatible with Python 3.11 and below)
- Python 3.12 users will automatically get numpy 1.26.0+ due to compatibility
- Add runtime version info for requests, numpy, hnswlib in /version endpoint
2026-01-04 22:20:01 +08:00
zanllp ea18b886ca
Merge pull request #874 from zanllp/fix/lock-package-versions
fix: Lock major versions for requests, numpy, hnswlib and add runtime…
2026-01-04 01:27:50 +08:00
zanllp a7e6109f17 fix: Lock major versions for requests, numpy, hnswlib and add runtime version info
- Lock requests to >=2.0.0,<3.0.0 (current: 2.32.5)
- Lock numpy to >=2.0.0,<3.0.0 (current: 2.4.0)
- Lock hnswlib to >=0.0.0,<1.0.0 (current: 0.8.0)
- Add runtime version info for requests, numpy, hnswlib in /version endpoint
2026-01-04 01:27:01 +08:00
zanllp 3ef90cface
Merge pull request #870 from zanllp/feature/topicSearch
feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)
2026-01-04 01:17:38 +08:00
zanllp 810944edf6 rebuild 2026-01-04 01:15:10 +08:00
zanllp 61faff2658 fix: Remove duplicate icons from Topic Search guide i18n texts
- Remove emoji icons (鉁?and 馃殌) from i18n translation strings
- Icons are already displayed in the Vue template, preventing duplication
- Update all language files: EN, ZH-Hans, ZH-Hant, DE
2026-01-04 01:06:30 +08:00
zanllp 0291f3c681 feat: Add AI tag analysis feature and improve authentication handling
- Add AI-powered tag analysis feature in full-screen context menu
  - Analyze prompts using AI to suggest matching custom tags
  - Add loading state with spinner during analysis
  - Filter out already-added tags to avoid duplicates
  - Support i18n for all user-facing messages (EN/ZH-Hans/ZH-Hant/DE)
  - Keep system prompts in English for consistency

- Improve authentication error handling
  - Add special marker for secret verification 401 errors
  - Only trigger password modal for secret verification failures
  - Prevent password modal from showing on other 401 errors

- Enhance Topic Search guide
  - Add two advantage points highlighting semantic similarity grouping
  - Add natural language semantic search capabilities
  - Support i18n for new guide content
2026-01-04 00:29:03 +08:00
wuqinchuan 96655d89c4 feat: show cached topics by default and fix topic deletion/capping 2026-01-03 23:50:27 +08:00
wuqinchuan 4d3617671d tune: reduce over-merging in topic clustering defaults 2026-01-03 23:49:36 +08:00
wuqinchuan 67c93dd9f3 fix: retry on network/API errors in LLM title generation 2026-01-03 23:49:36 +08:00
wuqinchuan 3a6b155db5 refactor: parse title JSON from text with retries 2026-01-03 23:49:36 +08:00
wuqinchuan cfa589c68f feat: improve topic search UX and dependency gating 2026-01-03 23:49:36 +08:00
wuqinchuan 3ba8997626 chore: require numpy/hnswlib for topic clustering 2026-01-03 23:47:16 +08:00
wuqinchuan 25190f7307 refactor: drop legacy synchronous cluster endpoint 2026-01-03 23:47:16 +08:00
wuqinchuan 4287c2c849 fix: update file index before topic clustering refresh 2026-01-03 23:47:16 +08:00
wuqinchuan c22ac83bde perf: accelerate clustering with ANN (hnswlib) 2026-01-03 23:47:16 +08:00
wuqinchuan efcb500c53 feat: cache embedding failures and persist cluster results 2026-01-03 23:47:16 +08:00
wuqinchuan 2edf9e52d7 feat: async clustering job with progress UI 2026-01-03 23:47:16 +08:00
wuqinchuan e522d8e878 fix: make topic embedding non-blocking and cap embedding input length 2026-01-03 23:47:16 +08:00
wuqinchuan 101a30afb4 Revert "Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)""
This reverts commit dd5663dd89.
2026-01-03 23:47:16 +08:00
zanllp daa77b9f51
Merge pull request #872 from rlabusiness/fix-auth-modal
Fix duplicate auth prompt and mask password input using a proper password field
2026-01-03 15:36:47 +08:00
zanllp ca35b2c956 rebuild 2026-01-03 15:35:22 +08:00
rlabusiness 988bb811ae Fix duplicate auth prompt and mask password input using a proper password field 2026-01-01 17:59:03 +00:00
wuqinchuan dd5663dd89 Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)"
This reverts commit d7e2b2f9fc.
2025-12-28 23:16:31 +08:00
wuqinchuan d7e2b2f9fc feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval) 2025-12-28 23:10:13 +08:00
zanllp 2a1edbab1f
Merge pull request #865 from zanllp/releases/1.5.1
fix: Fixed the issue of video cover generation failure & release
2025-12-19 21:59:06 +08:00
zanllp 89bd778182 fix 2025-12-19 01:29:32 +08:00
zanllp 858453238e feat: fix 2025-12-19 00:43:15 +08:00
zanllp 62461f97e2 fix: Fixed the issue of video cover generation failure & release 2025-12-18 23:50:59 +08:00
zanllp 16a614b7fc docs: update changelog with missing features since 2024-11 2025-12-15 03:12:50 +08:00
zanllp ae800d6cbc feat: update style 2025-12-15 01:22:10 +08:00