diff --git a/lightrag/utils.py b/lightrag/utils.py index 4eb54571..9cb25f4c 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -2576,26 +2576,6 @@ def fix_tuple_delimiter_corruption( Returns: The corrected record with proper tuple_delimiter format - - Examples: - >>> fix_tuple_delimiter_corruption("entityname", "SEP", "<|#|>") - "entity<|#|>name" - >>> fix_tuple_delimiter_corruption("entityname", "SEP", "<|#|>") - "entity<|#|>name" - >>> fix_tuple_delimiter_corruption("entity|#|>name", "SEP", "<|#|>") - "entity<|#|>name" - Regex Sample: - <\|S\|+S\|> - <\|\\S\|> - <\|+> - <.?\|S\|.?> - <\|?S\|?> - <[^|]S\|>|<\|S[^|]> - <\|S\|(?!>) - <\|\|(?!>) - (? - <\|S\|>\| - \|\|S\|\| """ if not record or not delimiter_core or not tuple_delimiter: return record