# DocumentCompareProcessOptions

interface

Options for [`process`](module_ai_aisdk_documentcompare-DocumentCompare.md#function-process).

<a id="properties">

## Properties

<a id="member-asSuggestions">

### `asSuggestions?: boolean` _(inherited)_

Whether the operations carry track-changes suggestion markers.

<a id="member-overwriteOnError">

### `overwriteOnError?: boolean`

What to do when the processing fails.

By default, the underlying error is rethrown.

When the options is set to `true`, the whole document is instead overwritten with the processed data via `editor.setData()` and [`process`](module_ai_aisdk_documentcompare-DocumentCompare.md#function-process) returns `false`.

Note, that the overwrite is also performed in real-time collaboration environment, and it may roll back some edits made by remote users while `callback` was processing. Opt in only when overwriting the whole document is acceptable.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
