From c5ccdeaf4722d850d2a1b4ff51d3b5512492340c Mon Sep 17 00:00:00 2001 From: Niki Ahlskog Date: Fri, 9 Feb 2024 14:37:51 +0200 Subject: [PATCH] update chatgpt --- openai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai.js b/openai.js index 67840d5..8ec1ade 100644 --- a/openai.js +++ b/openai.js @@ -29,7 +29,7 @@ const shortChat = async (ctx, query) => { try { const response = await openai.chat.completions.create({ messages: [{ role: 'user', content: query }], - model: 'gpt-4-1106-preview', + model: 'gpt-4-turbo-preview', }); console.log(response.choices[0].message.content); ctx.reply(response.choices[0].message.content);