Skip to content

Commit 7610169

Browse files
committed
fix: prompt length for 横批
1 parent e9b4183 commit 7610169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ai/src/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface SprintFestivalCouplets {
2121

2222
export async function getCouplets(couplet: string) {
2323
const tooltip = [
24-
'请根据我的提示生成一组春联,包含上联、下联各一句,每句字数在五到十三字之间,并附上一个恰当的横批。',
24+
'请根据我的提示生成一组春联,包含上联、下联各一句,每句字数在五到十三字之间,并附上一个恰当的不超过五个字的横批。',
2525
'并给出一个字总结。',
2626
'不需要标点符号,尽量不要使用生僻字。',
2727
'以可以被 JSON.parse 解析的字符串格式给出,务必不要生成多余文本。',

0 commit comments

Comments
 (0)