Skip to main content

DogwhistleResult

Represents the result of dogwhistle detection analysis.

from respectify.schemas import DogwhistleDetails, DogwhistleResult

Fields

detection

Dogwhistle detection analysis

result.detection: DogwhistleDetection

details

Optional detailed information about detected dogwhistles

result.details: Optional[DogwhistleDetails]

Sub-types

DogwhistleDetection

Represents the detection aspect of dogwhistle analysis.

FieldTypeDescription
reasoningstrExplanation of the dogwhistle analysis
dogwhistles_detectedboolWhether dogwhistles were detected
confidencefloat # 0.0-1.0Confidence level (0.0=low, 1.0=high)

DogwhistleDetails

Represents detailed information about detected dogwhistles.

FieldTypeDescription
dogwhistle_termsList[str]Specific dogwhistle terms detected
categoriesList[str]Categories of dogwhistles detected
subtlety_levelfloat # 0.0-1.0Subtlety level (0.0=obvious, 1.0=very subtle)
harm_potentialfloat # 0.0-1.0Potential harm level (0.0=low, 1.0=high)