fixed retro compatibility with ainsert by making split_by_character get a None default value
This commit is contained in:
parent
9e7784ab8a
commit
65c1450c66
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue