[Mod] AI Assistant

Started by Deaks, Dec 02, 2026, 09:16 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Deaks

AI Assistant 1.2.2 for SMF 2.1
by BoredSkull · ISC licence

Connect your forum to the AI system you choose and put it to work for members and moderators. You decide which AI systems are used, who can use them, how much, and where.

Choose your AI system
  • OpenAI (ChatGPT), Anthropic (Claude), Google Gemini, GroqCloud, Mistral AI and OpenRouter
  • Any OpenAI-compatible server, including self-hosted Ollama or LM Studio, where nothing leaves your server
  • A default AI system, a different one per task if you like, and an optional picker for members
  • "Fetch models" and "Test connection" buttons; API keys are stored encrypted (AES-256-GCM)

Writing help in the editor
Proofread, improve, shorten, expand, change tone, translate, suggest topic titles, draft a reply from the recent discussion, or give your own instruction. Results appear in an editable preview first, then Replace, Insert, Copy or Discard. BBCode is kept.

Topic summaries
"Summarise this topic" on longer topics. Each summary is checked against the exact text it was made from. If the topic changes, a new summary is made, so an outdated one is never shown.

For moderators
  • An "AI review" button on posts: verdict, categories, confidence and a reason, checked against your own community rules
  • Optional auto-screening of new members and guests. Flagged posts go to SMF's approval queue. If the AI is down, slow or unclear, posts go through as normal.

Cost and privacy controls
Hourly per-member and daily forum-wide limits, a separate screening limit, length and timeout limits, excluded boards, PMs off by default, a usage log with tokens per AI system, and every prompt editable.

What's new in 1.2.2
  • Separate screening limit (100 per rolling 24 hours by default) with its own 5–10 second timeout
  • More reliable AI verdicts; invalid answers are logged and never block posting
  • Summaries are checked against the topic text before they are shown and again after they are made
  • GroqCloud and native Google Gemini support
  • Less hidden "thinking" for GPT-5 mini and Gemini 2.5 Flash, which keeps replies faster and cheaper
  • Security fixes: editor requests are signed by the forum, members can't break out of the screening prompt, and PHP 8 errors no longer stop a post
  • Upgrade from 1.2.1 keeps all settings, permissions, keys and logs

Requirements
SMF 2.1.x, PHP 7.4+ with cURL and OpenSSL. Auto-screening needs Post Moderation switched on in Core Features.

Please note
Text sent to the assistant is processed by the AI service you choose. Mention this in your privacy policy, or use a self-hosted model.

Feedback and bug reports welcome in this topic.
  • 0 reactions

    Members who reacted