gpt-4o-mini
This commit is contained in:
@@ -3,7 +3,7 @@ const aiFeedbackOnReport = async (req, res) => {
|
||||
const api_key = process.env.AI_API_KEY;
|
||||
|
||||
const payload = {
|
||||
"model": "gpt-3.5-turbo",
|
||||
"model": "gpt-4o-mini",
|
||||
"messages": [{ "role": "user",
|
||||
"content": JSON.stringify(data.score) + "\n above is a sample of a students report card\n" + data.instruction }]
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ router.get("/ping", (req, res) => {
|
||||
|
||||
// AI feedback for teacher on children's report card
|
||||
router.post("/aiFeedbackOnReport", (req, res) => {
|
||||
aiQuestion(req, res);
|
||||
aiFeedbackOnReport(req, res);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user