# waline-openai-moderation **Repository Path**: chenxv399/waline-openai-moderation ## Basic Information - **Project Name**: waline-openai-moderation - **Description**: 一个 waline 插件,为 waline 增加基于 OpenAI Moderation 接口的 AI 内容审核。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-16 - **Last Updated**: 2025-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # waline-openai-moderation 一个 waline 插件,为 waline 增加基于 OpenAI Moderation 接口的 AI 内容审核。 ## 如何安装 ``` npm install waline-openai-moderation ``` ## 如何使用 编辑服务端Waline文件 ** index.js ** ``` const Waline = require('@waline/vercel'); const OpenAIModeration = require('waline-openai-moderation'); module.exports = Waline({ plugins: [ OpenAIModeration({ apiKey: 'xxx', endpoint: 'xxx', model: 'xxx', }) ] }); ``` ** package.json ** 把 "waline-openai-moderation": "latest" 添加到 package.json 文件的依赖项中。