This commit is contained in:
Timothy Jaeryang Baek
2025-09-01 14:27:20 +04:00
parent 609a6a3721
commit 4f2e426fc7

View File

@@ -499,9 +499,7 @@ def get_sources_from_items(
"documents": [ "documents": [
[item.get("file", {}).get("data", {}).get("content")] [item.get("file", {}).get("data", {}).get("content")]
], ],
"metadatas": [ "metadatas": [[item.get("file", {}).get("meta", {})]],
[item.get("file", {}).get("data", {}).get("meta", {})]
],
} }
else: else:
# Fallback to item content # Fallback to item content