From af2eebd5ad9390e9bcffd27942e79cbb2754eb70 Mon Sep 17 00:00:00 2001 From: HelenaCornu <73692302+HelenaCornu@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:57:33 +0100 Subject: [PATCH] feat: Updated to gpt 4o mini (#12) --- controllers/publicationSummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/publicationSummary.js b/controllers/publicationSummary.js index 4499bc6..2e635fa 100644 --- a/controllers/publicationSummary.js +++ b/controllers/publicationSummary.js @@ -11,7 +11,7 @@ dotenv.config(); // query setup // summarization docs https://js.langchain.com/docs/api/chains/functions/loadQAMapReduceChain const model = new OpenAI({ - modelName: "gpt-3.5-turbo", + modelName: "gpt-4o-mini", openAIApiKey: process.env.OPENAI_TOKEN, temperature: 0.5, });