DocumentCompareComputePatchOptions
interface
Describes how a comparison is computed.
Properties
module:ai/toolkit/documentcompare~DocumentCompareComputePatchOptions#aiSourceWhich AI feature produced the processed data. You can use one of available values or pass a custom string. When set, the operations applying the patch will be stamped as made-by-AI. This information is passed to suggestions and revisions meta data. Such suggestions and revisions will be visually marked as made-by-AI accordingly to these features config (
config.trackChanges.showAISourceandconfig.revisionHistory.showAISource).Do not set for changes coming from non-AI sources.
asSuggestions?: booleanmodule:ai/toolkit/documentcompare~DocumentCompareComputePatchOptions#asSuggestionsWhether the comparison marks removed content for track changes instead of removing it.