This commit is contained in:
Lukian LEIZOUR 2023-03-01 21:54:20 +01:00
parent 7330b1238d
commit c997a4f034

View file

@ -24,7 +24,8 @@ async function generateImage(query, ctx, bot) {
async function answerQuestion(query) { async function answerQuestion(query) {
response = await openai.createCompletion({ response = await openai.createCompletion({
model: "text-davinci-003", //model: "text-davinci-003",
model: "gpt-3.5-turbo",
prompt: query, prompt: query,
max_tokens: 500, max_tokens: 500,
temperature: 0.9, temperature: 0.9,