From 3025094c629718c42f8eaa840d970cb8059fae9d Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 8 May 2025 09:36:57 +0800 Subject: [PATCH] Add commments for deprecated functions --- lightrag/lightrag.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index 26a90539..25368a78 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -1479,6 +1479,7 @@ class LightRAG: await self._query_done() return response + # TODO: Deprecated, use user_prompt in QueryParam instead def query_with_separate_keyword_extraction( self, query: str, prompt: str, param: QueryParam = QueryParam() ): @@ -1500,6 +1501,7 @@ class LightRAG: self.aquery_with_separate_keyword_extraction(query, prompt, param) ) + # TODO: Deprecated, use user_prompt in QueryParam instead async def aquery_with_separate_keyword_extraction( self, query: str, prompt: str, param: QueryParam = QueryParam() ) -> str | AsyncIterator[str]: