Duplicates Detection

Configure the Duplicates Detection extension with JSON-based rules that define matching logic, scope (queue, workspace, or organization), and actions to take when a duplicate is identified.

Installation

Note:

We're still working on this part and would love to hear your thoughts! Feel free to share your feedback or submit a pull request. Thank you!

Tracking issue: https://github.com/rossumai/university/issues/404

Basic usage

Note:

We're still working on this part and would love to hear your thoughts! Feel free to share your feedback or submit a pull request. Thank you!

Tracking issue: https://github.com/rossumai/university/issues/404

Available configuration options

Note:

We're still working on this part and would love to hear your thoughts! Feel free to share your feedback or submit a pull request. Thank you!

Tracking issue: https://github.com/rossumai/university/issues/404

{
 "configurations": [
 {
 "logic": [
 {
 "rules": [
 {
 "id": 1,

 // One of: "field", "filename", "relation"
 "attribute": "field",

 // Datapoint schema ID
 "field_schema_id": "document_id"
 }
 // …
 ],
 "scope": {
 // One of: "queue", "workspace", "organization"
 "object": "queue",
 "statuses": [
 "failed_import",
 "split",
 "to_review",
 "in_workflow",
 "confirmed",
 "rejected",
 "exporting",
 "exported",
 "failed_export",
 "postponed",
 "deleted"
 ]
 },
 "actions": [
 {
 "type": "fill_field",
 "field_to_fill": "is_rossum_duplicate",
 "value_to_fill": "true"
 }
 ],

 // Defines how to combine rules. You can specify a list of rule IDs or use logical "and"
 // operations between rule IDs. Each list element acts as a logical "or" operation.
 "matching_flow": ["1and2", "3"]
 }
 ],
 "trigger_events": ["annotation_content"],
 "trigger_actions": ["initialize", "started", "user_update", "updated"]
 }
 ]
}
Note:

Annotation cannot be edited when it’s in reviewing state, so be careful which actions you combine with which statuses.