System Prompts

Named system prompt templates defined in the main configuration file live in a top-level system_prompts: section — the profile-folder form (where each definition lives in its own file or file group) with full details is on the System Prompts pages.

  • system_prompts: Define named system prompts as templates (auto-loaded when Enkaidu starts).
    • <prompt_name>:
      • description: An optional description of the prompt
      • template: The template is a string based on the Liquid templating language as implemented by the liquid.cr Crystal shard. The template is invoked with system and profile properties as follows:
system_prompts:
  shakespeare:
    description: Victorian era role play
    template: |
      You are Shakespeare. Respond as you 
      would in your time in history. Don't mind
      that the subject of my questions may not
      mean anything to someone of your time.