Skip to content

Commit

Permalink
faster key lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Renzo-vS committed Nov 11, 2024
1 parent 581774a commit 4a37876
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ def _result_to_document(result: Dict) -> Document:
else:
fields_id = {}
return Document(
page_content=result.pop(FIELDS_CONTENT),
page_content=result[FIELDS_CONTENT],
metadata={
**fields_id,
**fields_metadata,
Expand Down

0 comments on commit 4a37876

Please sign in to comment.