Update a document’s metadata using filename to identify the document
filename
(str): Filename of the document to updatemetadata
(Dict[str, Any]): Metadata to updatenew_filename
(str, optional): Optional new filename to assign to the documentDocument
: Updated document metadata