4671 Commits

Author SHA1 Message Date
yangdx
99527027de feat: change default query mode from hybrid to mix
- Update default mode for Ollama chat endpoint
- Update default mode for query endpoint of LightRAG
2025-07-17 19:21:15 +08:00
yangdx
e828539b24 Update README 2025-07-17 19:05:34 +08:00
Daniel.y
dae6190a85
Merge pull request #1796 from danielaskdd/fix-filepath-join
Fix file path handling in graph operations
2025-07-17 18:41:39 +08:00
yangdx
be2d938c84 Fix file path handling in graph operations
- Filter out empty file paths
- Handle missing file_path fields
2025-07-17 18:33:14 +08:00
yangdx
b321afefaa Bump core version to 1.4.3 and api version to 0186 2025-07-17 16:58:57 +08:00
yangdx
f3c0dab7ce Bump core version to 1.4.2 and api version to 0185 v1.4.2 2025-07-17 12:26:10 +08:00
yangdx
56d91d6d3e Merge branch 'milvus-for-nullable' 2025-07-17 12:22:47 +08:00
yangdx
25a7408b31 Merge branch 'fix-milvus' into milvus-for-nullable 2025-07-17 12:15:11 +08:00
okxuewei
e6a7dc94f3
Rollback the update 2025-07-17 12:09:16 +08:00
yangdx
14d9fe49b0 refactor(milvus): remove entity_type and weight fields from schema
- Remove entity_type field from entities collections
- Remove weight field from relationships collections
- Update schema definitions and index creation logic
- Maintain backward compatibility with existing data via dynamic fields
2025-07-17 12:08:35 +08:00
okxuewei
a896e78969
Remove "entity_type" and "weight" from the schema 2025-07-17 12:06:49 +08:00
okxuewei
fc60b902e5
Merge branch 'main' into milvus-for-nullable 2025-07-17 11:55:47 +08:00
Daniel.y
30e5aac6f6
Merge pull request #1794 from danielaskdd/weight-default
fix: change default edge weight from 0.0 to 1.0 in entity extraction and graph storage
2025-07-17 11:42:31 +08:00
yangdx
7184c7b3ab fix: change default edge weight from 0.0 to 1.0 in entity extraction and graph storage
- Update extract_entities function in operate.py to use 1.0 as default weight
- Fix Neo4j implementation to use 1.0 instead of 0.0 for missing edge weights
- Fix Memgraph implementation to use 1.0 instead of 0.0 for missing edge weights
- Ensures consistent non-zero default weights across all graph storage backends
2025-07-17 11:30:49 +08:00
Daniel.y
946139a97a
Merge pull request #1790 from danielaskdd/fix-pg-migration
Hotfix for PostgreSQL migration problem
v1.4.1
2025-07-16 22:24:00 +08:00
yangdx
57c8c19628 Add datetime format migration for doc status table 2025-07-16 22:21:51 +08:00
xuewei
77a42a37ca Fix Milvus DataNotMatchException lint-and-format 2025-07-16 22:07:39 +08:00
xuewei
e0bb6093b0 Fix Milvus DataNotMatchException 2025-07-16 21:59:17 +08:00
yangdx
910c6973f3 Limit file deletion to current directory only after document cleaning 2025-07-16 20:35:24 +08:00
yangdx
c7b566f6d5 Fix cache migration MD5 error for PostgreSQL 2025-07-16 19:24:57 +08:00
yangdx
80f7e37168 Fix default workspace name for PostgreSQL AGE graph storage 2025-07-16 19:16:22 +08:00
yangdx
bab2803953 Optimize PostgreSQL database migrations for LLM cache
- Combine column migration into single operation
- Optimize LLM cache key migration query
- Improve migration error handling
- Add conflict detection for cache migration
2025-07-16 17:32:53 +08:00
yangdx
bd340fece6 Fix timestamp column migration comment typos
- Correct timezone-related comments
- Fix typo in debug log message
- Update migration success message
- Maintain same migration logic
2025-07-16 14:27:52 +08:00
yangdx
7f9b15dcf3 Fix linting 2025-07-16 11:11:30 +08:00
yangdx
1c53c5c764 Update README.md 2025-07-16 11:10:56 +08:00
yangdx
2bf0d397ed Update webui assets 2025-07-16 10:18:51 +08:00
yangdx
03310a9359 Increase chunk size warning limit in Vite config to 1000KB 2025-07-16 10:18:37 +08:00
yangdx
93e7a5b3aa Update i18n translation 2025-07-16 10:16:32 +08:00
yangdx
e4f62de727 Bump aip version to 0184 2025-07-16 04:57:46 +08:00
yangdx
500e940f75 Remove max token summary display from splash screen 2025-07-16 04:55:32 +08:00
yangdx
8103b200db Set DEFAULT_HISTORY_TURNS to 0 v1.4.0 2025-07-16 02:20:27 +08:00
yangdx
61c27c7c19 Merge branch 'suppress-mermaid-error' 2025-07-16 01:40:07 +08:00
yangdx
0adb5f2595 Update webui assets 2025-07-16 01:39:48 +08:00
yangdx
45d38fa083 Fix JSON error logging in Redis storage implementations 2025-07-16 01:35:07 +08:00
yangdx
e54bcff85c Add suppressErrorRendering to mermaid config 2025-07-16 01:01:22 +08:00
Daniel.y
b44c8d46a5
Merge pull request #1782 from HKUDS/rerank
Refactor the token control system
2025-07-16 00:23:25 +08:00
yangdx
6e084bfae1 Increase default related chunk number from 5 to 10 2025-07-16 00:22:34 +08:00
yangdx
b1276a079f Fix linting 2025-07-15 23:57:24 +08:00
yangdx
5f7cb437e8 Centralize query parameters into LightRAG class
This commit refactors query parameter management by consolidating settings like `top_k`, token limits, and thresholds into the `LightRAG` class, and consistently sourcing parameters from a single location.
2025-07-15 23:56:49 +08:00
zrguo
3ead0489b8 Remove "rank", "weight", "keywords" 2025-07-15 21:47:33 +08:00
zrguo
1541034816 Add DEFAULT_RELATED_CHUNK_NUMBER 2025-07-15 21:35:12 +08:00
yangdx
089346f8df Bump api version to 0183 2025-07-15 19:52:50 +08:00
zrguo
42f1fd60f4 Update operate.py 2025-07-15 18:59:52 +08:00
zrguo
29e82723e6 Update operate.py 2025-07-15 18:57:57 +08:00
yangdx
93b25a65d5 Update webui assets 2025-07-15 18:10:00 +08:00
yangdx
bdcb280731 Merge branch 'main' into rerank 2025-07-15 18:09:01 +08:00
yangdx
6d66cde4ac Reorder query settings in web UI 2025-07-15 18:06:00 +08:00
zrguo
e254c3dd81 Update openai.py 2025-07-15 17:30:30 +08:00
yangdx
661a41f9eb Update webui assets 2025-07-15 17:25:39 +08:00
yangdx
1927cb2685 Fix linting 2025-07-15 17:24:57 +08:00