Skip to content

Commit

Permalink
优化复述补全,减少模型幻觉引起复读机导致语音生成过久问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinlic committed May 4, 2024
1 parent 4040829 commit 9e0af51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/controllers/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async function createRepeatCompletion(
messagesPrepare([
{
role: "user",
content: `完整复述以下内容,不要进行任何修改,也不需要进行任何解释。\n<${content}>`,
content: `完整复述以下内容,不要进行任何修改,也不需要进行任何解释,输出结果使用【】包裹。\n${content}。】`,
},
]),
token,
Expand Down

0 comments on commit 9e0af51

Please sign in to comment.