workspace working

This commit is contained in:
2026-01-12 22:31:11 +08:00
parent 2738a822d1
commit 370fe6368a
149 changed files with 4648 additions and 660 deletions

9
find_func.py Normal file
View File

@@ -0,0 +1,9 @@
import sys
with open('LightRAG-main/lightrag/utils.py', 'r', encoding='utf-8') as f:
lines = f.readlines()
for i, line in enumerate(lines):
if '_convert_to_user_format' in line and 'def' in line:
print(i, line.strip())
# print next few lines
for j in range(i, min(i+10, len(lines))):
print(j, lines[j].rstrip())