zrguo commited on
Commit
18f6e39
·
unverified ·
2 Parent(s): 23ed632 ebd3232

Merge pull request #1304 from FeHuynhVI/main

Browse files

Fixes a bug where file_path was not present dictionary

Files changed (1) hide show
  1. lightrag/operate.py +1 -0
lightrag/operate.py CHANGED
@@ -1058,6 +1058,7 @@ async def mix_kg_vector_query(
1058
  chunk_with_time = {
1059
  "content": chunk["content"],
1060
  "created_at": result.get("created_at", None),
 
1061
  }
1062
  valid_chunks.append(chunk_with_time)
1063
 
 
1058
  chunk_with_time = {
1059
  "content": chunk["content"],
1060
  "created_at": result.get("created_at", None),
1061
+ "file_path": result.get("file_path", None),
1062
  }
1063
  valid_chunks.append(chunk_with_time)
1064