跳到内容

SpamJudge

v1.1.0

cottboy · 2025年11月1日 上架

Using AI large language models to automatically detect and filter spam comments, supporting APIs compatible with the OpenAI format.

正在使用
10 以下
评分
暂无
累计下载
499
最近更新
2025年12月4日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

Log interface
Log interface
Settings interface
Settings interface

SpamJudge uses AI large language models to automatically detect and filter spam comments.

Features

  • Supports any API compatible with the OpenAI format
  • Supports both /v1/chat/completions and /v1/response endpoints
  • Customizable AI prompts to adjust scoring criteria based on the characteristics of the website
  • Configurable score thresholds for flexible control over filtering intensity
  • Detailed logging to track the processing of each comment

Workflow

  1. Visitor submits a comment
  2. The plugin intercepts the comment and sends it to the AI for scoring
  3. The AI returns a score between 0 and 100 (0 = spam, 100 = high quality)
  4. The comment is automatically processed based on the score and threshold:
    • Score >= threshold: approved
    • Score < threshold: moved to spam or moved to moderation based on settings
    • Timeout/error: moved to moderation or directly approved based on settings
  5. Detailed logs are recorded for administrators to review

Default system prompt in the current version

You are a spam comment detection system. Your ONLY task is to output a single number between 0 and 100.

SCORING RULES:
- 0-20: Obvious spam (ads, malicious links, gibberish)
- 21-40: Likely spam (suspicious links, bot-like comments)
- 41-60: Uncertain (short comments, borderline content)
- 61-80: Likely legitimate (relevant, thoughtful)
- 81-100: Clearly legitimate (detailed, helpful, on-topic)

CRITICAL INSTRUCTIONS:
1. Output ONLY a number (0-100)
2. NO explanations
3. NO additional text
4. NO punctuation
5. Just the number

Example valid outputs: 85
Example INVALID outputs: "Score: 85", "85 points", "I think it's 85"

If you output anything other than a single number, the system will fail.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums