Commit Graph

5296 Commits

Author SHA1 Message Date
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
yangdx
fbcc35bba6 Merge branch 'hotfix-postgres' 2025-10-11 13:45:58 +08:00
yangdx
289337b2c8 Bump API version to 0237 2025-10-11 13:45:29 +08:00
Daniel.y
766f27da36 Merge pull request #2193 from kevinnkansah/main
Update Web Dependencies
2025-10-11 13:41:12 +08:00
Daniel.y
82397834e7 Merge pull request #2195 from danielaskdd/hotfix-postgres
Hotfix: Preserve ordering in get_by_ids methods across all storage implementations
2025-10-11 13:39:31 +08:00
yangdx
e1e4f1b02c Fix get_by_ids to return None for missing records consistently 2025-10-11 13:34:26 +08:00
yangdx
b7216ede58 Fix linting 2025-10-11 13:27:31 +08:00
yangdx
49197fbfc0 Update pymilvus to >=2.6.2 and add protobuf compatibility constraint 2025-10-11 13:27:10 +08:00
yangdx
7cddd56461 Revert core version to 1.4.9..2 2025-10-11 13:06:58 +08:00
yangdx
9be22dd666 Preserve ordering in get_by_ids methods across all storage implementations
- Fix result ordering in vector stores
- Update KV storage get_by_ids methods
- Maintain order in doc status storage
- Return None for missing IDs
2025-10-11 12:37:59 +08:00
Daniel.y
49326f2b14 Merge pull request #2194 from danielaskdd/offline
Feat: Add Comprehensive Offline Deployment Solution
2025-10-11 10:36:01 +08:00
yangdx
a5c05f1b92 Add offline deployment support with cache management and layered deps
• Add tiktoken cache downloader CLI
• Add layered offline dependencies
• Add offline requirements files
• Add offline deployment guide
2025-10-11 10:28:14 +08:00
kevinnkansah
b81b86203c chore: update deps 2025-10-10 17:12:59 +02:00
yangdx
fea10cd03f Merge branch 'chart-enchancment' 2025-10-10 15:35:52 +08:00
yangdx
648d7bb175 Refactor Helm template to handle optional envFrom values safely
• Add null checks for envFrom fields
• Support both secrets and configmaps
• Build envFrom list dynamically
• Only render envFrom when entries exist
• Fix template indentation issues
2025-10-10 15:31:35 +08:00