aiFeedbackOnReportWithFollowup

galleryApi
Kar 2024-10-29 15:53:13 +05:30
parent 7252cfcce4
commit 101e1a2749
1 changed files with 2 additions and 1 deletions

View File

@ -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);