feat: revert back to gpt-4, results are way better

This commit is contained in:
max_richter 2023-11-13 17:15:31 +01:00
parent 180ffbd233
commit 501a94c325

View File

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