4156 Commits

Author SHA1 Message Date
yangdx
bd487dd252 Unify document APIs returen status string 2025-06-23 21:38:47 +08:00
yangdx
ce50135efb Improved docstring for document deletion method 2025-06-23 21:08:51 +08:00
yangdx
1697ea4bf6 Fix linting 2025-06-23 19:20:35 +08:00
yangdx
f60bad92f0 Fix: Delete relations from vector DB in both directions 2025-06-23 19:20:10 +08:00
yangdx
ebcabe29ca Remove duplicated graph db lock 2025-06-23 18:46:01 +08:00
yangdx
b8a2d5b223 Bump api version to 0174 2025-06-23 18:42:34 +08:00
yangdx
5099ac8213 Fix linting 2025-06-23 18:41:30 +08:00
yangdx
a215939c41 Refac: Avoid duplicate edge processing in adelete_by_doc_id 2025-06-23 18:39:36 +08:00
yangdx
dffe659388 Feat: Add document deletion by ID API endpoint
- New DELETE endpoint for document removal
- Implements doc_id-based deletion
- Handles pipeline status during operation
- Includes proper error handling
- Updates pipeline status messages
2025-06-23 18:10:40 +08:00
yangdx
a0be65d5d9 Refac: Return status and messages for delete by doc id operaton 2025-06-23 17:59:27 +08:00
yangdx
9fae0eadff feat: Ensure thread safety for graph write operations
Add a lock to delete, adelete_by_entity, and adelete_by_relation methods to prevent race conditions and ensure data consistency during concurrent modifications to the knowledge graph.
2025-06-23 09:57:56 +08:00
zrguo
c947b20bb1 Update README.md 2025-06-22 16:43:18 +08:00
zrguo
4937de8809 Update 2025-06-22 15:12:09 +08:00
zrguo
afdc2b3da8 Merge branch 'main' into delete_doc 2025-06-22 14:39:07 +08:00
Ken Chen
a047d966ab MongoGraph: Separate edges from node collection 2025-06-21 21:05:04 +08:00
zrguo
d1aeb291d6 Update README.md 2025-06-19 17:01:21 +08:00
zrguo
bc70e6066c
Merge pull request #1671 from Chaoyingz/main
Fix incorrect spacing
2025-06-19 14:17:52 +08:00
zrguo
96b9bd8cc5 fix lint 2025-06-19 14:16:24 +08:00
zrguo
523550d9ba
Merge pull request #1643 from eddiemaru-101/fix/ollama-timeout-handling
Fix: Increase Ollama timeout values to prevent ReadTimeout errors
2025-06-19 14:15:05 +08:00
zrguo
c8b56620c1 Merge branch 'main' into delete_doc 2025-06-19 14:12:17 +08:00
chaohuang-ai
a408465602
Update README.md 2025-06-17 10:39:30 +08:00
chaohuang-ai
caf0411889
Update README.md 2025-06-17 10:38:34 +08:00
zrguo
eea64b9763
Merge pull request #1688 from HKUDS/RAGAnything
RAG-Anything Integration
2025-06-17 01:23:07 +08:00
zrguo
03dd99912d RAG-Anything Integration 2025-06-17 01:16:02 +08:00
zrguo
3abdc42549 Merge branch 'main' into delete_doc 2025-06-16 17:02:21 +08:00
Ken Chen
cf441aa84c Add missing methods for MongoGraphStorage 2025-06-15 21:22:32 +08:00
yangdx
1389265695 Bump api version to 1.3.9 2025-06-11 17:03:27 +08:00
Daniel.y
2639c03634
Merge pull request #1673 from danielaskdd/litellm-problem
feat: Support `application/octet-stream` requests from LiteLLM clients for Ollama Emulation
2025-06-11 17:02:14 +08:00
yangdx
62621979f0 Bump api version to 0173 2025-06-11 16:37:52 +08:00
yangdx
888be97b06 Fix linting 2025-06-11 16:36:05 +08:00
yangdx
ba5e95ea9e Merge branch 'main' into litellm-problem 2025-06-11 16:27:32 +08:00
yangdx
c3f5c413fa feat(api): add /ps endpoint to list running models for Ollama API 2025-06-11 16:23:02 +08:00
yangdx
9351b09cc7 Enhance Ollama interface compatibility 2025-06-11 15:16:32 +08:00
yangdx
7b07d4c917 feat: 支持 LiteLLM 客户端的 application/octet-stream 请求
修改 Ollama API 路由处理程序,使 /chat 和 /generate 端点能够接受 Content-Type 为 application/octet-stream 的请求。通过绕过 FastAPI 的自动请求验证机制,手动解析请求体,解决了 LiteLLM 客户端连接时出现的 422 错误。此更改保持了对现有 application/json 请求的向后兼容性。
2025-06-11 13:42:30 +08:00
yangdx
ad81e59d9a Fix logger problem 2025-06-11 13:30:45 +08:00
Chaoying
b8a2598404
Fix incorrect spacing 2025-06-11 10:59:40 +08:00
zrguo
5ccdbd6de8
Merge pull request #1667 from kwilt/typo-fix
fix typo: "extrat" -> extract
2025-06-10 11:53:04 +08:00
kwilt
09cbcc4572 fix typo: "extrat" -> extract 2025-06-09 08:28:14 -05:00
zrguo
3a9494ab60 Update operate.py 2025-06-09 19:47:29 +08:00
zrguo
9a71a10bc0 Update operate.py 2025-06-09 19:40:29 +08:00
zrguo
ead82a8dbd update delete_by_doc_id 2025-06-09 18:52:34 +08:00
zrguo
ea2fabe6b0
Merge pull request #1619 from earayu/add_doc_for_parall
Add doc for explaining LightRAG's multi-document concurrent processing mechanism
2025-06-09 09:50:41 +08:00
zrguo
75d13cc387 fix lint 2025-06-09 09:11:50 +08:00
zrguo
16ef318366
Merge pull request #1665 from neno-is-ooo/fix-initialization-documentation
docs: Add clear initialization requirements and troubleshooting section
2025-06-09 09:10:54 +08:00
neno-is-ooo
199869f45c docs: Add clear initialization requirements and troubleshooting section
- Add prominent warning about required initialization steps
- Document common errors (AttributeError: __aenter__ and KeyError: 'history_messages')
- Add troubleshooting section with specific solutions
- Add inline comments in code example highlighting initialization requirements

This addresses user confusion when LightRAG fails with cryptic errors due to
missing initialization calls. The documentation now clearly states that both
await rag.initialize_storages() and await initialize_pipeline_status() must
be called after creating a LightRAG instance.
2025-06-08 12:43:17 +02:00
chaohuang-ai
20c05a7e77
Update README.md 2025-06-07 00:58:56 +08:00
chaohuang-ai
5b7129f582
Update README.md 2025-06-06 22:16:27 +08:00
pablo-statsig
4a8202138c
Remove graspologic pip installation that no longer seems to be used
As far as I can tell this is no longer actually used and its usage was removed in this commit:
83353ab9a6 (diff-a346bcfb05aab0cc0c0baa6018976f4efab339e8cade9f6f8fb658fcbd54ae2e)

Our systems are flagging this package as having a dependency on a package with a less permissive license so I would appreciate if it can be removed if its no longer needed.  Let me know if that is not the case.
2025-06-05 18:01:00 -07:00
zrguo
dc97b2b84f Update README.md 2025-06-05 17:51:04 +08:00
zrguo
3325f20507
Merge pull request #1659 from HKUDS/mineru_integration
MinerU integration
v1.3.8
2025-06-05 17:43:27 +08:00