Mykola Chaban commited on
Commit
d87411a
·
1 Parent(s): 530147d

Fix trailing whitespace in docstring

Browse files
Files changed (1) hide show
  1. lightrag/operate.py +3 -3
lightrag/operate.py CHANGED
@@ -823,16 +823,16 @@ async def get_keywords_from_query(
823
  ) -> tuple[list[str], list[str]]:
824
  """
825
  Retrieves high-level and low-level keywords for RAG operations.
826
-
827
  This function checks if keywords are already provided in query parameters,
828
  and if not, extracts them from the query text using LLM.
829
-
830
  Args:
831
  query: The user's query text
832
  query_param: Query parameters that may contain pre-defined keywords
833
  global_config: Global configuration dictionary
834
  hashing_kv: Optional key-value storage for caching results
835
-
836
  Returns:
837
  A tuple containing (high_level_keywords, low_level_keywords)
838
  """
 
823
  ) -> tuple[list[str], list[str]]:
824
  """
825
  Retrieves high-level and low-level keywords for RAG operations.
826
+
827
  This function checks if keywords are already provided in query parameters,
828
  and if not, extracts them from the query text using LLM.
829
+
830
  Args:
831
  query: The user's query text
832
  query_param: Query parameters that may contain pre-defined keywords
833
  global_config: Global configuration dictionary
834
  hashing_kv: Optional key-value storage for caching results
835
+
836
  Returns:
837
  A tuple containing (high_level_keywords, low_level_keywords)
838
  """