Skip to content

Commit 7604e9f

Browse files
committed
added documentation about the regex
1 parent f8d13b5 commit 7604e9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

util.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,8 @@ sd_image_f32_t clip_preprocess(sd_image_f32_t image, int target_width, int targe
548548
// (abc) - increases attention to abc by a multiplier of 1.1
549549
// (abc:3.12) - increases attention to abc by a multiplier of 3.12
550550
// [abc] - decreases attention to abc by a multiplier of 1.1
551+
// BREAK - separates the prompt into conceptually distinct parts for sequential processing
552+
// B - internal helper pattern; prevents 'B' in 'BREAK' from being consumed as normal text
551553
// \( - literal character '('
552554
// \[ - literal character '['
553555
// \) - literal character ')'

0 commit comments

Comments
 (0)