承接 drupal/ai_recipe_comment_spam_eca 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

drupal/ai_recipe_comment_spam_eca

Composer 安装命令:

composer require drupal/ai_recipe_comment_spam_eca

包简介

Deterministic ECA-based auto-unpublishing of high-scoring spam comments, on top of the AI Comment Spam Moderation recipe.

README 文档

README

What it does

AI Comment Spam Moderation scores each incoming comment for spam risk and saves a score and one-sentence reasoning. This companion recipe replaces the base recipe's LLM-based publish decision with a deterministic ECA rule that unpublishes any comment scoring 8 or higher.

Why it matters

The unpublish threshold is a simple numeric comparison, so it should be deterministic, free and instant rather than a second AI round-trip. Using ECA removes the extra provider call, makes the decision 100% reproducible, and avoids the occasional malformed-JSON responses that a boolean LLM call can produce.

How it works

When applied, the recipe:

  • applies its base recipe (AI Comment Spam Moderation),
  • switches the base recipe's LLM boolean status automator to an action worker so it no longer runs on comment save,
  • creates an ECA workflow on comment save that reads the AI-generated spam_score,
  • unpublishes any comment whose spam_score is 8 or higher.

The base recipe's scoring automator runs before the ECA workflow, so the score is always written before the threshold is evaluated.

Requirements & compatibility

How to get started

  1. Install module dependencies (including AI and AI Automators).
  2. Configure an AI provider/model and set a default for chat_with_complex_json.
  3. Apply the recipe.
  4. Post comments on an Article and verify high-scoring comments are unpublished automatically.
  5. Use /admin/content/ai-comment-spam for moderation triage.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-07-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固