Skip to main content

Variable: DELIMITERS

const DELIMITERS: object

Defined in: packages/core/src/utils/prompt-security.ts:5

XML-style tags that separate system instructions from user input in a prompt, chosen to be unlikely in legitimate content.

Type Declaration​

GOAL_END​

readonly GOAL_END: "</baleybot_goal>" = '</baleybot_goal>'

GOAL_START​

readonly GOAL_START: "<baleybot_goal>" = '<baleybot_goal>'

INSTRUCTIONS_END​

readonly INSTRUCTIONS_END: "</baleybot_instructions>" = '</baleybot_instructions>'

INSTRUCTIONS_START​

readonly INSTRUCTIONS_START: "<baleybot_instructions>" = '<baleybot_instructions>'

USER_INPUT_END​

readonly USER_INPUT_END: "</user_input>" = '</user_input>'

USER_INPUT_START​

readonly USER_INPUT_START: "<user_input>" = '<user_input>'