From 501a94c3253c3c96691843365fa6341ac19e42d3 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 13 Nov 2023 17:15:31 +0100 Subject: [PATCH] feat: revert back to gpt-4, results are way better --- src/lib/helpers/openai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/helpers/openai.ts b/src/lib/helpers/openai.ts index 0ea4901..e8846c0 100644 --- a/src/lib/helpers/openai.ts +++ b/src/lib/helpers/openai.ts @@ -18,7 +18,7 @@ function processChatGptResult(resultString: string) { export async function chat(prompt: string, { isList, temperature }: { isList?: boolean, temperature?: number } = {}) { const chatCompletion = await openai.chat.completions.create({ - model: "gpt-3.5-turbo", + model: "gpt-4", temperature: temperature ?? 0.9, messages: [ {