Skip to content

Commit

Permalink
Create event.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chapin666 authored Feb 11, 2023
1 parent 3fe9aad commit 10b8776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function getOpenAIReply(content) {
var data = JSON.stringify({
"model": process.env.MODEL || "text-davinci-003",
"prompt": prompt,
"max_tokens": 1024,
"max_tokens": process.env.MAX_TOKEN || 1024,
"temperature": 0.9,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
Expand Down

0 comments on commit 10b8776

Please sign in to comment.