Skip to content

Commit 4263a60

Browse files
authored
Update title generation prompt in common.php
Enhanced prompt for title generation with additional guidelines.
1 parent a4b1747 commit 4263a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/web/aiapi/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
";
2525
if($title==""){
26-
$prompt_sys.="你可以想出一些有趣的标题。你言简意赅,只做非常简练的回答,不做任何解释。这个标题不会包含任何的markdown标记,长度不要超过30字符";
26+
$prompt_sys.="你可以想出一些有趣的标题。你言简意赅,只做非常简练的回答,不做任何解释。这个标题不会包含任何的markdown标记,长度不要超过30字符,可以随机的采用某一句诗词或者游戏的名字,或者上市公司的简称,用广为人知的梗替换诗句中的名词。";
2727
$prompt_user="想一个$keyword的吸引人的标题,随机挑选一个$keyword学习主题,不局限于某种算法,只要一个标题,不要多余的解释,只要标题,不要超过20个字" ;
2828
}else{
2929
$prompt_sys.="

0 commit comments

Comments
 (0)