# Prompt Settings

Prompts are instructions that guide AI behavior and response methods. OMate allows you to customize system prompts to optimize AI performance and personalize your experience.

# Prompt List

You can access the prompt settings page from the settings panel, which displays the system's built-in prompt templates that you can customize. Each prompt card contains the following information:

  • Prompt name
  • Prompt description
  • Custom status marker (if you have modified it)

# Available Prompt Types

OMate provides the following types of prompt templates:

  • Roleplay System Prompt: Controls how the AI plays a role in conversation with the user
  • Character Setting Prompt: Defines detailed character setting information
  • Personality Traits Prompt: Defines the character's personality traits
  • Scene Setting Prompt: Defines the scene where the character is located
  • Conversation Example Prompt: Provides examples of character dialogue
  • Post-History Instruction Prompt: Instructions added after the conversation history
  • Mask Prompt: Defines mask setting information
  • Memory Extraction Prompt: Prompt for extracting memories from conversations
  • Memory Usage Prompt: Prompt for using memories

# Editing Prompts

You can customize any built-in prompt:

  1. Navigate to the "Settings" page
  2. Select "Prompt Settings"
  3. Click on the prompt card you want to edit
  4. On the editing page:
    • View the default system prompt
    • Edit the custom prompt content
    • Click the "Save" button to apply changes

If you want to restore the default settings, you can:

  1. Click on the edit page of the specific prompt
  2. Delete the custom content
  3. Click the "Save" button to restore the default prompt

# Reset All Prompts

If you want to reset all custom prompt settings:

  1. On the prompt settings page, click the "Reset" icon in the top right corner
  2. Type "reset" in the confirmation dialog
  3. Click the "Confirm" button to reset all prompts to system defaults

# Prompt Usage Scenarios

OMate's prompt system is used in the following scenarios:

# Character Conversations

When you converse with a character:

  • The system automatically uses the corresponding character prompts
  • This includes personality traits, scene settings, conversation examples, etc.
  • Making your interactions with the character more consistent with their settings

# Mask Application

When you apply a mask:

  • The mask prompt is used to define the user's role
  • Combined with the AI character's prompts to create specific conversation scenarios

# Memory Function

When using the memory function:

  • Memory extraction prompts are used to extract important information from conversations
  • Memory usage prompts control how the AI utilizes stored memories

# Prompt Writing Tips

# Variable Usage

OMate supports using variables in prompts:

  • {{char}}: Character name
  • {{user}}: User name/mask name

# Elements of Effective Prompts

  • Clear Guidance: Clearly indicate how the AI should respond
  • Character Positioning: Clearly define the character's identity and behavior
  • Conversation Style: Describe the character's language style and expression habits
  • Interaction Rules: Set basic rules and limitations for interacting with users