Add commments for deprecated functions
This commit is contained in:
parent
4a03218450
commit
3025094c62
1 changed files with 2 additions and 0 deletions
|
|
@ -1479,6 +1479,7 @@ class LightRAG:
|
||||||
await self._query_done()
|
await self._query_done()
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
# TODO: Deprecated, use user_prompt in QueryParam instead
|
||||||
def query_with_separate_keyword_extraction(
|
def query_with_separate_keyword_extraction(
|
||||||
self, query: str, prompt: str, param: QueryParam = QueryParam()
|
self, query: str, prompt: str, param: QueryParam = QueryParam()
|
||||||
):
|
):
|
||||||
|
|
@ -1500,6 +1501,7 @@ class LightRAG:
|
||||||
self.aquery_with_separate_keyword_extraction(query, prompt, param)
|
self.aquery_with_separate_keyword_extraction(query, prompt, param)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# TODO: Deprecated, use user_prompt in QueryParam instead
|
||||||
async def aquery_with_separate_keyword_extraction(
|
async def aquery_with_separate_keyword_extraction(
|
||||||
self, query: str, prompt: str, param: QueryParam = QueryParam()
|
self, query: str, prompt: str, param: QueryParam = QueryParam()
|
||||||
) -> str | AsyncIterator[str]:
|
) -> str | AsyncIterator[str]:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue