Commit Graph

2319 Commits

Author SHA1 Message Date
zrguo
32a7d40650 Update lightrag_openai_neo4j_milvus_redis_demo.py 2025-03-09 02:11:31 +08:00
zrguo
fe34c50b43 Merge pull request #1030 from HKUDS/dev
Fixed and improved Iteration extraction
2025-03-09 01:29:49 +08:00
zrguo
c936aaf5c8 fix linting 2025-03-09 01:29:21 +08:00
zrguo
595d8bf372 Update prompt.py 2025-03-09 01:25:15 +08:00
zrguo
548f9a8234 Update prompts 2025-03-09 01:21:39 +08:00
zrguo
da59cc89d8 fix linting 2025-03-09 00:51:14 +08:00
zrguo
376b63b704 Merge pull request #1027 from dixyes/fix-qdrant-payload-id
Fix qdrant payload id
2025-03-09 00:28:17 +08:00
zrguo
3ae261dcd3 Merge pull request #1025 from danielaskdd/add-env-llm-cache-for-extract
Add LLM cache control env for API Server
2025-03-09 00:26:55 +08:00
zrguo
38ebb16d63 Merge pull request #1021 from da-luggas/main
Fixed entites_section_list comma error
2025-03-09 00:19:41 +08:00
zrguo
906619fa93 Merge pull request #1024 from ShanGor/main
fix the postgres get all labels and get knowledge graph
2025-03-09 00:17:11 +08:00
dixyes
458eafd714 Fix qdrant payload id
Qdrant now is using PointStruct.payload["id"], not PointStruct.id UUID.
This will fix id overwrite
2025-03-08 16:40:40 +08:00
Samuel Chan
b7f67eda21 fix the postgres get all labels and get knowledge graph 2025-03-08 11:45:59 +08:00
Yannick Stephan
27ab894d00 Merge pull request #1018 from HKUDS/dev
Fix edit entity and relation bugs
2025-03-07 21:26:43 +01:00
Lukas Selch
bad3781f51 Fixed entites_section_list comma error 2025-03-07 12:04:10 +01:00
yangdx
17ccab8db2 Updated README with LLM cache configuration details 2025-03-07 15:22:20 +08:00
yangdx
c2f861fba9 Settign LLM cache option for entity extraction from env 2025-03-07 15:03:33 +08:00
zrguo
e822f35c89 Fix edit entity and relation bugs 2025-03-07 14:39:06 +08:00
zrguo
c76f43c8e8 Merge pull request #1015 from HKUDS/main
Update dev
2025-03-07 12:49:30 +08:00
zrguo
3286a0d57f Merge pull request #1003 from danielaskdd/add-graph-search-mode
Feat: Added minimum degree filter for graph queries
2025-03-07 12:37:44 +08:00
zrguo
ea898aeda0 Merge pull request #1000 from lcjqyml/feat_login-jwt
feat(api): Add user authentication functionality
2025-03-07 12:24:46 +08:00
yangdx
7e088ca528 Refactor code and update environment type definitions.
- Consolidate type definitions in vite-env.d.ts
- Update TypeScript include paths
2025-03-07 08:17:25 +08:00
yangdx
5942d148f0 Set default max_depth to 3 for knowledge graph retrieval 2025-03-07 07:34:29 +08:00
yangdx
6d5c04d561 Reduce max_depth and update edge type in NetworkXStorage.
- Decreased max_depth from 5 to 3
- Changed edge type from "RELATED" to "DIRECTED"
2025-03-06 20:54:02 +08:00
yangdx
5b29e760f0 Add dynamic parameter handling for storage 2025-03-06 14:29:48 +08:00
Milin
1e82fb445e Merge branch 'HKUDS:main' into feat_login-jwt 2025-03-06 14:25:33 +08:00
Milin
c015296081 refactor(api): Fix issues reported by pre-commit
- Modified code layout and formatting in multiple files, improving code readability.
  - Updated import statements, removing unused libraries.
  - Simplified the writing of some functions and exception handling.
