Skip to main content

Parameters

  • document_id (str): ID of the document to update
  • content (str): The new content to add
  • filename (str, optional): Optional new filename for the document
  • metadata (Dict[str, Any], optional): Additional metadata to update
  • update_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