LightRAG/lightrag
yangdx 9ba12a4f31 refactor: remove redundant top_k checks in query routes
The top_k parameter already has a default value set in the QueryParam class (base.py), making these checks unnecessary. This change simplifies the code while maintaining the same functionality.

Changes:

Remove top_k check in query_text function
Remove top_k check in query_text_stream function
2025-02-21 18:53:43 +08:00
..
api refactor: remove redundant top_k checks in query routes 2025-02-21 18:53:43 +08:00
kg Merge remote-tracking branch 'origin/main' into refactor-api-server 2025-02-21 11:24:16 +08:00
llm Update LlamaIndex README: improve documentation and example paths 2025-02-20 10:33:15 +01:00
tools Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__init__.py updated version to 1.1.11 2025-02-20 14:32:24 +01:00
base.py Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
exceptions.py
lightrag.py Merge branch 'refactor-api-server' into clear-text-before-insert 2025-02-21 14:57:11 +08:00
llm.py
namespace.py
operate.py feat: improve debug message handling with better truncation and formatting 2025-02-21 16:28:08 +08:00
prompt.py cleaned code 2025-02-19 22:07:25 +01:00
types.py
utils.py feat: improve debug message handling with better truncation and formatting 2025-02-21 16:28:08 +08:00