LightRAG/lightrag/kg
yangdx 0463963520 fix: include all query parameters in LLM cache hash key generation
- Add missing query parameters (top_k, enable_rerank, max_tokens, etc.) to cache key generation in kg_query, naive_query, and extract_keywords_only functions
- Add queryparam field to CacheData structure and PostgreSQL storage for debugging
- Update PostgreSQL schema with automatic migration for queryparam JSONB column
- Prevent incorrect cache hits between queries with different parameters

Fixes issue where different query parameters incorrectly shared the same cached results.
2025-08-05 18:03:10 +08:00
..
deprecated Remove deprecated storage type 2025-07-05 13:11:32 +08:00
__init__.py Merge branch 'main' into add-Memgraph-graph-db 2025-07-04 23:53:07 +08:00
faiss_impl.py Reorder query settings in web UI 2025-07-15 18:06:00 +08:00
json_doc_status_impl.py Fix: workspace isolation problem for json KV storage 2025-08-02 11:30:19 +08:00
json_kv_impl.py Fix: workspace isolation problem for json KV storage 2025-08-02 11:30:19 +08:00
memgraph_impl.py feat: implement get_all_nodes and get_all_edges methods for graph storage backends 2025-08-03 11:02:37 +08:00
milvus_impl.py refactor: extract file path length limit to shared constant 2025-07-26 10:45:03 +08:00
mongo_impl.py feat: implement get_all_nodes and get_all_edges methods for graph storage backends 2025-08-03 11:02:37 +08:00
nano_vector_db_impl.py feat: add default storage dependencies and optimize imports 2025-07-24 16:14:26 +08:00
neo4j_impl.py feat: implement get_all_nodes and get_all_edges methods for graph storage backends 2025-08-03 11:02:37 +08:00
networkx_impl.py feat(performance): Optimize document deletion with entity/relation index 2025-08-03 09:19:02 +08:00
postgres_impl.py fix: include all query parameters in LLM cache hash key generation 2025-08-05 18:03:10 +08:00
qdrant_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
redis_impl.py fix: resolve _sort_key error in Redis get_docs_paginated function 2025-07-31 02:16:56 +08:00
shared_storage.py Update QueryParam 2025-07-15 14:21:58 +08:00