yuanxiaobin
|
558068f611
|
fix(utils): 修复 JSON 日志编码问题
- 在 json.dumps 中添加 ensure_ascii=False 参数,以支持非 ASCII 字符编码
-这个修改确保了包含中文等非 ASCII 字符的日志信息能够正确处理和显示
|
2024-12-06 14:32:41 +08:00 |
|
yuanxiaobin
|
584258078f
|
重构缓存处理逻辑
- 提取通用缓存处理逻辑到新函数 handle_cache 和 save_to_cache
- 使用 CacheData 类统一缓存数据结构
- 优化嵌入式缓存和常规缓存的处理流程
- 添加模式参数以支持不同查询模式的缓存策略
- 重构 get_best_cached_response 函数,提高缓存查询效率
|
2024-12-06 14:29:16 +08:00 |
|
yuanxiaobin
|
c01c15f7fb
|
整理了一下手误的注释
|
2024-12-06 09:11:22 +08:00 |
|
yuanxiaobin
|
525c971a23
|
feat(lightrag): 添加 查询时使用embedding缓存功能
- 在 LightRAG 类中添加 embedding_cache_config配置项
- 实现基于 embedding 相似度的缓存查询和存储
- 添加量化和反量化函数,用于压缩 embedding 数据
- 新增示例演示 embedding 缓存的使用
|
2024-12-06 08:17:20 +08:00 |
|
b10902118
|
b0dd600429
|
support JSON output for ollama and openai
|
2024-11-29 21:41:37 +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 |
|
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 |
|
Ken Wiltshire
|
ac0b7fd775
|
fix event loop conflict
|
2024-11-06 11:18:14 -05:00 |
|
zrguo
|
6dd778ed70
|
Update utils.py
|
2024-11-03 17:53:53 +08:00 |
|
gogoswift
|
7d884b9783
|
Update utils.py
|
2024-10-31 14:31:26 +08:00 |
|
gogoswift
|
e43446978b
|
Update utils.py
混合检索的合并函数
|
2024-10-31 11:34:01 +08:00 |
|
Sanketh Kumar
|
5e3ab98d83
|
Manually reformatted files
|
2024-10-25 13:32:25 +05:30 |
|
LarFii
|
8e9005baad
|
Add visualization methods
|
2024-10-20 23:08:26 +08:00 |
|
Sanketh Kumar
|
744dad339d
|
chore: added pre-commit-hooks and ruff formatting for commit-hooks
|
2024-10-19 09:43:17 +05:30 |
|
LarFii
|
2d2085e6f9
|
update utils.py
|
2024-10-11 11:24:42 +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
|
8627632517
|
update
|
2024-10-10 14:58:21 +08:00 |
|
LarFii
|
5cc02cb34f
|
Revert "first commit"
|
2024-10-10 14:57:32 +08:00 |
|
Larfii
|
25df09a8ac
|
first commit
|
2024-10-07 17:23:54 +08:00 |
|