4753 Commits

Author SHA1 Message Date
yangdx
10b55dbdc7 Revert "Add no-cache headers to index.html via custom Vite plugin"
This reverts commit 93ce53394fe9d0f479870278b3e02ef9338d92e5.
2025-07-26 08:28:05 +08:00
okxuewei
912fc0fc31
Merge branch 'HKUDS:main' into separator_file_path 2025-07-26 08:17:35 +08:00
yangdx
b3c2987006 Reduce default MAX_TOKENS from 32000 to 10000 2025-07-26 08:13:49 +08:00
xuewei
a49b7758e1 Merge branch 'main' of https://github.com/okxuewei/LightRAG into separator_file_path 2025-07-26 00:47:48 +08:00
xuewei
b4da3de7d9 Improve file_path drop policy 2025-07-26 00:46:02 +08:00
xuewei
55e2678a1e Improve file_path FieldSchema 4090 2025-07-26 00:22:25 +08:00
yangdx
6a99d7ac28 Update webui assets 2025-07-25 22:03:58 +08:00
yangdx
93ce53394f Add no-cache headers to index.html via custom Vite plugin
• Create noCachePlugin for Vite
• Add cache-control meta tags
• Inject headers into index.html
• Prevent browser caching issues
2025-07-25 22:03:25 +08:00
yangdx
4ae44bb24b Bump core version to 1.4.5 and api version to 0190 2025-07-25 11:15:04 +08:00
yangdx
ccfe2e73d1 Update env.example 2025-07-25 11:13:15 +08:00
yangdx
983bacd87e Update logger messages v1.4.4 2025-07-24 16:49:28 +08:00
yangdx
bf58c73c3f Update webui assets 2025-07-24 16:48:45 +08:00
yangdx
33d986aa2a Change default history_turns from 3 to 0 in settings store of webui 2025-07-24 16:47:54 +08:00
yangdx
44b7ce222e feat: add default storage dependencies and optimize imports
- Add nano-vectordb and networkx to pyproject.toml dependencies
- Replace dynamic imports with direct imports for 4 default storage implementations
- Improve startup performance while maintaining backward compatibility
2025-07-24 16:14:26 +08:00
yangdx
51231c7647 Update README 2025-07-24 15:48:49 +08:00
Daniel.y
733adb420d
Merge pull request #1848 from HKUDS/context-builder
Refac: optimizing context builder to improve query performance
2025-07-24 15:32:28 +08:00
zrguo
55ddc0ee86 fix typo 2025-07-24 15:20:05 +08:00
yangdx
29d1220f26 Merge branch 'main' into context-builder 2025-07-24 14:18:12 +08:00
yangdx
b1dd015e3e Update env.example 2025-07-24 14:17:49 +08:00
yangdx
5437509824 Bump api version to 0189 2025-07-24 14:07:48 +08:00
yangdx
f57ed21593 Merge branch 'main' into context-builder 2025-07-24 14:07:05 +08:00
Daniel.y
ac7d8560bd
Merge pull request #1852 from danielaskdd/fix-postgres-ssl
fix(postgres): handle ssl_mode="allow" in _create_ssl_context
2025-07-24 12:54:05 +08:00
yangdx
5574a30856 fix(postgres): handle ssl_mode="allow" in _create_ssl_context
Add "allow" to the list of recognized SSL modes in PostgreSQL connection helper. Previously, ssl_mode="allow" would fall through to "Unknown SSL mode" warning. Now it's properly handled alongside "require" and "prefer" modes.
2025-07-24 12:45:13 +08:00
Daniel.y
2e0a9dc73b
Merge pull request #1851 from danielaskdd/add-jina-support
feat: Integrate Jina embeddings API support
2025-07-24 12:28:40 +08:00
yangdx
d8e7b77099 Bump api version to 0188 2025-07-24 12:27:30 +08:00
yangdx
2767212ba0 Fix linting 2025-07-24 12:25:50 +08:00
yangdx
d979e9078f feat: Integrate Jina embeddings API support
- Implemented Jina embedding function
- Add new EMBEDDING_BINDING type of jina for LightRAG Server
- Add env var sample
2025-07-24 12:15:00 +08:00
yangdx
4f8de4ecdb Merge branch 'main' into context-builder 2025-07-24 10:51:59 +08:00
yangdx
edeb89abc6 Update comments 2025-07-24 10:09:24 +08:00
yangdx
795ce4cbe7 Update RELATED_CHUNK_NUMBER comment 2025-07-24 10:06:33 +08:00
yangdx
d78fda1d89 Optimize logger message 2025-07-24 04:31:06 +08:00
yangdx
baad473b67 Bump api version to 0188 2025-07-24 04:00:43 +08:00
yangdx
d97913873b Update logger message 2025-07-24 03:44:02 +08:00
yangdx
3075691f72 Refactor: move reranking utilities from operate.py to utils.py
• Move apply_rerank_if_enabled to utils
• Move process_chunks_unified to utils
2025-07-24 03:33:38 +08:00
yangdx
2c940f0728 reduce RELATED_CHUNK_NUMBER from 10 to 5 2025-07-24 02:49:05 +08:00
yangdx
5a5d32dc32 Optimize logger message 2025-07-24 02:13:39 +08:00
yangdx
42710221f5 Update log messages 2025-07-24 01:31:49 +08:00
yangdx
02f79508e0 Optimize context building with weighted polling and round-robin data selection 2025-07-24 01:18:21 +08:00
Daniel.y
0009a37efb
Merge pull request #1844 from AkosLukacs/patch-1
Fix "A Simple Program" example in README.md
2025-07-23 18:08:45 +08:00
yangdx
958151e610 Merge branch 'main' into context-builder 2025-07-23 16:17:11 +08:00
yangdx
7d96ca98f7 Fix linting 2025-07-23 16:16:37 +08:00
yangdx
00d7bc80bf Merge branch 'context-builder' 2025-07-23 16:14:44 +08:00
yangdx
75fd6c73ea Merge branch 'main' into context-builder 2025-07-23 16:14:14 +08:00
yangdx
6cc9411c86 fix: handle empty tasks list in merge_nodes_and_edges to prevent ValueError
- Add empty tasks check before calling asyncio.wait()
- Return early with logging when no entities/relationships to process
2025-07-23 16:06:47 +08:00
yangdx
2d41e5313a Remove redundant tokenizer checks 2025-07-23 10:19:45 +08:00
Ákos Lukács
75beaf249e
Better prompt for entity description extraction to avoid hallucinations 2025-07-22 20:40:46 +02:00
Ákos Lukács
f115661e16
Fix "A Simple Program" example in README.md
The example should use ainsert and aquery. Fixes #1723
2025-07-22 14:37:15 +02:00
zrguo
681d43bb32 fix typo 2025-07-22 15:34:51 +08:00
yangdx
ce9dac9bcf vdb does not store rank any more 2025-07-21 17:04:23 +08:00
Daniel.y
ae582f63a3
Merge pull request #1834 from danielaskdd/postgres-ssl
feat: Add SSL support for PostgreSQL database connections
2025-07-21 02:07:49 +08:00