perf: 文案优化

This commit is contained in:
archer
2023-04-06 09:07:07 +08:00
parent 144bed5a77
commit d460305871
8 changed files with 13 additions and 9 deletions

View File

@@ -79,8 +79,10 @@ export async function generateQA(next = false): Promise<any> {
.createChatCompletion(
{
model: ChatModelNameEnum.GPT35,
temperature: 0.8,
temperature: 0.7,
n: 1,
frequency_penalty: 1, // 越大,重复内容越少
presence_penalty: -1, // 越大,越容易出现新内容
messages: [
systemPrompt,
{