Skip to main content

DogwhistleResult

Represents the result of dogwhistle detection analysis.

import type { DogwhistleResult, DogwhistleDetails } from "@respectify/client";

Fields

detection

Dogwhistle detection analysis

result.detection: DogwhistleDetection

details

Optional detailed information about detected dogwhistles

result.details: DogwhistleDetails | null

Sub-types

DogwhistleDetection

Represents the detection aspect of dogwhistle analysis.

FieldTypeDescription
reasoningstringExplanation of the dogwhistle analysis
dogwhistles_detectedbooleanWhether dogwhistles were detected
confidencenumber // 0.0-1.0Confidence level (0.0=low, 1.0=high)

DogwhistleDetails

Represents detailed information about detected dogwhistles.

FieldTypeDescription
dogwhistle_termsstring[]Specific dogwhistle terms detected
categoriesstring[]Categories of dogwhistles detected
subtlety_levelnumber // 0.0-1.0Subtlety level (0.0=obvious, 1.0=very subtle)
harm_potentialnumber // 0.0-1.0Potential harm level (0.0=low, 1.0=high)