Skip to content

Prompts

The Prompts view allows administrators to create and manage the prompts that define how AI assistants behave. A prompt contains the instructions given to the language model with every request, shaping the assistant's personality, response format, knowledge boundaries, and behavioral constraints. The model receives it after a fixed set of rules that every assistant follows, described in Writing Effective Prompts.

Prompts List View

Prompts List View

Prompts Grid

The grid displays the following columns:

  • Id: Unique numeric identifier of the prompt.
  • Name: The display name of the prompt.
  • Content: A preview of the prompt's text content. This column has extended width to display as much of the prompt as possible.
  • Status: A badge indicating whether the prompt is enabled or disabled. Disabled prompts are not available for selection when configuring assistants.
  • Revision: A badge showing the current revision number, such as Rev 2, or a dash for a prompt with no recorded revisions. Clicking the badge opens a popover with the details of the current revision and shortcuts to History and Compare.
  • Actions: A per-row actions menu.

Filters

The view provides the following filter fields:

  • Id: Filters by the prompt's numeric identifier.
  • Name: Filters prompts whose name contains the entered text.
  • Content: Filters prompts whose content contains the entered text.
  • Status: A dropdown to filter by enabled or disabled status.

Once any filter field has a value, the Filter and Clear buttons become active. Pressing Enter in any filter field also applies the filters. When the filters do not fit in two rows, they collapse into a Filters button; see Filtering the Lists.

At the top right of the filter area, the + Prompt button opens the dialog for creating a new prompt.

Row Actions

Click the actions menu on any row to access the following options:

  • Revisions: Opens the revision history. The action is disabled for prompts that have no recorded revisions.
  • Edit: Opens the prompt creation/edition dialog with the current content pre-filled.
  • Enable / Disable: Toggles the prompt's enabled status.
  • Delete: Removes the prompt. If the prompt is currently assigned to one or more assistants, a replacement dialog is displayed asking the administrator to select a different prompt to reassign those assistants to before the deletion proceeds, and states how many assistants the action will modify.

Warning

Deleting a prompt that is in use requires selecting a replacement. All assistants currently using the deleted prompt will be reassigned to the replacement prompt.

Creating and Editing a Prompt

Clicking the + Prompt button or the Edit action opens a dialog with the following fields:

Prompt Creation Dialog

Prompt Creation/Edition Dialog
  • Name (required): The display name for this prompt. Must be unique across all prompts.
  • Enabled: A toggle that determines whether the prompt is available for use in assistant configurations. Enabled by default.
  • Content (required): A markdown editor for writing the prompt. Its toolbar switches between Source, Preview, and Split, which shows the source and the rendered result side by side; Change split orientation stacks or aligns the two panes. The toolbar also holds the formatting commands, Copy Markdown, which copies the content to the clipboard, and Markdown syntax help; the controls that do not fit move into a More options menu. The placeholder invites the administrator to describe how the assistant should behave.

The dialog opens with an About prompts section explaining what a prompt is and that it is written in markdown. Closing the dialog with unsaved changes asks whether to discard them.

Saving a prompt that already has revisions opens the Save new revision dialog, described in Revision History.

Validation Rules

The prompt content must adhere to the following rules:

  • The name field is required and must be unique.
  • The content field is required and cannot be empty.
  • The content must not contain template variables in the format {{variable_name}}. If template variables are detected, a validation error is displayed and the prompt cannot be saved.

Revision History

A prompt shapes every answer an assistant gives, so each saved change is kept as a numbered revision. This makes it possible to see what a prompt said when a particular conversation happened, to compare two wordings, and to go back to an earlier one.

Prompt Revision History

Revision History Dialog

The Revisions row action opens Revision history, which lists the revisions newest first and reports how many the prompt has. Each entry shows its revision number, the description recorded when it was saved, the author, and when it was saved. The newest is marked Current.

Each entry has its own actions menu:

  • View content: Opens the content of that revision read-only. The dialog states that it is a previous revision, and offers See changes to compare it with the current one.
  • Restore: Brings that revision's content back. The confirmation explains that restoring creates a new revision holding the content from that point in time, so the history is added to rather than rewritten. The description of the new revision is pre-filled to record which revision it was restored from.

Saving a Revision

Saving an edited prompt opens the Save new revision dialog, which asks for an optional description of the change. A short note here is what makes the history readable later. The first revision of a prompt is labelled as such.

Comparing Revisions

Compare in the revision history asks for a pair of revisions and reports how many of the two required revisions have been selected. Once two are chosen, the diff viewer shows their differences, either Side-by-side or Inline. When the two revisions are identical, the viewer says that there are no differences between them.

Writing Effective Prompts

A well-crafted prompt is essential for getting consistent, high-quality responses from the AI assistant. Consider the following when writing prompts:

The prompt should clearly define the role the assistant should play. For example, it might instruct the AI to act as a technical support agent, a documentation helper, or a general-purpose assistant.

The prompt should specify how the assistant should format its responses — whether it should use bullet points, code blocks, or conversational prose — and any constraints on response length or tone.

If the assistant should stay within certain knowledge boundaries, the prompt should explicitly state what topics are in scope and how to handle questions outside that scope. For instance, a prompt might instruct the assistant to only answer questions about the application and to politely redirect other inquiries.

The assistant rules

The prompt is not the only instruction the model receives. Every assistant first receives a fixed set of rules owned by the application, and the prompt follows them under the heading Assistant instructions. The rules rank above the prompt, and the prompt above the conversation. They tell the model to treat instructions found in documents, attachments, tool results, or the conversation summary as information rather than orders, unless the prompt says otherwise. The model does not reveal the rules, nor the prompt unless the prompt allows it. A prompt therefore does not need to repeat these safeguards, and cannot switch them off; tone, language, and style are left entirely to the prompt. The rules can only be replaced by the developers of the application.