Commit Graph

2431 Commits

Author SHA1 Message Date
pengjunfeng11
f53f07bcf4 Update code comments in ainsert method
Update code comments in ainsert method. The original comment was cut off in the middle, not a complete sentence, and cannot be read
2025-03-14 10:59:24 +08:00
pengjunfeng11
010a551ae3 Update LightRagWithPostGRESQL.md
Replace unreasonable parameter names
2025-03-13 17:44:29 +08:00
zrguo
2170a5d778 Update __init__.py 2025-03-13 16:58:03 +08:00
zrguo
e2b9be2dc6 Update lightrag.py 2025-03-13 16:52:48 +08:00
zrguo
e6c602b0ea Merge pull request #1061 from RushiChaganti/main
Fixed lint and Added new imports at the top of the file
2025-03-13 14:48:23 +08:00
Daniel.y
8549b739f5 Merge pull request #1078 from danielaskdd/fix-frontend-dev-mode
Explicitly set API docs and schema URLs.
2025-03-13 12:42:24 +08:00
yangdx
ef754a4300 Explicitly set API docs and schema URLs.
- Set OpenAPI schema URL to `/openapi.json`
- Set docs URL to `/docs`
- Set redoc URL to `/redoc`
- Update Vite config for API docs routing
- Ensure proper path handling for docs endpoints
2025-03-13 12:38:33 +08:00
Daniel.y
cd457b46d8 Merge pull request #1074 from danielaskdd/main
Update .gitignore
2025-03-13 02:22:55 +08:00
Daniel.y
dbad528e62 Update .gitignore 2025-03-13 02:19:23 +08:00
Daniel.y
3f208fc1af Merge pull request #1073 from danielaskdd/fix-neo4j-single-node
Fix get single node subgrap problem
2025-03-13 02:16:17 +08:00
yangdx
5b70d34822 Fix get single node subgrap problem
- Replaced MATCH with OPTIONAL MATCH
- Add memory-bank directory for Cline to .gitignore
2025-03-13 02:14:02 +08:00
Daniel.y
f610174e61 Merge pull request #1068 from danielaskdd/add-pipeline-status-response-obj
Add PipelineStatusResponse model for API endpoint
2025-03-12 16:29:39 +08:00
yangdx
73440e3a96 Fix linting 2025-03-12 16:28:55 +08:00
zrguo
f132a6ae49 Merge pull request #1050 from danielaskdd/fix-neo4j-duplicate-nodes
Refactor Neo4J storage to use entity_id for node identification
2025-03-12 16:26:40 +08:00
yangdx
16e06100e7 Add PipelineStatusResponse model for API endpoint 2025-03-12 16:16:39 +08:00
yangdx
3cd574f6a8 Merge branch 'main' into fix-neo4j-duplicate-nodes 2025-03-12 12:35:36 +08:00
Daniel.y
4263c327ea Merge pull request #1060 from ArindamRoy23/main
Fix optional query item in all DBs
2025-03-12 11:56:59 +08:00
yangdx
8f633c89fd Remove duplicate retry decorator in Neo4JStorage class. 2025-03-12 09:12:06 +08:00
yangdx
a124c2d391 Renamed relationship type from 'Target' to 'Neighbour' 2025-03-12 03:49:11 +08:00
Rushi Chaganti
39633cb1d9 Fixed lint and Added new imports at the top of the file 2025-03-12 00:04:23 +05:30
ArindamRoy23
49dd5f936e Merge branch 'HKUDS:main' into main 2025-03-11 20:53:00 +05:30
Roy
8aa9d0e6ca Add optional ids filter to vector database query methods
- Updated query method signatures across multiple vector database implementations
- Added optional `ids` parameter to filter search results
- Consistent implementation across ChromaDB, Faiss, Milvus, MongoDB, NanoVectorDB, Oracle, Qdrant, and TiDB vector storage classes
2025-03-11 15:22:17 +00:00
zrguo
2ffd7f9111 fix linting 2025-03-11 21:13:50 +08:00
zrguo
6768f675bf Merge pull request #1028 from baoheping/multi-language
The WebUI has added multi-language support, currently covering Chines…
2025-03-11 21:12:43 +08:00
zrguo
baea58497f Merge pull request #1052 from HKUDS/dev2
Standardizing Vector Database Interfaces
2025-03-11 20:55:32 +08:00
yangdx
cbacb615f3 Use COALESCE to handle null degree counts in Neo4J queries.
- Ensures degree count defaults to 0
- Prevents null-related errors in queries
2025-03-11 18:33:26 +08:00
yangdx
bedad9a6d9 Merge branch 'main' into fix-neo4j-duplicate-nodes 2025-03-11 18:05:58 +08:00
zrguo
11a5a04c4d Merge pull request #1053 from HKUDS/dev3
Fix the merge bug with Neo4j
2025-03-11 17:33:37 +08:00
zrguo
f1e8641573 Merge pull request #1051 from HKUDS/dev
Refactor LightRAG for better code organization
2025-03-11 17:03:01 +08:00
zrguo
ea05b8e49f Fix the merge bug with Neo4j 2025-03-11 16:19:44 +08:00
yangdx
b61db8635c Fix lintiing 2025-03-11 16:16:50 +08:00
yangdx
af359f83fc Exclude lightrag/api/webui from pre-commit hooks.
- Added .gitattributes for webui files(exclude it from git dfff)
- Excluded webui from trailing-whitespace hook
- Excluded webui from end-of-file-fixer
- Excluded webui from ruff-format hook
- Excluded webui from check-manifest hook
2025-03-11 16:13:51 +08:00
zrguo
c26cb3a9ea fix merge bugs 2025-03-11 16:05:04 +08:00
yangdx
f1d312a2ce Update UI and refine node property display for compatible with legacy data 2025-03-11 15:54:41 +08:00
zrguo
418aea3895 fix linting 2025-03-11 15:44:01 +08:00
zrguo
62b304600b clean lightrag.py 2025-03-11 15:43:04 +08:00
yangdx
30310c2845 Fix relation info in kownledge graph UI 2025-03-11 15:36:38 +08:00
zrguo
91f96f2a8b Merge pull request #1032 from ArindamRoy23/main
Filter by ID during Query for Postgres VDB
2025-03-11 15:26:59 +08:00
zrguo
141de28015 Merge pull request #1046 from danielaskdd/fix-extraction-problem
Improve Entity Extraction Robustness for Truncated LLM Responses
2025-03-11 15:21:38 +08:00
zrguo
f5f21f6f9b Merge pull request #1045 from zhenya-zhu/improve_keyword_extraction_prompt
force keywords_extraction output as JSON
2025-03-11 15:11:26 +08:00
zrguo
3fb2044273 Merge pull request #1043 from zhicwu/main
Resolve the issue with making API calls to Azure OpenAI service
2025-03-11 15:10:03 +08:00
yangdx
9d1dc2c9c3 Fix linting 2025-03-11 12:23:51 +08:00
yangdx
061350b2bf Improve Entity Extraction Robustness for Truncated LLM Responses 2025-03-11 12:08:10 +08:00
Zhichun Wu
d77401961d Resolve the issue with making API calls to Azure OpenAI service 2025-03-11 11:57:41 +08:00
Zhenya Zhu
37754f14b5 force keywords_extraction output as JSON 2025-03-11 11:54:30 +08:00
yangdx
7fddabb441 Fix linting 2025-03-11 10:28:25 +08:00
yangdx
aefd596990 Refactor Neo4JStorage to use entity_id for node identification, use entity_type for node label 2025-03-11 09:59:42 +08:00
Roy
92ae895713 Refactor requirements and code formatting
- Simplified requirements.txt by removing specific version constraints
- Added comment about extra library installation using pipmaster
- Improved code formatting in base.py, operate.py, and postgres_impl.py
- Cleaned up SQL templates and query method signatures with consistent formatting
2025-03-10 15:39:18 +00:00
zrguo
8317ec9757 Update __init__.py 2025-03-10 23:00:06 +08:00
zrguo
7ed7cb4ecf Merge pull request #1036 from danielaskdd/neo4j-add-min-degree
Refactoring Neo4j implementation and fixing storage init problem for Gunicorn
2025-03-10 22:24:22 +08:00