aiFeedbackOnReportWithFollowup
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user