Update code comments in ainsert method
Update code comments in ainsert method. The original comment was cut off in the middle, not a complete sentence, and cannot be read
This commit is contained in:
parent
010a551ae3
commit
f53f07bcf4
1 changed files with 2 additions and 0 deletions
|
|
@ -553,6 +553,7 @@ class LightRAG:
|
|||
Args:
|
||||
input: Single document string or list of document strings
|
||||
split_by_character: if split_by_character is not None, split the string by character, if chunk longer than
|
||||
chunk_token_size, it will be split again by token size.
|
||||
split_by_character_only: if split_by_character_only is True, split the string by character only, when
|
||||
split_by_character is None, this parameter is ignored.
|
||||
ids: single string of the document ID or list of unique document IDs, if not provided, MD5 hash IDs will be generated
|
||||
|
|
@ -574,6 +575,7 @@ class LightRAG:
|
|||
Args:
|
||||
input: Single document string or list of document strings
|
||||
split_by_character: if split_by_character is not None, split the string by character, if chunk longer than
|
||||
chunk_token_size, it will be split again by token size.
|
||||
split_by_character_only: if split_by_character_only is True, split the string by character only, when
|
||||
split_by_character is None, this parameter is ignored.
|
||||
ids: list of unique document IDs, if not provided, MD5 hash IDs will be generated
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue