Magic_yuan
|
ccf44dc334
|
feat(cache): 增加 LLM 相似性检查功能并优化缓存机制
- 在 embedding 缓存配置中添加 use_llm_check 参数
- 实现 LLM 相似性检查逻辑,作为缓存命中的二次验证- 优化 naive 模式的缓存处理流程
- 调整缓存数据结构,移除不必要的 model 字段
|
2024-12-08 17:35:52 +08:00 |
|
magicyuan876
|
8924d2b8fc
|
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 |
|
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 |
|
Larfii
|
645890aff6
|
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
|
9af3676991
|
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
|
44d441a951
|
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 |
|
Yizhi Zhang
|
3a6645b78d
|
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
|
753c1e6714
|
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 |
|
jin
|
9f3c0581ac
|
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
|
7cd06159e0
|
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 |
|
jin
|
26ae240c65
|
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
|
89c2de54a2
|
Optimization logic
|
2024-11-25 13:29:55 +08:00 |
|
zzzcccxx
|
156611ec7a
|
修改了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 |
|
jin
|
662303f605
|
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 |
|
jin
|
41599897fb
|
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 |
|
jin
|
b1cf41d242
|
fix bug
|
2024-11-11 15:19:42 +08:00 |
|
LarFii
|
d0c1844264
|
Linting
|
2024-11-11 10:45:22 +08:00 |
|
zrguo
|
9463d588fa
|
Merge branch 'main' into main
|
2024-11-07 14:54:15 +08:00 |
|
Ken Wiltshire
|
3d5d083f42
|
fix event loop conflict
|
2024-11-06 11:18:14 -05:00 |
|
benx13
|
6f77f54c6d
|
bug fix issue #95
|
2024-11-05 18:36:59 -08:00 |
|
wiltshirek
|
266995bed6
|
Merge branch 'HKUDS:main' into main
|
2024-11-03 07:24:28 -05:00 |
|
Ken Wiltshire
|
8bd5d9b5b2
|
using neo4j async
|
2024-11-02 18:35:07 -04:00 |
|
wiltshirek
|
f40725feeb
|
Merge branch 'main' into main
|
2024-11-01 16:50:45 -04:00 |
|
Ken Wiltshire
|
f375620992
|
cleaning code for pull
|
2024-11-01 16:11:19 -04:00 |
|
Ken Wiltshire
|
b41d990fd6
|
securing for production with env vars for creds
|
2024-11-01 11:01:50 -04:00 |
|
Ken Wiltshire
|
e966a14418
|
set kg by start param, defaults to networkx
|
2024-11-01 08:47:52 -04:00 |
|
gogoswift
|
55cce796b9
|
Update operate.py
|
2024-10-31 15:17:02 +08:00 |
|
gogoswift
|
4b92161c37
|
Update operate.py
消除text_units_section_list源文件的换行,统一混合检索上下文合并时的转换
|
2024-10-31 11:52:06 +08:00 |
|
gogoswift
|
eb60adf64d
|
Update operate.py
修正输出格式与合并函数
|
2024-10-31 11:32:44 +08:00 |
|
Yazington
|
eec29d041a
|
fixing bug
|
2024-10-26 00:11:21 -04:00 |
|
Sanketh Kumar
|
32464fab4e
|
chore: added pre-commit-hooks and ruff formatting for commit-hooks
|
2024-10-19 09:43:17 +05:30 |
|
zrguo
|
f49de420cf
|
Update operate.py
|
2024-10-18 15:33:11 +08:00 |
|
LarFii
|
7163f70924
|
fix Ollama bugs
|
2024-10-17 16:02:43 +08:00 |
|
LarFii
|
1e78068268
|
Add huggingface model support
|
2024-10-15 19:40:08 +08:00 |
|
TianyuFan0504
|
e5876fb225
|
update hf_model_complete
|
2024-10-14 20:33:46 +08:00 |
|
TianyuFan0504
|
741953c34b
|
Add HF Support
|
2024-10-14 19:41:07 +08:00 |
|
LarFii
|
3746eabf06
|
update
|
2024-10-10 15:02:30 +08:00 |
|
LarFii
|
130f7f391f
|
Revert "first commit"
|
2024-10-10 15:00:31 +08:00 |
|