Interface ToxicityCheck

ToxicityCheck represents an object that contains a check choice.

interface ToxicityCheck {
    index: number;
    score: number;
}

Properties

Properties

index: number

index represents the index position in the collection for this checks.

score: number

score represents the score for the provided text.