# Discourse Chatbot 🤖

**URL:** https://meta.discourse.org/t/discourse-chatbot/256652
**Category:** Plugin
**Tags:** ai
**Created:** [March 1, 2023, 11:08am UTC](https://meta.discourse.org/t/discourse-chatbot/256652 "2023-03-01T11:08:25Z")
**Posts on this page:** 1
**Showing post:** 1126

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 11, 2026, 4:30pm UTC](https://meta.discourse.org/t/discourse-chatbot/256652/1126 "2026-08-11T16:30:37Z")

</div>

> [@How can I restrict an AI Agent to answer only questions related to my forum?](https://meta.discourse.org/t/how-can-i-restrict-an-ai-agent-to-answer-only-questions-related-to-my-forum/409672/7):
>
> Although prompts can influence an agent’s behavior, they aren’t always reliable. I was able to trick the agent at [ask.discourse.com](http://ask.discourse.com) into answering a few off-topic questions.

@Karthik_K1 please take a look at the screenshot in the last Post

Chatbot cost-effectively all but solves this problem:

> [@merefield](#):
>
> - #166 — FEATURE: Add semantic blocked-question gate ( [FEATURE: Add semantic blocked-question gate - Pull Request #166 - merefield/discourse-chatbot - GitHub](https://github.com/merefield/discourse-chatbot/pull/166) )  
> Added an optional embedding-based gate that can identify administratively defined blocked subjects and return canned responses before invoking the main model. It includes caching, staff auditing, fail-open behaviour, and custom embedding model support.

Obviously if you are unable to install third party plugins, this will be of little help.

I expect the solution to be better than System Prompt based guards but it won’t be completely foolproof and you can indeed get too strict and block some otherwise reasonable messages in any case.

---

_[View the full topic](https://meta.discourse.org/t/discourse-chatbot/256652)._
