- Sync
- Async
Parameters
document_id
(str): ID of the document to updatemetadata
(Dict[str, Any]): Metadata to update
Returns
Document
: Updated document metadata
Examples
- Sync
- Async
Update a document’s metadata only
document_id
(str): ID of the document to updatemetadata
(Dict[str, Any]): Metadata to updateDocument
: Updated document metadata