Skip to content

AutoMerging

Source code in docs_src/capo_customer_profiles/types/auto_merging.py
class AutoMerging(TypedDict, closed=True):
    enabled: "capo_customer_profiles.types.optional_boolean.optionalBoolean"
    """<p>The flag that enables the auto-merging of duplicate profiles.</p>"""
    consolidation: NotRequired[
        "capo_customer_profiles.types.consolidation.Consolidation"
    ]
    """<p>A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.</p>"""
    conflict_resolution: NotRequired[
        "capo_customer_profiles.types.conflict_resolution.ConflictResolution"
    ]
    """<p>How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same <code>FirstName</code> and <code>LastName</code> (and that is the matching criteria), which <code>EmailAddress</code> should be used? </p>"""
    min_allowed_confidence_score_for_merging: NotRequired[
        "capo_customer_profiles.types.double0_to1.Double0To1"
    ]
    """<p>A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles. </p>"""

conflict_resolution instance-attribute

conflict_resolution: NotRequired[ConflictResolution]

How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName and LastName (and that is the matching criteria), which EmailAddress should be used?

consolidation instance-attribute

consolidation: NotRequired[Consolidation]

A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.

enabled instance-attribute

enabled: optionalBoolean

The flag that enables the auto-merging of duplicate profiles.

min_allowed_confidence_score_for_merging instance-attribute

min_allowed_confidence_score_for_merging: NotRequired[Double0To1]

A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.