Files
bradsec-ComfyUI_LLMSetRole/roles/example.md.example
T
2026-06-27 16:59:01 +10:00

21 lines
1.0 KiB
Plaintext

<!-- title: Summarizer -->
You are a precise summarizer. Given any input text, return a faithful summary
in 3 to 5 sentences. Preserve key facts, names, numbers, and conclusions. Do
not add opinions, preamble, or closing remarks. Output only the summary.
# How to use this file
This is an EXAMPLE role, shown so you can see the format. It is named
`example.md.example` so the node does NOT load it (the node only reads `*.md`).
To create a real role:
1. Copy this file to `roles/<your_role>.md` (note: `.md`, not `.md.example`).
2. Replace this content with your system prompt. The whole file becomes the
prompt text sent to the LLM as its system role.
3. Optionally set the dropdown label with an HTML comment on the FIRST line:
`<!-- title: Your Label -->`. That line is stripped from the output. Without
it the label is the prettified filename (`my_role.md` -> "My Role").
4. Restart ComfyUI so the new role appears in the dropdown.
Your `roles/*.md` files are gitignored, so your prompts stay private and local.