LightRAG/examples
magicyuan876 d48c6e4588 feat(lightrag): 添加 查询时使用embedding缓存功能
- 在 LightRAG 类中添加 embedding_cache_config配置项
- 实现基于 embedding 相似度的缓存查询和存储
- 添加量化和反量化函数,用于压缩 embedding 数据
- 新增示例演示 embedding 缓存的使用
2024-12-06 08:17:20 +08:00
..
batch_eval.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
generate_query.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
graph_visual_with_html.py Update graph_visual_with_html.py 2024-10-26 14:04:11 +08:00
graph_visual_with_neo4j.py Manually reformatted files 2024-10-25 13:32:25 +05:30
insert_custom_kg.py update insert custom kg 2024-12-04 19:44:04 +08:00
lightrag_api_openai_compatible_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
lightrag_api_oracle_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
lightrag_azure_openai_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
lightrag_bedrock_demo.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
lightrag_hf_demo.py set encoding as utf-8 when reading ./book.txt in examples 2024-10-22 16:01:40 +08:00
lightrag_lmdeploy_demo.py Fix JSON parsing error 2024-12-05 18:26:55 +08:00
lightrag_nvidia_demo.py update insert custom kg 2024-12-04 19:44:04 +08:00
lightrag_ollama_demo.py Fix lint issue 2024-10-28 17:05:38 +02:00
lightrag_ollama_neo4j_milvus_mongo_demo.py Add MongoDB as KV storage 2024-12-05 13:57:43 +08:00
lightrag_openai_compatible_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
lightrag_openai_compatible_demo_embedding_cache.py feat(lightrag): 添加 查询时使用embedding缓存功能 2024-12-06 08:17:20 +08:00
lightrag_openai_demo.py set encoding as utf-8 when reading ./book.txt in examples 2024-10-22 16:01:40 +08:00
lightrag_oracle_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
lightrag_siliconcloud_demo.py Fix: unexpected keyword argument error. 2024-12-05 14:11:43 +08:00
vram_management_demo.py Manually reformatted files 2024-10-25 13:32:25 +05:30