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
commit 4b45aa9321
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)