This guide explains how to set up and use the AI Helper feature of the Discourse AI plugin, including its capabilities and configuration options.
Required user level: Administrator
The AI Helper is a component of the Discourse AI plugin that assists users in various aspects of 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.
Summary
This guide covers:
- An overview of AI Helper features
- Visual demonstrations of AI Helper in action
- How to enable and configure AI Helper
- Available settings and their functions
- Technical details and frequently asked questions
AI Helper features
Within the composer
AI 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.
- Translating selected text to the forum’s default language
- Creating Markdown tables from selected text
- Custom prompts for various text transformations
- Viewing and managing AI-suggested changes
Here’s a demonstration of AI Helper features within the composer:
Note: In this demonstration, there was already written content in the composer.
The keyboard shortcut CTRLALTP can be used to proofread text and provide grammar and spelling assistance.
While reading topics and posts
When browsing the forum, AI Helper can:
- Translate selected text to the user’s interface language
- Explain the meaning of selected text within the context of the topic
Here’s an example of AI Helper’s “Explain” feature while reading a topic:
Enabling AI Helper
Hosted by us? Currently, this module is available for Enterprise customers. Please contact us to have it added to your site.
Self-hosted users can install the Discourse AI plugin anytime by following the plugin installation guide.
Prerequisites
To use AI Helper, you must configure at least one Large Language Model (LLM) provider. Options include:
- OpenAI
- Anthropic
- Azure OpenAI
- AWS Bedrock with Anthropic access
- Google Gemini
- Self-Hosting an Open Source LLM
Configuration steps
- Navigate to Admin → Settings → Discourse AI
- Ensure the
discourse ai enabled
setting is checked
- Filter settings by
ai helper
- Enable the AI 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 AI Helper usage - Use
post ai helper allowed groups
to limit Post AI Helper feature access
Customizing AI Helper features
You can selectively enable or disable specific AI 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
: Toggles the “Caption with AI” button for uploaded images
Technical details
- AI Helper requires a minimum of 10 words in the composer to function
- The “Explain” feature uses the topic title, post content, and selected text as context for the LLM
- Custom prompts can be used for various purposes, such as changing tone or translating to specific languages
Frequently asked questions
Q: Why don’t I see the AI Helper icon in the composer?
A: Ensure you’ve entered at least 10 words of content in the composer.
Q: How accurate are AI Helper’s translations?
A: While generally reliable, translations may be less accurate for uncommon languages.
Q: Can I control AI Helper usage to manage costs?
A: Yes, you can limit AI Helper access to specific user groups to help control costs associated with third-party LLM providers.
Additional resources
Last edited by @sam 2024-09-06T02:02:38Z
Last checked by @hugh 2024-08-06T02:33:06Z
Check document
Perform check on document: