LightRAG/lightrag/api/routers
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
..
__init__.py split lightrag_servery.py to smaller files 2025-02-20 03:26:39 +08:00
document_routes.py Fix linting 2025-02-21 12:16:04 +08:00
graph_routes.py Fit linting 2025-02-20 04:12:21 +08:00
ollama_api.py Change Ollama API router tag to lowercase 2025-02-20 14:23:33 +08:00
query_routes.py refactor: remove redundant top_k checks in query routes 2025-02-21 18:53:43 +08:00