150 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
magicyuan876
e619b09c8a 重构缓存处理逻辑
- 提取通用缓存处理逻辑到新函数 handle_cache 和 save_to_cache
- 使用 CacheData 类统一缓存数据结构
- 优化嵌入式缓存和常规缓存的处理流程
- 添加模式参数以支持不同查询模式的缓存策略
- 重构 get_best_cached_response 函数,提高缓存查询效率
2024-12-06 14:29:16 +08:00
yuanxiaobin
584258078f 重构缓存处理逻辑
- 提取通用缓存处理逻辑到新函数 handle_cache 和 save_to_cache
- 使用 CacheData 类统一缓存数据结构
- 优化嵌入式缓存和常规缓存的处理流程
- 添加模式参数以支持不同查询模式的缓存策略
- 重构 get_best_cached_response 函数,提高缓存查询效率
2024-12-06 14:29:16 +08:00
partoneplay
e82d13e182 Add support for Ollama streaming output and integrate Open-WebUI as the chat UI demo 2024-12-06 10:13: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
645890aff6 Fix JSON parsing error 2024-12-05 20:40:35 +08:00
Larfii
0ca819dd05 Fix JSON parsing error 2024-12-05 20:40:35 +08:00
Larfii
1e4e2ea4f3 Fix JSON parsing error 2024-12-05 20:22:44 +08:00
Larfii
570790cd37 Fix JSON parsing error 2024-12-05 20:22:44 +08:00
Larfii
9af3676991 Fix JSON parsing error 2024-12-05 18:26:55 +08:00
Larfii
5e1f317264 Fix JSON parsing error 2024-12-05 18:26:55 +08:00
Larfii
254330813a fix JSON parsing error 2024-12-05 18:13:12 +08:00
Larfii
eda9d5abeb fix JSON parsing error 2024-12-05 18:13:12 +08:00
LarFii
44d441a951 update insert custom kg 2024-12-04 19:44:04 +08:00
LarFii
db9b9f69f8 update insert custom kg 2024-12-04 19:44:04 +08:00
LarFii
be72c825d2 fix entity extract 2024-12-04 16:01:19 +08:00
LarFii
7f8460c8ec fix entity extract 2024-12-04 16:01:19 +08:00
Yizhi Zhang
3a6645b78d fix bug of example prompt 2024-12-03 22:25:50 +08:00
Yizhi Zhang
380a1d1bc3 fix bug of example prompt 2024-12-03 22:25:50 +08:00
b10902118
085032640c fix with ruff (unused import) 2024-12-01 16:09:24 +08:00
b10902118
3f9d19401f fix with ruff (unused import) 2024-12-01 16:09:24 +08:00
b10902118
753c1e6714 support JSON output for ollama and openai 2024-11-29 21:41:37 +08:00
b10902118
b0dd600429 support JSON output for ollama and openai 2024-11-29 21:41:37 +08:00
Sebastian Schramm
b0483ae91d fix templating of language in prompts 2024-11-28 14:28:29 +01:00
Sebastian Schramm
ba25614423 fix templating of language in prompts 2024-11-28 14:28:29 +01:00
jin
9f3c0581ac Merge branch 'HKUDS:main' into main 2024-11-27 15:16:28 +08:00
jin
a88908009c
Merge branch 'HKUDS:main' into main 2024-11-27 15:16:28 +08:00
jin
8c88599abc fix formate 2024-11-26 10:21:39 +08:00
jin
28bc45c8f5 fix formate 2024-11-26 10:21:39 +08:00
jin
7cd06159e0 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
jin
5bde05ed53 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
Larfii
8562ecdebc Add a progress bar 2024-11-25 15:04:38 +08:00
Larfii
ac1587ad2a Add a progress bar 2024-11-25 15:04:38 +08:00
jin
26ae240c65 Logic Optimization 2024-11-25 13:40:38 +08:00
jin
21f161390a Logic Optimization 2024-11-25 13:40:38 +08:00
jin
1dbe803521 Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
bf5815be8f Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
89c2de54a2 Optimization logic 2024-11-25 13:29:55 +08:00
jin
af3aef5d88 Optimization logic 2024-11-25 13:29:55 +08:00
zzzcccxx
156611ec7a 修改了relation_counts计数规则 2024-11-21 14:35:18 +08:00
zzzcccxx
116e1d20a9 修改了relation_counts计数规则 2024-11-21 14:35:18 +08:00
luoyifan
92fe18b2ea A more robust approach for result to json. 2024-11-19 14:02:38 +08:00
luoyifan
c9becdf5f4 A more robust approach for result to json. 2024-11-19 14:02:38 +08:00
jin
662303f605 use oracle bind variables to avoid error 2024-11-15 12:57:01 +08:00
jin
d6589684ef use oracle bind variables to avoid error 2024-11-15 12:57:01 +08:00
LarFii
f8b15df74c fix cache bug 2024-11-14 15:59:37 +08:00
LarFii
30cf5a62ee fix cache bug 2024-11-14 15:59:37 +08:00
jin
41599897fb fix pre commit 2024-11-12 13:32:40 +08:00
jin
33caba3e12 fix pre commit 2024-11-12 13:32:40 +08:00
jin
0b6b0064d6 Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-11 15:21:37 +08:00