# Removing Duplicates from a PDF

### Removing Duplicates with a Confidence Threshold

To remove duplicates from a PDF with a specified confidence threshold, use the following syntax:

```kog
get the pdf
the department's duplicate confidence threshold is 0.95
remove duplicates from the pdf
```

### Removing Duplicates without a Confidence Threshold

To remove duplicates from a PDF without specifying a confidence threshold, use the following syntax:

```kog
get the pdf
remove duplicates from the pdf
```
