From 101e1a2749e57214673bdd21a6edbe9592784506 Mon Sep 17 00:00:00 2001 From: Kar Date: Tue, 29 Oct 2024 15:53:13 +0530 Subject: [PATCH] aiFeedbackOnReportWithFollowup --- src/routes/api/aiFeedbackOnReportWithFollowup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/api/aiFeedbackOnReportWithFollowup.js b/src/routes/api/aiFeedbackOnReportWithFollowup.js index ec65d5e..9f6deb5 100644 --- a/src/routes/api/aiFeedbackOnReportWithFollowup.js +++ b/src/routes/api/aiFeedbackOnReportWithFollowup.js @@ -47,7 +47,8 @@ const aiFollowupQuestion = async (req, res) => { sessionId: newSessionId, conversationHistory: [ { role: 'system', content: 'You are a helpful assistant.' }, - { role: 'user', content: prompt }, + // { role: 'user', content: prompt }, + { role: 'user', content: req.body.score + " - is the students report card. " + req.body.instruction }, ], }; await conversationsCollection.insertOne(conversation);