52 Commits

Author SHA1 Message Date
yuanxiaobin
ad4b0d1ba9 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	lightrag/llm.py
#	lightrag/operate.py
2024-12-06 15:06:00 +08:00
yuanxiaobin
584258078f 重构缓存处理逻辑
- 提取通用缓存处理逻辑到新函数 handle_cache 和 save_to_cache
- 使用 CacheData 类统一缓存数据结构
- 优化嵌入式缓存和常规缓存的处理流程
- 添加模式参数以支持不同查询模式的缓存策略
- 重构 get_best_cached_response 函数,提高缓存查询效率
2024-12-06 14:29:16 +08:00
partoneplay
335179196a Add support for Ollama streaming output and integrate Open-WebUI as the chat UI demo 2024-12-06 10:13:16 +08:00
Larfii
0ca819dd05 Fix JSON parsing error 2024-12-05 20:40:35 +08:00
Larfii
570790cd37 Fix JSON parsing error 2024-12-05 20:22:44 +08:00
Larfii
5e1f317264 Fix JSON parsing error 2024-12-05 18:26:55 +08:00
Larfii
eda9d5abeb fix JSON parsing error 2024-12-05 18:13:12 +08:00
LarFii
db9b9f69f8 update insert custom kg 2024-12-04 19:44:04 +08:00
LarFii
7f8460c8ec fix entity extract 2024-12-04 16:01:19 +08:00
Yizhi Zhang
380a1d1bc3 fix bug of example prompt 2024-12-03 22:25:50 +08:00
b10902118
3f9d19401f fix with ruff (unused import) 2024-12-01 16:09:24 +08:00
b10902118
b0dd600429 support JSON output for ollama and openai 2024-11-29 21:41:37 +08:00
Sebastian Schramm
ba25614423 fix templating of language in prompts 2024-11-28 14:28:29 +01:00
jin
a88908009c
Merge branch 'HKUDS:main' into main 2024-11-27 15:16:28 +08:00
jin
28bc45c8f5 fix formate 2024-11-26 10:21:39 +08:00
jin
5bde05ed53 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
Larfii
ac1587ad2a Add a progress bar 2024-11-25 15:04:38 +08:00
jin
21f161390a Logic Optimization 2024-11-25 13:40:38 +08:00
jin
bf5815be8f Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
af3aef5d88 Optimization logic 2024-11-25 13:29:55 +08:00
zzzcccxx
116e1d20a9 修改了relation_counts计数规则 2024-11-21 14:35:18 +08:00
luoyifan
c9becdf5f4 A more robust approach for result to json. 2024-11-19 14:02:38 +08:00
jin
d6589684ef use oracle bind variables to avoid error 2024-11-15 12:57:01 +08:00
LarFii
30cf5a62ee fix cache bug 2024-11-14 15:59:37 +08:00
jin
33caba3e12 fix pre commit 2024-11-12 13:32:40 +08:00
jin
40b532722c Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-11 15:21:37 +08:00
jin
a8ec12efe0 fix bug 2024-11-11 15:19:42 +08:00
LarFii
b6b2e69773 Linting 2024-11-11 10:45:22 +08:00
zrguo
36e9236d7a
Merge branch 'main' into main 2024-11-07 14:54:15 +08:00
Ken Wiltshire
ac0b7fd775 fix event loop conflict 2024-11-06 11:18:14 -05:00
benx13
c956e39621 bug fix issue #95 2024-11-05 18:36:59 -08:00
wiltshirek
346e96835b
Merge branch 'HKUDS:main' into main 2024-11-03 07:24:28 -05:00
Ken Wiltshire
f19af82db1 using neo4j async 2024-11-02 18:35:07 -04:00
wiltshirek
40e80ebc9d
Merge branch 'main' into main 2024-11-01 16:50:45 -04:00
Ken Wiltshire
ca65e360aa cleaning code for pull 2024-11-01 16:11:19 -04:00
Ken Wiltshire
c86bc0edbe securing for production with env vars for creds 2024-11-01 11:01:50 -04:00
Ken Wiltshire
e44046f9e6 set kg by start param, defaults to networkx 2024-11-01 08:47:52 -04:00
gogoswift
11b9403251
Update operate.py 2024-10-31 15:17:02 +08:00
gogoswift
00d570e509
Update operate.py
消除text_units_section_list源文件的换行,统一混合检索上下文合并时的转换
2024-10-31 11:52:06 +08:00
gogoswift
11f549600d
Update operate.py
修正输出格式与合并函数
2024-10-31 11:32:44 +08:00
Yazington
e3d978d331 fixing bug 2024-10-26 00:11:21 -04:00
Sanketh Kumar
744dad339d chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
zrguo
e7a7ff62b2 Update operate.py 2024-10-18 15:33:11 +08:00
LarFii
a2f1654f4c fix Ollama bugs 2024-10-17 16:02:43 +08:00
LarFii
ea126a7108 Add huggingface model support 2024-10-15 19:40:08 +08:00
TianyuFan0504
d47dd465ce update hf_model_complete 2024-10-14 20:33:46 +08:00
TianyuFan0504
c89fdc4d63 Add HF Support 2024-10-14 19:41:07 +08:00
LarFii
81209fa96b update 2024-10-10 15:02:30 +08:00
LarFii
5931e4bccb Revert "first commit" 2024-10-10 15:00:31 +08:00
Larfii
c91f15b2a8 update 2024-10-08 15:24:51 +08:00