Merge pull request #555 from ParisNeo/main
Restore backwards compatibility for LightRAG's ainsert method
This commit is contained in:
@@ -320,7 +320,7 @@ class LightRAG:
|
|||||||
self.ainsert(string_or_strings, split_by_character)
|
self.ainsert(string_or_strings, split_by_character)
|
||||||
)
|
)
|
||||||
|
|
||||||
async def ainsert(self, string_or_strings, split_by_character):
|
async def ainsert(self, string_or_strings, split_by_character=None):
|
||||||
"""Insert documents with checkpoint support
|
"""Insert documents with checkpoint support
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Reference in New Issue
Block a user