We are thrilled to announce the release of a brand new feature in Discourse: the AI Persona Editor. This feature, as part of our AI offerings, allows you to customize and enhance the interaction experience on your Discourse platform by tuning the way users interact with Language Learning Models (LLMs) such as Claude or Open AI GPT models via the AI Bot feature.
What is the AI Persona Editor?
The Persona Editor is an administrative interface that allows you to manage and customize AI personas.
You can access this new admin UI at /admin/plugins/discourse-ai/ai_personas
. Please note that currently, only admins have access to the editing interface.
Key Features
Each persona has the following attributes:
- Name: Unique name for each persona.
- Description: Detailed explanation of what the persona does, displayed in persona drop down.
- Commands: List of tasks the persona can perform. (such as search, read topics etc:)
- System Prompt: The personaâs default interaction prompt. This sets the tone for how it works.
- Allowed Group IDs: Groups that can interact with the persona.
- Enabled: Whether the persona is active or not.
- System: Whether the persona is a system entity or not.
- Priority: Determines the order in which personas are listed.
For system personas, you can only change the âenabledâ, âpriorityâ and âAllowed group idsâ attributes. The âsystem promptâ, âcommandsâ, ânameâ, and âdescriptionâ of a system persona cannot be changed. Priority personas are sorted at the top of the list, with everything else sorted alphabetically.
Keep in mind that you can see all the stock system prompts in this interface which you can use as templates for your own customizations.
Customizing Personas
With the Persona Editor, you can customize the list of personas that end users have access to. For instance, you may want to set it up so only staff have access to the SQL Helper and Setting Explorer personas. This allows you to tailor the personas to the specific needs and roles within your community.
Out-of-the-Box Personas
We already have a wide variety of pre-configured personas. You can view the full list of personas here.
Enhanced Use Cases
Here are a few ways you can use personas:
-
Search Google in Japanese: Create a persona that translates user queries into Japanese and searches the Japanese web, providing a unique way to access and explore content from a different perspective.
-
Content Moderation: Paste your Code of Conduct into the system prompt and ask the AI if the content meets the standards or not. This can be a powerful tool for maintaining a respectful and inclusive community environment.
-
Documentation Helper: Create a persona that prioritizes searching your docs categories over anything else, providing quick and easy access to important information.
-
Custom SQL Helper: Paste in schema for your database, tell it what dialect of SQL you use and you can get a SQL helper that is tuned for your own bespoke DB.
Future Ideas
Weâre always looking to improve and expand the capabilities of the Persona Editor. Here are a few ideas weâre considering for future enhancements:
- Remote API Access: Allow a persona to have access to remote APIs of your choosing. This could open up a wide range of possibilities for integrating external services and data sources.
- Custom Content: Allow a persona to have access to custom content that you upload and we embed. This could be a great way to provide unique, personalized content for your users.
For more information about Discourse AI and the new AI Persona Editor, check out these resources:
We hope you enjoy this new feature and find it useful. We look forward to seeing the creative ways you will use the Persona Editor on your Discourse platform!