Prompt Blocks: BEGIN SYSTEM PROMPT, BEGIN TALK & Channel Prompts π‘ BETA
Prompt blocks are file-based prompt sources, not BASIC keywords.
Example
SET CONTEXT "tone" = "formal"
What it does
PROMPT.md and PROMPT-{CHANNEL}.md live in the bot's .gbot/ folder; SET CONTEXT is the catalogued keyword for session context.
Source of truth
| Item | Where it lives |
|---|---|
| Channel prompt | .gbot/PROMPT-{CHANNEL}.md |
| Session context | SET CONTEXT keyword |
| Fallback | Generic prompt when no channel file exists |
Limits
- Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Block names such as
BEGIN SYSTEM PROMPTare file markers, not keyword registrations.