yangdx
commited on
Commit
·
43cc36d
1
Parent(s):
3664fb0
Fix linting
Browse files- lightrag/operate.py +1 -1
lightrag/operate.py
CHANGED
@@ -911,7 +911,7 @@ async def mix_kg_vector_query(
|
|
911 |
if c["created_at"]:
|
912 |
chunk_text = f"[Created at: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(c['created_at']))}]\n{chunk_text}"
|
913 |
formatted_chunks.append(chunk_text)
|
914 |
-
|
915 |
logger.info(f"Truncate {len(chunks)} to {len(formatted_chunks)} chunks")
|
916 |
return "\n--New Chunk--\n".join(formatted_chunks)
|
917 |
except Exception as e:
|
|
|
911 |
if c["created_at"]:
|
912 |
chunk_text = f"[Created at: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(c['created_at']))}]\n{chunk_text}"
|
913 |
formatted_chunks.append(chunk_text)
|
914 |
+
|
915 |
logger.info(f"Truncate {len(chunks)} to {len(formatted_chunks)} chunks")
|
916 |
return "\n--New Chunk--\n".join(formatted_chunks)
|
917 |
except Exception as e:
|