Merge pull request #555 from ParisNeo/main
Browse filesRestore backwards compatibility for LightRAG's ainsert method
- lightrag/lightrag.py +1 -1
lightrag/lightrag.py
CHANGED
@@ -320,7 +320,7 @@ class LightRAG:
|
|
320 |
self.ainsert(string_or_strings, split_by_character)
|
321 |
)
|
322 |
|
323 |
-
async def ainsert(self, string_or_strings, split_by_character):
|
324 |
"""Insert documents with checkpoint support
|
325 |
|
326 |
Args:
|
|
|
320 |
self.ainsert(string_or_strings, split_by_character)
|
321 |
)
|
322 |
|
323 |
+
async def ainsert(self, string_or_strings, split_by_character=None):
|
324 |
"""Insert documents with checkpoint support
|
325 |
|
326 |
Args:
|