aiFeedbackOnReportWithFollowup
parent
7252cfcce4
commit
101e1a2749
|
@ -47,7 +47,8 @@ const aiFollowupQuestion = async (req, res) => {
|
||||||
sessionId: newSessionId,
|
sessionId: newSessionId,
|
||||||
conversationHistory: [
|
conversationHistory: [
|
||||||
{ role: 'system', content: 'You are a helpful assistant.' },
|
{ 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);
|
await conversationsCollection.insertOne(conversation);
|
||||||
|
|
Loading…
Reference in New Issue