This guide explains how to enable and configure AI powered chat thread titles, which is part of the Helper feature of Discourse AI plugin.
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.
- OpenAI
- Anthropic
- Azure OpenAI
- AWS Bedrock with Anthropic access
- HuggingFace Endpoints with Llama2-like model
- Self-Hosting an OpenSource LLM
- Google Gemini
- Cohere
Configuration
- Go to Admin โ Plugins
- Search for โdiscourse-aiโ and ensure itโs enabled
- Enable the setting
composer_ai_helper_enabled
to activate AI helper in composer - Enable the setting
ai_helper_automatic_chat_thread_title
to activate automatic titles for chat threads - (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-04T22:00:50Z
Check document
Perform check on document: