This guide explains how to set up and use the Helper feature of the Discourse AI plugin, including its capabilities and configuration options.
Required user level: Administrator
Helper assists users in community interaction, such as creating topics, writing posts, and reading content. It’s designed to enhance user productivity and improve the overall quality of contributions.
Features
Within composer
Note: In this demonstration, there was already written content in the composer.
Helper offers several features when creating new topics or replies:
- Generating topic titles, tags, and categories based on the content
- Proofreading text - including grammar and spelling checks
- Windows keyboard shortcut: CTRLALTP
- MacOS keyboard shortcut: ⌘⌥ P
- Translating selected text to the forum’s default language
- Creating Markdown tables
- Custom prompts for various text transformations
- Viewing and managing AI-suggested changes
- AI-powered captions for any uploaded images
While reading topics and posts
When browsing the forum, Helper can:
- Translate selected text to the user’s interface language
- Explain the meaning of the selected text within the context of the topic
- Proofreading text - including grammar and spelling checks
- Custom prompts for various text transformations
- Helper - Automatic chat threads titles
Enabling Helper
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
- Navigate to Admin → Settings → Discourse AI
- Ensure the
discourse ai enabled
setting is checked - Filter settings by
ai helper
- Enable the Helper feature by checking
composer ai helper enabled
- Select your preferred LLM in the
ai_helper_model
setting - Use
ai helper allowed groups
to restrict Composer Helper usage - Use
post ai helper allowed groups
to limit Post Helper feature access
Customizing Helper features
You can selectively enable or disable specific Helper features using the ai_helper_enabled_features
setting. Available options include:
-
suggestions
: Controls suggestion buttons for titles, categories, and tags -
context_menu
: Manages the menu for custom prompts, translation, and proofreading -
image_caption
: Turns on AI-powered image captions through auto caption or “Caption with AI” button
Technical FAQ
Unable to see the AI button next to the title, tag, or category?
- AI Helper within composer requires a minimum of 10 words in the composer to appear and function.
How does the “Explain” feature work?
- Explain uses the topic title, post content, and selected text as context for the LLM to generate output.
What are some uses of custom prompts?
- Custom prompts can be used for various purposes, such as changing tone or translating to specific languages.
How accurate are Helper’s translations?
- While generally reliable, translations may be less accurate for uncommon languages.
Caveats
- We recommend limiting Helper access to specific user groups to help control costs associated with third-party LLM providers.
Last edited by @Saif 2024-11-18T22:09:05Z
Last checked by @hugh 2024-08-06T02:33:06Z
Check document
Perform check on document: