Configuring Open WebUI for AI Interaction|Managing system prompts
Applies to SUSE AI 1.0

8 Managing system prompts

System prompts are a powerful core component that shapes AI model behavior. They provide precise control over how AI models process and respond to user inputs.

Find more details about system prompts in Guiding the AI Model with System Prompts.

8.1 Creating a system prompt

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel.

  2. Select Prompts in the top menu and click the "plus" sign on the right.

    Creating a new system prompt
    Figure 8.1: Creating a new system prompt
  3. Enter the title and content of the new system prompt, and optionally, update the command that invokes the prompt from the chat input field.

  4. Confirm with Save & Create .

Tip
Tip

You can access preconfigured system prompts from the Open WebUI chat input field by pressing the / character as described in Selecting a preconfigured system prompt from the chat input field .

8.2 Modifying existing system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Scroll to the prompt that you want to modify. Use the pager at the bottom if the prompt is not listed on the current screen.

  3. Click the corresponding pen icon on the right to open the form that enables you to edit the title and the description of the prompt.

  4. Confirm with Save & Update .

8.3 Cloning existing system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Scroll to the prompt that you want to clone. Use the pager at the bottom if the prompt is not listed on the current screen.

  3. Click the three dots to the right of the prompt that you want to clone and select Clone .

  4. Optionally update the title, the content and the activating command of the prompt. The command must be unique among all other existing system prompts.

  5. Confirm with Save & Create .

8.4 Importing exported system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Click Import Prompts in the bottom right of the prompt list.

  3. Navigate to the JSON file with previously exported prompts and confirm with Open .

    Warning
    Warning: Unique command

    The activating command of the imported prompts must be unique among existing prompts. Prompts with an existing activating command will not be imported.

8.5 Exporting existing system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Scroll to the prompt that you want to export. Use the pager at the bottom if the prompt is not listed on the current screen.

  3. Click the three dots to the right of the prompt that you want to clone and select Export .

  4. Navigate to the path where you want to save the JSON file with the exported prompt. Confirm with Save .

8.6 Exporting all existing system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Click Export Prompts in the bottom right of the prompt list.

  3. Enter the path to the JSON file that will contain the exported prompts and confirm with Save.

8.7 Deleting existing system prompts

Requirements
  • You must have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.

  1. In the Open WebUI interface, click Workspace in the upper part of the left panel and select Prompts .

  2. Scroll to the prompt that you want to clone. Use the pager at the bottom if the prompt is not listed on the current screen.

  3. Click the three dots to the right of the prompt that you want to clone and select Delete . Confirm the deletion.