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: [ {