Skip to main content

SpamDetectionResult

Represents the result of spam detection analysis.

import type { SpamDetectionResult } from "@respectify/client";

Fields

reasoning

Explanation of the spam analysis

result.reasoning: string

is_spam

Whether the comment is detected as spam

result.is_spam: boolean

confidence

Confidence level (0.0=low, 1.0=high)

Constraints: ge=0.0, le=1.0

result.confidence: number // 0.0-1.0