yangdx
3cf4268e7a
Change logging level from INFO to DEBUG for cache hit/miss messages
2025-03-09 00:59:40 +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
yangdx
18c0770409
fix: duplicate nodes for same entity(label) problem in Neo4j
...
- Add entity_id field as key in Neo4j nodes
- Use entity_id for nodes retrival and upsert
2025-03-09 00:24:55 +08:00
zrguo
c67e6aceca
Merge branch 'main' into main
2025-03-09 00:23:06 +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
Roy
528fb11364
Refactor vector query methods to support optional ID filtering
...
- Updated BaseVectorStorage query method signature to accept optional IDs
- Modified operate.py to pass query parameter IDs to vector storage queries
- Updated PostgreSQL vector storage SQL templates to filter results by document IDs
- Removed unused parameters and simplified query logic across multiple files
2025-03-08 15:43:17 +00:00
yangdx
73452e63fa
Add async lock for atomic graph database operations
...
• Introduced graph_db_lock mechanism
• Ensured atomic node/edge merge and insert operation
2025-03-08 22:48:12 +08:00
yangdx
95c06f1bde
Add graph DB lock to shared storage system
...
• Introduced new graph_db_lock
• Added detailed lock debugging output
2025-03-08 22:36:41 +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
yangdx
fb4a4c736e
Add duplicate edge upsert checking and logging
2025-03-08 11:36:24 +08:00
yangdx
22a93fb717
Limit neighbor nodes fetch to 1000 in Neo4JStorage.
2025-03-08 11:29:08 +08:00
yangdx
887f6ed81a
Fix return empty list when no edges is found
2025-03-08 11:20:22 +08:00
yangdx
af26d65698
Convert _ensure_label method from async to sync
2025-03-08 10:23:27 +08:00
yangdx
78f8d7a1ce
Convert node and edge IDs to f-strings for consistency.
...
- Use f-strings for node IDs
- Use f-strings for edge IDs
- Ensure consistent ID formatting
2025-03-08 10:20:10 +08:00
yangdx
84222b8b76
Refactor Neo4JStorage methods for robustness and clarity.
...
- Add error handling and resource cleanup
- Improve method documentation
- Optimize result consumption
2025-03-08 10:19:20 +08:00
yangdx
fcb04e47e5
Refactor Neo4J APOC fall back retrival implementaion
2025-03-08 04:28:54 +08:00
Roy
bbe139cfeb
Enhance PostgreSQL vector storage with chunk_id support
...
- Updated SQL templates for entity and relationship upsert to include chunk_id
- Modified PGVectorStorage methods to add chunk_id when inserting or updating records
- Expanded database schema to track chunk-level metadata
2025-03-07 20:18:01 +00:00
Roy
0ec61d6407
Update project dependencies and example test files
...
- Updated requirements.txt with latest package versions
- Added support for filtering query results by IDs in base and operate modules
- Modified PostgreSQL vector storage to include document and chunk ID fields
2025-03-07 18:45:28 +00:00
yangdx
c07b592e1b
Add missing await consume
2025-03-08 02:39:51 +08:00
yangdx
af803f4e7a
Refactor Neo4J graph query with min_degree an inclusive match support
2025-03-08 01:20:36 +08:00
Lukas Selch
bad3781f51
Fixed entites_section_list comma error
2025-03-07 12:04:10 +01:00
yangdx
0ee2e7fd48
Suppress Neo4j warning logs by setting logger level.
2025-03-07 16:56:48 +08:00
yangdx
6e3b23069c
- Remove useless _label_exists
method
2025-03-07 16:43:18 +08: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
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
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
Saifeddine ALOUI
00f3c6c6dd
Upgraded document loading engine
2025-03-06 01:11:48 +01:00
Saifeddine ALOUI
bf1557fc2c
Merge branch 'HKUDS:main' into main
2025-03-05 21:35:57 +01:00
zrguo
ec0450f712
Add merge entities
2025-03-06 00:53:23 +08:00
Saifeddine ALOUI
6e4daea056
Linting
2025-03-05 15:36:47 +01:00
Saifeddine ALOUI
39c24f4a59
Update utils_api.py
2025-03-05 15:36:17 +01:00
Saifeddine ALOUI
c62422eade
Update utils_api.py
2025-03-05 15:33:54 +01:00
Saifeddine ALOUI
95a6a274ca
Update ollama_api.py
2025-03-05 15:33:06 +01:00
Saifeddine ALOUI
aaa8194423
Update document_routes.py
2025-03-05 15:32:39 +01: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
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