Skip to content

Commit

Permalink
feat: update AI model to gpt-4o-mini for message processing
Browse files Browse the repository at this point in the history
  • Loading branch information
AdolfoRV committed Dec 11, 2024
1 parent 79744ba commit 80e6663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.get('/', (req, res) => {

app.post('/message', (req, res) => {
const response = openai.createCompletion({
model: 'text-davinci-003',
model: 'gpt-4o-mini-2024-07-18',
prompt: req.body.message,
temperature: 0,
top_p: 1,
Expand Down

0 comments on commit 80e6663

Please sign in to comment.