# AI powered Spam detection

**URL:** https://meta.discourse.org/t/ai-powered-spam-detection/343543
**Category:** Announcements
**Tags:** ai, spam
**Created:** [December 20, 2024, 4:56am UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543 "2024-12-20T04:56:23Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 20, 2024, 4:56am UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/1 "2024-12-20T04:56:23Z")

</div>

I am happy to announce a new spam detection module in Discourse AI 🎊

 ![A screenshot of a Discourse Settings menu related to AI, showing options for spam handling and a summary of posts scanned and spam detected over a 7-day period. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/0/2/7/0272534a54ddc3ec09a93c4ba443e7125ef3ccbc.png)

Over the past few months, we have sadly noticed that Akismet’s performance has been quite uneven.

AI-based spam detection allows you to better control how spam scanning works in your community.

We have seen very good results on a few forums now. Please share your experience here.

For those self-hosting or generally looking for a “free” way of using these tools, have a look at [OpenRouter](https://meta.discourse.org/t/openrouter-support-for-discourse-ai/341531). There are quite a few free LLMs out there that can do a reasonable job scanning for spam.

Read all about it at:

> [@Discourse AI - Spam detection](https://meta.discourse.org/t/configuring-and-managing-ai-powered-spam-detection-in-discourse/343541):
>
> bookmark This guide explains how to configure and use Discourse AI’s spam detection feature, including the setup process, scanning criteria, classification logic, customizations, and contrasts with AI triage. person_raising_hand Required user level: Administrator megaphone This is now default turned on for [Starter and Pro customers](https://meta.discourse.org/t/discourse-ai-spam-detection-replaces-akismet-plugin/354602), as well as our legacy Basic, Open Source, Creator, and Business customers. Discourse AI provides an efficient spam detection feature that identifies and…

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 22, 2024, 10:52pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/2 "2024-12-22T22:52:59Z")

</div>

Reporting back from results on meta over the weekend:

@Falco amended our “custom instruction” here to:

> New users posting about crypto and linking to ANY site without adding important information to the conversation are spammers.
> 
> Treat wildly off-topic posts as spam. As you are analyzing posts from what is primarily a support forum for Discourse Forum Software, if a topic isn’t about Discourse and related subject like other forum software, online communities, computer science and software development and doesn’t have a clear link to our main subject it is probably spam. For example, a new topic explaining details about a new car, a video game or any completely unrelated subject to Discourse, like vaccines, geo-politics or beach vacations are spam. Even technical topics, about subjects not related to Discourse are spam.

We have had **zero** missed spam over the past 2 days, we did catch:

 ![The image is a screenshot of几条有关“CC信用贷款APP客服热线号码”的重复评论，被标记为“已批准”且被报告为垃圾信息。 (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/3/5/7/357cb5447462362927232d40a63df5b0dfe5253f.png)

 ![The image shows a discussion thread with one post reporting another as spam and the other discussing ways to boost community engagement with top posts. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/5/b/d5b52878ff54f6c5f508dbe003901c854900738d.png)

 ![Two identical threads discussing "This is a new one of my life is not a new one of my life" are shown with spam flags and replies from "DumbedOai". (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/4/6/f/46f252e9884f1d6f0f593cccccad3431a99667a1.png)

 ![Two screenshots depict discussions from a forum about customer care assistance for a Navi loan and seeking information about the best Institute for pursuing ACCA in India, both of which are flagged as spam by Discourse AI and marked as spam. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/f/8/2/f821e7fc4eaccdbad7a5b1da40a9ce15f7708927.png)

 ![Two flagged posts from a forum, one asking about returning incorrect charges and the other asking where Embassy One is located, both marked as spam. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/f/6/cf6aff3f979c5810949e3a4769fe9a5da9af07fa.png)

* * *

We have seen so much slip through Akismet in the past few months, this new system is proving very effective.

We have **disabled** Akismet on meta.

---

<div class="post-metadata">

### Author: ![anurag](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anurag/32/162173_2.png) [@anurag](https://meta.discourse.org/u/anurag)
#### Post date: [December 29, 2024, 6:50pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/5 "2024-12-29T18:50:42Z")

</div>

I can’t enable this on a hosted Business account because even though the default LLMs included in the hosted version show up as ‘Configured’, they’re not available to select on the ‘Spam’ tab:

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/4/9/f4925580df5240d8883ee55dd587693397ae8a2d.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 29, 2024, 9:47pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/6 "2024-12-29T21:47:47Z")

</div>

So sorry Anurag,

@awesomerobot and team working on improving clarity around the “seeded LLMs”.

We have been rolling out experimental features and “unlocking” the ability to use our internal LLMs when you opt-in for an experimental feature via the “What’s new” feed in admin.

I completely hear you though that this is confusing

1. It should be clear that - LLM is only available for X,Y,Z features on the LLMs page.
2. We should invite you to “opt in” to an experiment direct from the LLMs page

If you head to your What’s new feed (as a CDCK hosted customer) you will see:

 ![The image advertises an AI-based spam detector tool developed in December 2024 that can be set up in one click, allowing users to detect and flagspam without additional cost. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/e/3/6/e36625f7f15f6b6667c0b4342ce6df4a6e006403.png)

Once you click that it will “unlock” the Small LLM for use with the anti-spam feature.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 29, 2024, 10:04pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/7 "2024-12-29T22:04:39Z")

</div>

> [@sam](#):
>
> Once you click that it will “unlock” the Small LLM for use with the anti-spam feature.

At least for me, the “quick enable” feature for spam detection works quite confusingly. After a reload, it always appears disabled, regardless of whether the feature is actually enabled or disabled. I need to check the staff action logs to find out. The toggle always says “feature enabled” after a reload, even when it was already enabled and will actually be disabled.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 29, 2024, 11:16pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/8 "2024-12-29T23:16:36Z")

</div>

Thanks for reporting! We will have a look at this and report back.

---

<div class="post-metadata">

### Author: ![Saif](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saif/32/318253_2.png) [@Saif](https://meta.discourse.org/u/Saif)
#### Post date: [December 30, 2024, 6:26pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/11 "2024-12-30T18:26:51Z")

</div>

@Moin we’ve identified the issue, it was related to site setting naming. We have fixed it and are now deploying it for all sites soon

For now, If you go to `What's New` and click Check for updates and then go through the process, it should be working properly

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [December 31, 2024, 11:15am UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/12 "2024-12-31T11:15:09Z")

</div>

I must say, this spam detection is quite efficient! I tested it on my forum with a test user and it hid the post almost immediately.  
Thanks, Discourse Team!

---

<div class="post-metadata">

### Author: ![per1234](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per1234/32/569645_2.png) [@per1234](https://meta.discourse.org/u/per1234)
#### Post date: [January 7, 2025, 11:21pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/14 "2025-01-07T23:21:54Z")

</div>

> [@anurag](#):
>
> even though the default LLMs included in the hosted version show up as ‘Configured’, they’re not available to select on the ‘Spam’ tab:

I also ran into this problem and couldn’t find a solution by searching for the “No LLMs available” key phrase, since it was previously only present in a screenshot, not in text form.

So I’m adding this reply to allow others who suffer from the same confusion to more easily find the solution provided here:

> [@sam](#):
>
> If you head to your What’s new feed (as a CDCK hosted customer) you will see:
> 
> ![The image advertises an AI-based spam detector tool developed in December 2024 that can be set up in one click, allowing users to detect and flagspam without additional cost. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/e/3/6/e36625f7f15f6b6667c0b4342ce6df4a6e006403.png)
> 
> Once you click that it will “unlock” the Small LLM for use with the anti-spam feature.

---

<div class="post-metadata">

### Author: ![nickdb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nickdb/32/444510_2.png) [@nickdb](https://meta.discourse.org/u/nickdb)
#### Post date: [January 10, 2025, 11:36am UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/15 "2025-01-10T11:36:22Z")

</div>

Trying to add custom instructions on our hosted site, which test fine, saving the changes gives an error “An error occurred: You can’t use this model with this feature”

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 10, 2025, 7:42pm UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/16 "2025-01-10T19:42:37Z")

</div>

Apologies, I just queued a deploy which will fix it

Can you try again in 15 minutes?

---

<div class="post-metadata">

### Author: ![nickdb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nickdb/32/444510_2.png) [@nickdb](https://meta.discourse.org/u/nickdb)
#### Post date: [January 11, 2025, 6:46am UTC](https://meta.discourse.org/t/ai-powered-spam-detection/343543/17 "2025-01-11T06:46:27Z")

</div>

Thanks, issue is resolved. Much appreciated
