A list of the categories along with their scores as predicted by model.

interface CategoryScores {
    harassment: number;
    harassment/threatening: number;
    hate: number;
    hate/threatening: number;
    self-harm: number;
    self-harm/instructions: number;
    self-harm/intent: number;
    sexual: number;
    sexual/minors: number;
    violence: number;
    violence/graphic: number;
}

Properties

harassment: number

The score for the category 'harassment'.

harassment/threatening: number

The score for the category 'harassment/threatening'.

hate: number

The score for the category 'hate'.

hate/threatening: number

The score for the category 'hate/threatening'.

self-harm: number

The score for the category 'self-harm'.

self-harm/instructions: number

The score for the category 'self-harm/instructions'.

self-harm/intent: number

The score for the category 'self-harm/intent'.

sexual: number

The score for the category 'sexual'.

sexual/minors: number

The score for the category 'sexual/minors'.

violence: number

The score for the category 'violence'.

violence/graphic: number

The score for the category 'violence/graphic'.