LightRAG/lightrag
yuanxiaobin 584258078f 重构缓存处理逻辑
- 提取通用缓存处理逻辑到新函数 handle_cache 和 save_to_cache
- 使用 CacheData 类统一缓存数据结构
- 优化嵌入式缓存和常规缓存的处理流程
- 添加模式参数以支持不同查询模式的缓存策略
- 重构 get_best_cached_response 函数,提高缓存查询效率
2024-12-06 14:29:16 +08:00
..
kg Add MongoDB as KV storage 2024-12-05 13:57:43 +08:00
__init__.py Update version 2024-12-05 18:22:50 +08:00
base.py Optimization logic 2024-11-25 13:29:55 +08:00
lightrag.py feat(lightrag): 添加 查询时使用embedding缓存功能 2024-12-06 08:17:20 +08:00
llm.py 重构缓存处理逻辑 2024-12-06 14:29:16 +08:00
operate.py 重构缓存处理逻辑 2024-12-06 14:29:16 +08:00
prompt.py fix bug of example prompt 2024-12-03 22:25:50 +08:00
storage.py Add a progress bar 2024-11-25 15:04:38 +08:00
utils.py 重构缓存处理逻辑 2024-12-06 14:29:16 +08:00