Discourse AI - Summarization

This topic covers the configuration of the Summarization module of the Discourse AI plugin.


This module allows you to use AI-powered summarization strategies when summarizing topics and chat channels. discourse-ai registers these in Discourse’s core new summarization feature, allowing admins to use them via the summarization_strategy site setting.

Available strategies include:

  • A collection of open-source models from HuggingFace: bart-large-cnn-samsum, flan-t5-base-samsum, and long-t5-tglobal-base-16384-book-summary.
  • OpenAI ChatGPT, using either gpt-3.5-turbo or gpt-4.
  • Anthropic Claude’s V1 and V2 models.

Availability

:discourse: Hosted by us? Currently, this module is available for all hosted by Discourse customers on any plan. :tada:

If you’re an Enterprise customer you can contact us to have it added to your site on request. :discourse:

:information_source: Self-hosted users can install the plugin anytime by following Install Plugins in Discourse - sysadmin - Discourse Meta

Configuration

You must configure each model’s settings, or you won’t be able to select it. You’ll see a hint telling you which settings you have to configure first:

The possible options are:

Permissions

Since sending a request to some providers comes with a cost, you can control which users can do it through the custom summarization allowed groups setting (default to staff and trust level 3).

We’ll cache these results and make them available for users not in these groups and anonymous users.

Screenshots

summarizing


Summary from The State of JavaScript on Android in 2015 is... poor

It also lets you do the same for chat channels, allowing you to view a summary of messages sent from the last hours to the previous seven days.

Screenshot 2023-04-24 at 13.06.56

16 Likes