Properties that control the moderation on the text.

interface TextModeration {
    enabled?: boolean;
    threshold?: number;
    [propName: string]: any;
}

Indexable

[propName: string]: any

TextModeration accepts additional properties.

Properties

Properties

enabled?: boolean

Should this moderation be enabled on the text.

The default value is true which means that if the parent object exists but the enabled field does not exist then this is considered to be enabled.

threshold?: number

The threshold probability that this is a real match.