Skip to content

Commit

Permalink
Updating to gpt-4o-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
davetaz committed Aug 29, 2024
1 parent 1880a39 commit cc51580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "care.theodi.org",
"version": "2.7.2",
"version": "2.8.0",
"description": "The ODI Care tool (AI enabled)",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion routes/assistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function populateMessage(messageId, data) {
async function getAIReponse(message) {
const completion = await openai.chat.completions.create({
messages: [{ role: "user", content: message }],
model: "gpt-4o",
model: "gpt-4o-mini",
});
return completion.choices[0].message.content;
}
Expand Down

0 comments on commit cc51580

Please sign in to comment.