perf: 阈值

This commit is contained in:
archer
2023-04-06 19:44:44 +08:00
parent 77dc961a07
commit 87d35042de
2 changed files with 4 additions and 5 deletions

View File

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