Files
llm-in-text/backend/__pycache__/prompt.cpython-313.pyc
T

22 lines
1.3 KiB
Plaintext
Raw Normal View History

ó
и„iˆãó.SSKrSSKJr S\S\S\4Sjrg)éN)ÚTupleÚprefixÚsuffixÚreturncóÞSnURS5nU(aURS5O/nSRX2*S5nSRUSS5nSUSUS3nUR5$)uo
改进åŽçš„æç¤ºè¯æž„建函数。
使用更明确的指令æ¥å¼•导模型生æˆé«˜è´¨é‡çš„续写内容。
éÚ
uIYou are an expert writing assistant. Continue the text naturally.
CONTEXT:
⟨CURSOR⟩ marks where to continue.
- Before ⟨CURSOR⟩: existing text
- After ⟨CURSOR⟩: following context (if any)
RULES:
- Match existing style, tone, and terminology
- Maintain logical flow
- Write only the continuation, nothing else
TEXT:
u ⟨CURSOR⟩z
CONTINUATION:)ÚsplitÚjoinÚstrip)rrÚMAX_CONTEXT_LINESÚ prefix_linesÚ suffix_linesÚ
recent_prefixÚ