AI Comment Moderation
Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.
Extension
AI Comment Moderation
Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.
Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.
Installation
Installez le paquet depuis npm :
npm install emdash-plugin-ai-comment-moderation
Enregistrez le plugin dans votre configuration Astro :
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import aiCommentModeration from "emdash-plugin-ai-comment-moderation";
export default defineConfig({
integrations: [
emdash({
sandboxed: [aiCommentModeration],
sandboxRunner: "@emdash-cms/sandbox-workerd/sandbox",
}),
],
});
Cet exemple utilise le runner workerd pour Node.js : installez @emdash-cms/sandbox-workerd et workerd dans le site, ou conservez le runner de bac à sable Cloudflare existant. Un runner de bac à sable est requis.
La version 2.0.0 nécessite EmDash ^1.4.0 et ne prend plus en charge EmDash 0.9.
Détails
- Dernière version: 2.1.0
- Licence: MIT
- Éditeur: jimiryquai
- Prérequis: EmDash
^1.4.0 - Dépôt source: https://github.com/jimiryquai/emdash-plugin-ai-comment-moderation
- Paquet npm: emdash-plugin-ai-comment-moderation