- Sync
- Async
Parameters
filename(str): Filename of the document to updatecontent(str): The new content to addnew_filename(str, optional): Optional new filename for the documentmetadata(Dict[str, Any], optional): Additional metadata to updaterules(List, optional): Optional list of rules to apply to the contentupdate_strategy(str, optional): Strategy for updating the document (currently only ‘add’ is supported). Defaults to ‘add’.use_colpali(bool, optional): Whether to use multi-vector embedding. If not specified, defaults to True.
Returns
Document: Updated document metadata
Examples
- Sync
- Async

