mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-10-01 11:06:48 +00:00
Fix linting
This commit is contained in:
parent
2ac66c3531
commit
6174554c58
@ -1006,7 +1006,7 @@ def get_content_summary(content: str, max_length: int = 250) -> str:
|
||||
return content[:max_length] + "..."
|
||||
|
||||
|
||||
def normalize_extracted_info(name: str, is_entity = False) -> str:
|
||||
def normalize_extracted_info(name: str, is_entity=False) -> str:
|
||||
"""Normalize entity/relation names and description with the following rules:
|
||||
1. Remove spaces between Chinese characters
|
||||
2. Remove spaces between Chinese characters and English letters/numbers
|
||||
|
Loading…
x
Reference in New Issue
Block a user