zrguo commited on
Commit
ab85891
·
unverified ·
2 Parent(s): b0e728b b284243

Merge pull request #555 from ParisNeo/main

Browse files

Restore backwards compatibility for LightRAG's ainsert method

Files changed (1) hide show
  1. 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: