From c997a4f03481742d64641f1d5c437382d11a9a2c Mon Sep 17 00:00:00 2001 From: Lukian LEIZOUR Date: Wed, 1 Mar 2023 21:54:20 +0100 Subject: [PATCH] commit --- libs/openAi.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/openAi.js b/libs/openAi.js index 7d304a4..ac8029b 100644 --- a/libs/openAi.js +++ b/libs/openAi.js @@ -24,7 +24,8 @@ async function generateImage(query, ctx, bot) { async function answerQuestion(query) { response = await openai.createCompletion({ - model: "text-davinci-003", + //model: "text-davinci-003", + model: "gpt-3.5-turbo", prompt: query, max_tokens: 500, temperature: 0.9,