Merge pull request #1 from FeHuynhVI/FeHuynhVI-fix-file-path

Fixes a bug where file_path was not present in the dictionary
This commit is contained in:
FeHuynhVI
2025-04-08 01:24:03 +07:00
committed by GitHub

View File

@@ -1031,6 +1031,7 @@ async def mix_kg_vector_query(
chunk_with_time = {
"content": chunk["content"],
"created_at": result.get("created_at", None),
"file_path": result.get("file_path", None),
}
valid_chunks.append(chunk_with_time)