858 Commits

Author SHA1 Message Date
yangdx
4663dcfbab Merge branch 'main' into handle-stream-cancel-error 2025-02-05 12:27:05 +08:00
yangdx
f1ea7f7415 update error response format in streaming API to a normal message. So user can get what's going on. 2025-02-05 11:07:31 +08:00
yangdx
24effb127d Improve error handling and response consistency in streaming endpoints
• Add error message forwarding to client
• Handle stream cancellations gracefully
• Add logging for stream errors
• Ensure clean stream termination
• Add try-catch in OpenAI streaming
2025-02-05 10:44:48 +08:00
yangdx
ff40e61fad Fix linting 2025-02-05 09:47:39 +08:00
yangdx
69f200faf2 feat: improve error handling for streaming responses
• Add CancelledError handling for streams
• Send error details to client in JSON
• Add error status codes and messages
• Always send final completion marker
• Refactor stream generator error handling
2025-02-05 09:46:56 +08:00
ArnoChen
57b015bee1 fix doc_key filtering logic to handle dict status 2025-02-05 03:22:22 +08:00
zrguo
5694bf78ed
Merge pull request #710 from ArnoChenFx/visualizer-module-reorg
split lightrag_visualizer into separate module and update entry point
2025-02-05 03:01:43 +08:00
zrguo
8b2a6d1ae5 modify README-zh.md 2025-02-05 02:59:51 +08:00
ArnoChen
c8a45daf02 split lightrag_visualizer into separate module and update entry point 2025-02-05 02:56:14 +08:00
zrguo
3211816da8 Reapply "fix mongo impl" 2025-02-05 02:48:12 +08:00
zrguo
7a5ccdfe01
Merge pull request #709 from ArnoChenFx/reintroduce-pr-703
Reapply "Integrated the GraphML Visualizer as an optional component of LightRAG"
2025-02-05 02:38:16 +08:00
ArnoChen
a59bb7d4ba update LightRAG repository URL in README 2025-02-05 02:36:43 +08:00
zrguo
1c2545b38a Revert "Merge pull request #708 from ArnoChenFx/fix-mongo-impl"
This reverts commit ad2a82e5e4f59746eae62ea1c46cc996ddc91d5c, reversing
changes made to 7b238dbc3ecd64a4575caac5ca0f50874d567a12.
2025-02-05 02:36:38 +08:00
ArnoChen
eb77af8e7d Reapply "Integrated the GraphML Visualizer as an optional component of LightRAG"
This reverts commit b2bc7770fd9d1f55dfec8e06b646bda3ecd609ea.
2025-02-05 02:33:26 +08:00
zrguo
ad2a82e5e4
Merge pull request #708 from ArnoChenFx/fix-mongo-impl
fix mongo impl
2025-02-05 01:55:31 +08:00
zrguo
7b238dbc3e
Merge pull request #707 from HKUDS/dev
fix merge errors
2025-02-05 01:53:03 +08:00
ArnoChen
c1ff66db98 fix mongo impl 2025-02-05 01:52:33 +08:00
zrguo
58faf48468 Merge 2025-02-05 01:51:26 +08:00
zrguo
b2bc7770fd
Revert "Integrated the GraphML Visualizer as an optional component of LightRAG" 2025-02-05 01:30:57 +08:00
zrguo
0e162b25aa Merge branch 'pr/703' 2025-02-05 01:30:29 +08:00
chenjingyang
6e79bef321 Fix get_by_id DB query ressult is empty array 2025-02-04 17:09:34 +08:00
Saifeddine ALOUI
6a4e1b1401 fixed pipmaster install 2025-02-04 00:28:33 +01:00
Saifeddine ALOUI
14b5adc15c minor fix 2025-02-04 00:26:22 +01:00
Saifeddine ALOUI
61b06a3d1a linting 2025-02-03 23:17:43 +01:00
Saifeddine ALOUI
a55cf5d1ee
Update README.md 2025-02-03 22:52:34 +01:00
Saifeddine ALOUI
9a30dc7b04 Integrated the graphml visualizer as part of lightrag and made it a component that can be installed using [tools] option 2025-02-03 22:51:46 +01:00
Saifeddine ALOUI
797b5fa463
Merge branch 'HKUDS:main' into main 2025-02-03 22:05:59 +01:00
zrguo
0c8a2bface
Merge pull request #701 from RayWang1991/main
fix DocStatus issue
2025-02-04 00:16:34 +08:00
zrguo
4a7dc3af8f
Merge pull request #698 from danielaskdd/add-bypass-support-ollama
Add query prefix "/bypass" for ollama api
2025-02-04 00:13:32 +08:00
ruirui
e825b079bc fix status error 2025-02-03 23:45:21 +08:00
Saifeddine ALOUI
da6864d9c6
Merge branch 'HKUDS:main' into main 2025-02-03 11:24:08 +01:00
ultrageopro
0284469fd4
doc: add information about log_dir parameter 2025-02-03 11:25:09 +03:00
yangdx
5cf875755a Update API endpoint documentation to clarify Ollama server compatibility
• Add Ollama server doc for /api/tags
• Update /api/generate endpoint docs
• Update /api/chat endpoint docs
2025-02-03 13:07:08 +08:00
yangdx
4ab02a878f Fix linting 2025-02-03 12:39:52 +08:00
yangdx
ede4122b63 docs: add documentation for /bypass prefix in LightRAG api 2025-02-03 12:25:59 +08:00
yangdx
a8f7b7e2b7 Add "/bypass" mode to skip context retrieval and directly use LLM
• Added SearchMode.bypass enum value
• Added /bypass prefix handler
• Skip RAG when in bypass mode
• Pass conversation history to LLM
• Apply bypass mode for both stream/non-stream
2025-02-03 11:49:17 +08:00
ultrageopro
749003f380
fix: path for windows 2025-02-02 14:59:46 +03:00
ultrageopro
ba9c8cd734
fix: default log dir 2025-02-02 14:06:31 +03:00
ultrageopro
35c4115441
feat: custom log dir 2025-02-02 14:04:24 +03:00
zrguo
c07b5522fe
Merge pull request #695 from ShanGor/main
Fix the bug from main stream that using doc['status'] and improve Apache AGE performance
2025-02-02 18:27:11 +08:00
Samuel Chan
02ac96ff8e - Fix the bug from main stream that using doc['status']
- Improve the performance of Apache AGE.
- Revise the README.md for Apache AGE indexing.
2025-02-02 18:20:32 +08:00
Saifeddine ALOUI
c65dcff991 Fixed a typo 2025-02-02 09:47:05 +01:00
yangdx
7ea1856699 Add comment to clarify LLM cache setting for entity extraction 2025-02-02 07:29:01 +08:00
yangdx
6e1b5d6ce6 Merge branch 'main' into fix-concurrent-problem 2025-02-02 04:36:52 +08:00
yangdx
0a693dbfda Fix linting 2025-02-02 04:27:55 +08:00
yangdx
ecf48a5be5 Add embedding cache config and disable LLM cache for entity extraction for API Server 2025-02-02 04:27:21 +08:00
yangdx
6f5503ebd6 Update similarity_check prompt to avoid generating two scores sometiimes 2025-02-02 04:22:43 +08:00
yangdx
8484564f50 Fix llm_model_func retrieval error. 2025-02-02 03:54:41 +08:00
yangdx
873b52d2e4 Add debug logging for cache response retrieval 2025-02-02 03:15:43 +08:00
yangdx
fdc9017ded Set embedding_func in all llm_response_cache 2025-02-02 03:14:07 +08:00