Helper - Automatic chat threads titles

:bookmark: This guide explains how to enable and configure AI powered chat thread titles, which is part of the Helper feature of Discourse AI plugin.

:person_raising_hand: Required user level: Administrator

Chat threads in Discourse requires manual title input. This feature uses AI to automatically generate titles for chat threads based on the context of the posts within the thread. This makes threads more discoverable and reduces the burden on thread authors.

Features

  • Automatic title generation from LLM
  • Time delay for title generation

Enabling auto chat thread titles

Prerequisites

You must configure at least one Large Language Model (LLM) from a provider.

To get started you can configure them through the Discourse AI - Large Language Model (LLM) settings page.

Configuration

  1. Go to Admin โ†’ Plugins
  2. Search for โ€œdiscourse-aiโ€ and ensure itโ€™s enabled
  3. Enable the setting composer_ai_helper_enabled to activate AI helper in composer
  4. Enable the setting ai_helper_automatic_chat_thread_title to activate automatic titles for chat threads
  5. (Optional) Set time delay for title generation at ai_helper_automatic_chat_thread_title_delay (default is 5 minutes)

Technical FAQs

Why is there a delay before the titles appear on the threads?

  • It allows time for the LLM to process the thread context and generate an appropriate title

Last edited by @Saif 2024-11-05T15:42:59Z

Check documentPerform check on document:
3 Likes

Out of curiosity, is there any plan to implement this same feature into AI Bot (PMs)? It is a bit cringey that the title usually sets itself to something random and unrelated to the initial message (perhaps because it is too short and not enough context/time is given to let it generate a sensible title).

1 Like

This should not happen (even though I have seen it at times); if it does, we need to look at the AI log to figure out what was wrong with the prompt. The titles are based on content in the PM.

1 Like