2025-03-06 14:23:52 +08:00
yangdx
252d1f57e0 Merge branch 'main' into add-graph-search-mode 2025-03-06 10:23:38 +08:00
zrguo
cac0f3ddc6 Merge pull request #1009 from HKUDS/dev
Added entity merging functionality
2025-03-06 00:58:45 +08:00
zrguo
ec0450f712 Add merge entities 2025-03-06 00:53:23 +08:00
Milin
59e3b2eec1 refactor(api): Code optimization based on review comments.
- Removed authentication dependency for the health check endpoint in lightrag_server.py
- Removed the authentication dependency for the entire router in ollama_api.py
- Updated the parameter list and example usage in README.md, removing authentication-related parts
- Removed neo4j and tqdm dependencies from requirements.txt
- Deleted command-line argument parsing code related to authentication from utils_api.py
2025-03-05 20:38:05 +08:00
Milin
11502fc756 Merge branch 'HKUDS:main' into feat_login-jwt 2025-03-05 20:21:21 +08:00
yangdx
81b78bda76 Refactor Vite configuration and add environment type definitions
- Removed local Vite config file
- Updated dev scripts to use default config
- Added env.d.ts for type definitions
- Enhanced Vite config with dynamic proxy
- Simplified build and dev script commands
2025-03-05 18:25:51 +08:00
zrguo
20f2e57260 Merge pull request #1006 from HKUDS/dev
[Bug]Fix the issue where editing entity names does not properly update the corresponding relationship in the vdb.
2025-03-05 17:00:43 +08:00
zrguo
917dc39334 fix linting 2025-03-05 17:00:01 +08:00
zrguo
649164c3e6 Update lightrag.py 2025-03-05 16:55:09 +08:00
zrguo
55973ed05b Merge pull request #1005 from HKUDS/revert#994
Revert "[EVO] Add language configuration to environment and argument …
2025-03-05 16:31:18 +08:00
zrguo
06fc65d9a0 Revert "[EVO] Add language configuration to environment and argument parsing"
This reverts commit a688b8822a.
2025-03-05 16:26:28 +08:00
zrguo
5e7ef39998 Update operate.py 2025-03-05 15:12:01 +08:00
yangdx
0ca7c0e230 Fix linting 2025-03-05 15:07:11 +08:00
zrguo
ea8fe3d7a0 Merge pull request #1002 from danielaskdd/improve-async-task-error-handling
Improved task handling and error management in LightRAG
2025-03-05 15:05:36 +08:00
yangdx
b08bf51b69 Apply graph force layout on maxIterations change 2025-03-05 14:30:30 +08:00
yangdx
4e2a9b1994 Apply min_degree filter for full graph query 2025-03-05 13:21:17 +08:00
yangdx
ca9e958cad Fix subgraph filtering bugs 2025-03-05 13:13:46 +08:00
yangdx
cb988f20da Added emptyOutDir option to Vite build config 2025-03-05 12:54:15 +08:00
Milin
852634e20e Merge branch 'main' into feat_login-jwt 2025-03-05 12:42:40 +08:00
yangdx
5f12aa3ee4 Fix linting 2025-03-05 12:32:23 +08:00
yangdx
5e40e4107d Added min_degree exception for connected nodes 2025-03-05 11:48:04 +08:00
yangdx
1fddc8552e Added minimum degree filter for graph queries
- Introduced min_degree parameter in graph query
- Updated UI to include minimum degree setting
- Modified API to handle min_degree parameter
- Updated graph query logic in LightRAG
2025-03-05 11:37:55 +08:00
Milin
63aa4f9dfc feat(api): Add user authentication functionality
- Implement JWT-based user authentication logic
- Add login endpoint and token validation middleware
- Update API routes with authentication dependencies
- Add authentication-related environment variables
- Optimize requirements.txt with necessary dependencies
2025-03-05 11:09:31 +08:00
yangdx
d52b6bead1 Refactor graph search and add local Vite config.
- Simplify graph search parameters in API
- Add inclusive search and min degree options
- Update Vite config for local development
- Enhance graph query endpoint in web UI
- Add new Vite config file for local setup
2025-03-05 10:39:27 +08:00