Commit graph

5310 commits

Author SHA1 Message Date
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
Daniel.y
1fd02b18c4
Merge pull request #2222 from danielaskdd/offline-docker-image
Feat: Add offline Docker build support with embedded models and cach
2025-10-15 15:59:40 +08:00
yangdx
19c05f9ea4 Add static 'offline' tag to Docker image metadata 2025-10-15 15:56:42 +08:00
yangdx
6d1ae40478 Add offline Docker build support with embedded models and cache
- Add offline Dockerfile with tiktoken cache
- Create GitHub workflow for offline builds
- Update dockerignore for cleaner builds
- Exclude dev dirs from package setup
- Remove tiktoken volume from compose
2025-10-15 15:40:30 +08:00
Daniel.y
83b10a52ad
Merge pull request #2218 from danielaskdd/issue-2215
Refact: Improve query result with semantic null returns
2025-10-15 12:33:52 +08:00
yangdx
29bac49fb9 Handle empty query results by returning None instead of fail responses
• Return None when no context found
• Add structured failure metadata
• Use PROMPTS["fail_response"] for content
• Keep API compatible
2025-10-15 12:04:49 +08:00
yangdx
965d8b1628 Merge branch 'add-preprocessed-status' 2025-10-14 15:03:57 +08:00
yangdx
e5cbc593f4 Optimize Docker build with multi-stage frontend compilation
• Add frontend build stage to Dockerfile
• Remove --production flag from bun install
• Fix frontend asset integration
2025-10-14 15:02:58 +08:00
Daniel.y
92a66565af
Merge pull request #2211 from HKUDS/add-preprocessed-status
Add PREPROCESSED (multimodal_processed) status for multimodal document processing
2025-10-14 14:08:47 +08:00
yangdx
a81c122fd9 Bump API version to 0240 2025-10-14 14:03:42 +08:00
yangdx
130b4959dc Add PREPROCESSED (multimodal_processed) status for multimodal document processing
• Add DocStatus.PREPROCESSED enum value
• Update API routes and response models
• Add preprocessed filter in web UI
• Update localization files
• Handle preprocessed status in deletion
2025-10-14 14:02:05 +08:00
yangdx
64900b5457 Add frontend source code update warning
- Add frontend freshness check logic
- Warn when rebuild needed
- Remove --production from install docs
2025-10-14 10:59:21 +08:00
Daniel.y
5ace200b33
Merge pull request #2208 from danielaskdd/remove-fontend-artifact
Exclude Frontend Build Artifacts from Git Repository
2025-10-14 04:13:14 +08:00
yangdx
f3740d822b Bump API version to 0239 2025-10-14 04:11:37 +08:00
yangdx
df52ce98d8 Revert vite.config.ts to origin version
• webui will be created automatically on build
2025-10-14 04:07:44 +08:00
yangdx
a8bbce3ae7 Use frozen lockfile for consistent frontend builds 2025-10-14 03:34:55 +08:00
yangdx
c0b1552e49 Remove .gitkeep file by ensuring webui dir exists on bun build 2025-10-14 03:22:48 +08:00
yangdx
50210e25e8 Add @tailwindcss/typography plugin and fix Tailwind config
• Add typography plugin dependency
• Fix plugin imports in config
• Add source paths to CSS
2025-10-14 03:14:38 +08:00
yangdx
8bf411314e Standardize build commands and remove --emptyOutDir flag
• Uses exact versions from `bun.lock` without updating
• Skips devDependencies, saving time and bandwidth
• The --emptyOutDir already configured in vite.config.ts
2025-10-14 02:49:25 +08:00
yangdx
ee45ab5104 Move frontend build check from setup.py to runtime server startup
• Remove complex setup.py build checks
• Add runtime frontend validation
• Update install docs with uv/bun steps
• Simplify setup.py to minimal form
• Check webui before server starts
2025-10-14 02:21:26 +08:00
yangdx
6c05f0f837 Fix linting 2025-10-13 23:50:02 +08:00
yangdx
be9e6d1612 Exclude Frontend Build Artifacts from Git Repository
• Automate frontend build in CI/CD
• Add build validation checks
• Clean git repo of build artifacts
• Comprehensive build guide docs
• Smart setup.py build validation
2025-10-13 23:43:34 +08:00
yangdx
cc4369102b Merge branch 'kevinnkansah/main' 2025-10-13 11:59:43 +08:00
yangdx
a93c1661d9 Fix list formatting in README installation steps 2025-10-13 11:59:24 +08:00
Kevin
4fcae98512
Update README.md 2025-10-12 14:18:59 +02:00
yangdx
074f0c8b23 Update docstring for adelete_by_doc_id method clarity 2025-10-12 10:12:45 +08:00
yangdx
8a0098996c Update webui assets 2025-10-12 03:13:43 +08:00
Daniel.y
5290b60e9e
Merge pull request #2196 from zl7261/main
i18n: fix mustache brackets
2025-10-12 03:11:02 +08:00
Daniel.y
5734f51ec9
Merge pull request #2198 from danielaskdd/webui
Refactor: WebUI Optimization and Simplification
2025-10-12 03:01:47 +08:00
yangdx
79f623a2a7 Bump core version to 1.4.9.3 2025-10-12 02:57:13 +08:00
yangdx
e1af1c6d14 Update webui assets 2025-10-12 02:51:22 +08:00
yangdx
8eb0f83e86 Simplify Vite build config by removing manual chunking strategy
• Remove manual chunk definitions
• Increase chunk size warning limit
• Let Vite handle chunking automatically
2025-10-12 02:42:15 +08:00
yangdx
f402ad276c Bump API version to 0238 2025-10-12 02:05:09 +08:00
yangdx
f2fb1202a3 Move accordion keyframes from CSS to Tailwind config and add fallback 'auto' value 2025-10-12 01:55:20 +08:00
yangdx
44f51f883f Add fallback value for accordion content height CSS variable
• Improve CSS robustness
• Prevent undefined height values
2025-10-12 01:46:58 +08:00
yangdx
2d9334d35f Simplify Root component by removing async i18n initialization
• Remove useState and useEffect hooks
• Import i18n directly instead of async init
• Eliminate loading state check
2025-10-12 01:17:37 +08:00
yangdx
bc1a70bad0 Remove explicit protobuf dependency from offline storage requirements 2025-10-11 23:34:50 +08:00
yangdx
baab992431 Update pymilvus dependency from 2.5.2 to >=2.6.2 2025-10-11 22:42:02 +08:00
杨广
1a4d6775b5 i18n: fix mustache brackets 2025-10-11 16:50:32 +08:00