Commit graph

5351 commits

Author SHA1 Message Date
yangdx
cd1c48beaf Standardize placeholder format to use colon separator consistently 2025-10-21 05:03:57 +08:00
yangdx
019dff5248 Update truncation message format in properties tooltip 2025-10-21 04:46:07 +08:00
yangdx
1154c5683f Refactor deduplication calculation and remove unused variables 2025-10-21 04:41:15 +08:00
yangdx
665f60b90f Refactor entity/relation merge to consolidate VDB operations within functions
• Move VDB upserts into merge functions
• Fix early return data structure issues
• Update status messages (IGNORE_NEW → KEEP)
• Consolidate error handling paths
• Improve relationship content format
2025-10-21 03:19:34 +08:00
yangdx
e01c998ee9 Track placeholders in file paths for accurate source count display
• Add has_placeholder tracking variable
• Detect placeholder patterns in paths
• Show + sign for truncated counts
2025-10-20 23:48:04 +08:00
yangdx
637b850ec5 Add truncation indicator and update property labels in graph view
• Add truncate tooltip to source_id field
• Add visual truncation indicator (†)
• Bump API version to 0242
2025-10-20 23:03:01 +08:00
yangdx
e0fd31a60d Fix logging message formatting 2025-10-20 22:09:09 +08:00
yangdx
a9fec26798 Add file path limit configuration for entities and relations
• Add MAX_FILE_PATHS env variable
• Implement file path count limiting
• Support KEEP/FIFO strategies
• Add truncation placeholder
• Remove old build_file_path function
2025-10-20 20:12:53 +08:00
yangdx
dc62c78f98 Add entity/relation chunk tracking with configurable source ID limits
- Add entity_chunks & relation_chunks storage
- Implement KEEP/FIFO limit strategies
- Update env.example with new settings
- Add migration for chunk tracking data
- Support all KV storage
2025-10-20 15:24:15 +08:00
yangdx
bdadaa6750 Merge branch 'main' into limit-vdb-metadata-size 2025-10-18 11:47:10 +08:00
yangdx
c0f69395c7 Merge branch 'security/fix-sql-injection-postgres' 2025-10-18 11:45:13 +08:00
yangdx
813f4af9d7 Fix linting 2025-10-18 11:44:48 +08:00
yangdx
012aaada22 Update Swagger API key status description text 2025-10-18 09:40:44 +08:00
Lucky Verma
917e41aa78 Refactor SQL queries and improve input handling in PGKVStorage and PGDocStatusStorage 2025-10-17 15:40:32 -05:00
yangdx
03333d63f3 Merge branch 'main' into limit-vdb-metadata-size 2025-10-17 21:36:06 +08:00
yangdx
6b37d3ca4b Merge branch 'feat-entity-size-caps' into limit-vdb-metadata-size 2025-10-17 21:35:46 +08:00
Daniel.y
8070d0cf32
Merge pull request #2234 from danielaskdd/fix-webui
Refact: Frontend UI Fixes and Performance Improvements
2025-10-17 21:27:45 +08:00
yangdx
7bf9d1e8dc Bump API version to 0241 2025-10-17 21:19:03 +08:00
yangdx
dab1c35834 Optimize chat performance by reducing animations in inactive tabs
• Add isTabActive prop to ChatMessage
• Disable spinner in inactive tabs
• Reduce opacity for inactive content
• Hide loading indicator when inactive
• Pass tab state from RetrievalTesting
2025-10-17 21:17:01 +08:00
yangdx
04d2367147 Fix redoc access problem in front-end dev mode
- Add /redoc endpoint to proxy config
- Remove root path from API endpoints
- Add .env.development to git reopo
- Update sample environment files
- Refine .gitignore patterns for env files
2025-10-17 20:36:15 +08:00
yangdx
4c3ab58473 Improve AsyncSelect layout and text overflow handling
- Add responsive width container
- Improve text truncation with tooltips
2025-10-17 19:10:36 +08:00
yangdx
f555824064 Fix tuple delimiter corruption handling in regex patterns 2025-10-17 18:43:45 +08:00
DivinesLight
17c2a929d2 Get max source Id config from .env and lightRAG init 2025-10-17 14:37:40 +05:00
haseebuchiha
4e740af79b Import from env and use default if none and removed useless import 2025-10-17 14:37:40 +05:00
DivinesLight
7871600d8a Quick fix to limit source_id ballooning while inserting nodes 2025-10-17 14:37:40 +05:00
yangdx
46ac5dac53 Improve API description formatting and add ReDoc link 2025-10-17 16:24:01 +08:00
yangdx
9f49e56a44 Merge branch 'main' into feat-entity-size-caps 2025-10-17 15:59:44 +08:00
yangdx
c0a87ca7a3 Merge branch 'remove-dotenv' 2025-10-17 15:10:11 +08:00
yangdx
1642710fd4 Remove dotenv dependency from project 2025-10-17 15:09:29 +08:00
yangdx
06ed2d06a9 Merge branch 'main' into remove-dotenv 2025-10-17 15:06:34 +08:00
yangdx
c18762e34a Simplify Docker deployment documentation and improve clarity 2025-10-17 15:00:53 +08:00
yangdx
f45dce347a Fix cache control error of index.html
• Retrun no-cache for all HTML responses not just .html files
• Prevent force browser refresh action after front-end rebuild
2025-10-17 12:43:04 +08:00
Won-Kyu Park
532400412e
remove deprecated dotenv package. 2025-10-17 01:34:05 +09:00
yangdx
35cd567c9e Allow related chunks missing in knowledge graph queries 2025-10-17 00:19:30 +08:00
yangdx
0e0b4a94dc Improve Docker build workflow with automated multi-arch script and docs 2025-10-16 23:34:10 +08:00
yangdx
efd50064d1 docs: improve Docker build documentation with clearer notes 2025-10-16 17:17:41 +08:00
yangdx
daeca17f38 Change default docker image to offline version
• Add lite verion docker image with tiktoken cache
• Update docs and build scripts
2025-10-16 16:52:01 +08:00
yangdx
c61b7bd4f8 Remove torch and transformers from offline dependency groups 2025-10-16 15:14:25 +08:00
yangdx
8e3497dcbf Update comments 2025-10-16 14:24:51 +08:00
yangdx
ef6ed429ed Optimize Docker builds with layer caching and add pip for runtime installs
• Split deps and source code layers
• Add --no-editable flag to uv sync
• Install pip for runtime packages
• Improve build cache efficiency
2025-10-16 13:16:22 +08:00
yangdx
8cc8bbf486 Change Docker build cache mode from max to min
• Reduce cache storage usage
• Try to fix GithHub Action failure
2025-10-16 12:24:51 +08:00
yangdx
e6332ce512 Add reminder note to manual Docker build workflow 2025-10-16 11:45:27 +08:00
yangdx
91b8722bdb Bump core version to 1.4.9.4 2025-10-16 11:29:38 +08:00
yangdx
388dce2e31 docs: clarify docling exclusion in offline Docker image 2025-10-16 09:31:50 +08:00
yangdx
f2b6a068e3 Remove docling dependency and related packages from project
* Remove docling from pyproject.toml
* Update requirements files
* Clean up uv.lock dependencies
* Reduce offline docker image size
2025-10-16 05:15:29 +08:00
yangdx
ef79821f29 Add build script for multi-platform images
- Add build script for multi-platform images
- Update docker deployment document
2025-10-16 04:40:20 +08:00
yangdx
65c2eb9f99 Migrate Dockerfile from pip to uv package manager for faster builds
• Replace pip with uv for dependencies
• Add offline extras to Dockerfile.offline
• Update UV_LOCK_GUIDE.md with new commands
• Improve build caching and performance
2025-10-16 01:54:20 +08:00
yangdx
466de2070d Migrate from pip to uv package manager for faster builds
• Replace pip with uv in Dockerfile
• Remove constraints-offline.txt
• Add uv.lock for dependency pinning
• Use uv sync --frozen for builds
2025-10-16 01:21:03 +08:00
yangdx
7f223d5ada Fix linting 2025-10-15 23:59:35 +08:00
yangdx
433ec813ba Improve offline installation with constraints and version bounds
• Add constraints-offline.txt for exact versions
• Set upper bounds in pyproject.toml
• Combine pip installs in Dockerfile
• Update requirements with version bounds
• Prevent dependency conflicts
2025-10-15 23:44:46 +08:00