commit
This commit is contained in:
parent
7330b1238d
commit
c997a4f034
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue