Discourse AI Plugin

:discourse2: Summary Integration between AI features and Discourse
:globe_with_meridians: Website Discourse AI Features | Discourse - Civilized Discussion
:hammer_and_wrench: Repository Link GitHub - discourse/discourse-ai
:open_book: Install Guide How to install plugins in Discourse

Discourse AI

Discourse AI is our one-stop solution for integrating Artificial Intelligence and Discourse, enabling both new features and enhancing existing ones.

Discourse AI Features

For Discourse AI, we have opted to keep all features in a single plugin that you can enable independently and allow you to customize them for your community needs.

We’ve also made it one of our priorities not to lock you to a single company API, so every community can pick the provider that makes sense for them. Balancing data privacy, performance, feature sets, and vendor lock-in.

AI Bot

The smart chatbot can answer all questions about your Discourse community and more. The AI Bot has the power to search through your current Discourse instance and beyond with persona support to answer any type of questions you might have.


Summarize topics and chat channels, for times when you need a quick way to catch up or figure out what is going on.

Sentiment Analysis

Sentiment Analysis helps you keep tabs on your community by analyzing posts and providing sentiment and emotional scores to give you an overall sense of your community for any period of time. These insights can help determine the type of users posting within your community and interacting with one another.

AI Helper

AI Helper assists you in your community journey whether you are creating topics/posts or reading along. Including explaining text, proofreading, translating, generating content, and so much more. It’s there to make your thinking even better, so you can save time or use it wisely.


Toxicity can scan both new posts and chat messages and classify them on a toxicity score across a variety of labels, helping you keep toxicity out of your community!


NSFW post flags make sure your community is safe by tagging NSFW image content in posts and chat messages. This helps you manage and identify explicit content that would be inappropriate for your community.


This a module that powers 2 Discourse AI features:

  • Related Topics

    Related Topics help you find the most relevant topics to read next after finishing reading a topic. These topics are recommended using semantic textual similarity between the current topic you are reading and all other topics in your Discourse instance. This results in the discovery of more relevant topics and continued engagement in communities.

  • AI Search

    AI Search helps you find the most relevant topics using semantic textual similarity that are beyond an exact keyword match used by traditional search. This results in the discovery of topics that are non-exact matches but still relevant to the initial search, helping you find what you need.

Configuration + Details

:information_source: We are always adding new functionality and changing our Discourse AI features! Please check each AI feature for all details including configuration, provider support, feature set and more.


:warning: We are being very mindful with our experimentation around AI. The algorithms we are leaning on are only as good as the data they were trained on. Bias, inaccuracies and hallucinations are all possibilities we need to allow for. We regularly revisit, test and refine our AI features.

Self Hosting

Check the docs on self-hosting the API services at Discourse AI - Self-Hosted Guide


Will this be available on Discourse hosting? Which plans?

This is currently available for Enterprise customers, please contact our support team to get it installed and configured on your instance. Please check each AI feature for the latest availability.

Rollout for select features for other tiers might follow later.

:partying_face: Updates

Will CDCK offer a SaaS version of the AI services API for self-hosted communities?

Not at the moment, but this is something we may consider given the feedback from our community.


Greetings dear forum participants :wave:
I didn’t know whether to publish this post as a separate topic and decided to write here.
Perhaps my question will be stupid, but tell me what link (and where to get it) I need to insert into the ai embeddings discourse service api endpoint line in the Discourse AI? Screenshot:

Edit: Same question on the line ai summarization discourse service api endpoint

That matters if you are using self hosted system, I reckon. If you are using OpenAI-API instead you will leave it empty.


@Jagster Thanks for the quick response :raised_hands:
I’m using OpenAI API.

1 Like

somehow the translation in CrowdIn (I do the translation into German) for the discourse-ai is no longer possible since yesterday or the day before. It says 0 languages. :wink:

Normally it would show me the languages like they are shown for Discourse itself:

On the project page overview discourse and discourse-ai are both shown with 84 languages:



1 Like

I think this may be because we’re preparing for the next release so they may be temporarily closed to community contributions while that’s finalised.


Finally got around to installing this plugin and it works fantastic. A couple thoughts I had in the first 24hrs of using it:

it would be nice to have a different section for AI helper conversations instead pooled with all other messages.

:point_up: There is a lot of room here for a little robot symbol

:point_up: and a spot here on the messages page

The other thing is that it would be nice to give each helper a predefined model to work with. Right now, the model is chosen before the composer opens. It would be nice to assign the model on the Persona editor. That way, I can optimize cost by assigning GPT3.5 to helpers of low complexity and GPT4 to bots that require higher order thinking.


Hello :wave:
I’ve already written something similar, check out my post.


FYI I just put a link for myself in the sidebar


I’m sorry, I’m not sure if I understood your response correctly.
If you mean a link to the conversation history with the AI bot, then yes, currently, as a workaround, I also place a link to the entire dialogue history with the bot in the side panel for quick access. For example, my link looks like this: https://mysite.com/search?q=%40BotGPT4-turbo%20in%3Amessages.

Super cool stuff. One of the options listed here is to use Google Gemini. However above in the Modules Providers I don’t see it being compatible with any of the modules. So where is Gemini used?


Good catch! @Saif looks like this list needs an update.


Updated the OP to better reflect current status of Discourse AI


Perhaps add a reference to Enable Sentiment Analysis here