Merge pull request #1304 from FeHuynhVI/main
Browse filesFixes a bug where file_path was not present dictionary
- 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 |
|