Skip to content

EnrollmentConfig

Source code in docs_src/capo_voice_id/types/enrollment_config.py
class EnrollmentConfig(TypedDict, closed=True):
    existing_enrollment_action: NotRequired[
        "capo_voice_id.types.existing_enrollment_action.ExistingEnrollmentAction"
    ]
    """<p> The action to take when the specified speaker is already enrolled in the specified domain. The default value is <code>SKIP</code>, which skips the enrollment for the existing speaker. Setting the value to <code>OVERWRITE</code> replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.</p>"""
    fraud_detection_config: NotRequired[
        "capo_voice_id.types.enrollment_job_fraud_detection_config.EnrollmentJobFraudDetectionConfig"
    ]
    """<p>The fraud detection configuration to use for the speaker enrollment job.</p>"""

existing_enrollment_action instance-attribute

existing_enrollment_action: NotRequired[ExistingEnrollmentAction]

The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.

fraud_detection_config instance-attribute

fraud_detection_config: NotRequired[EnrollmentJobFraudDetectionConfig]

The fraud detection configuration to use for the speaker enrollment job.