Discourse AI - Summarize

:bookmark: This topic covers the configuration of the Summarization feature of the Discourse AI plugin.

:person_raising_hand: Required user level: Administrator for configuration

This module allows you to use AI-powered summarization strategies when summarizing topics and chat channels. The Discourse AI plugin registers these in Discourse’s core 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

This module is available for customers on all plans hosted by Discourse. If you’re an Enterprise customer you can contact us to have it added to your site on request.

: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 (this defaults to staff and trust level 3).

Discourse caches these results to make them available for users outside these groups.

Summarization is also available for chat channels, allowing you to view a summary of messages sent from the last hours to the previous seven days.

Screenshot of chat options

Additional resources

Last edited by @Saif 2024-09-12T18:25:34Z

Last checked by @hugh 2024-08-06T05:45:39Z

Check documentPerform check on document:
16 Likes