Score artwork comments with local signatures plus Together AI, and optionally require Turnstile before posting.
16 lines
363 B
PHP
16 lines
363 B
PHP
<?php
|
|
|
|
namespace App\Data\Moderation;
|
|
|
|
final class CommentSpamClassification
|
|
{
|
|
public function __construct(
|
|
public readonly bool $spam,
|
|
public readonly float $confidence,
|
|
public readonly string $reason,
|
|
public readonly string $provider,
|
|
public readonly string $model,
|
|
public readonly int $latencyMs,
|
|
) {}
|
|
}
|