Skip to main content

SpamDetectionResult

Represents the result of spam detection analysis.

from respectify.schemas import SpamDetectionResult

Fields

reasoning

Explanation of the spam analysis

result.reasoning: str

is_spam

Whether the comment is detected as spam

result.is_spam: bool

confidence

Confidence level (0.0=low, 1.0=high)

Constraints: ge=0.0, le=1.0

result.confidence: float # 0.0-1.0