Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kdziedzic68 committed Oct 30, 2024
1 parent d375bfb commit 29a5e55
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ def from_vector_db_entry(cls, db_entry: VectorStoreEntry) -> "Element":

def add_location_metadata(self, provider_metadata: dict) -> "Element":
"""
Add metadata retrived by provider to document metadata.
Add metadata retrived by provider to element.
Args:
provider_metadata: metadata retrived by provider or null.
Returns:
an instance of updated Element
"""
page_number = provider_metadata.get("page_number")
coordinates = provider_metadata.get("coordinates")
Expand Down

0 comments on commit 29a5e55

Please sign in to comment.