aiFeedbackOnReport
This commit is contained in:
@@ -4,7 +4,7 @@ const aiFeedbackOnReport = async (req, res) => {
|
||||
const payload = {
|
||||
"model": "gpt-4o-mini",
|
||||
"messages": [{ "role": "user",
|
||||
"content": JSON.stringify(req.body.score) + " - is a sample of a students report card " + req.body.instruction }]
|
||||
"content": JSON.stringify(req.body.score) + " - is the students report card. " + req.body.instruction }]
|
||||
}
|
||||
try {
|
||||
const apiResponse = await fetch(url, {
|
||||
|
||||
Reference in New Issue
Block a user