Update src/routes/api/aiFollowupQuestion.js

master
Kar 2025-04-28 16:46:41 +00:00
parent 0d4323df9e
commit 75656c8f17
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const aiFollowupQuestion = async (req, res) => {
conversation = { conversation = {
sessionId: newSessionId, sessionId: newSessionId,
conversationHistory: [ conversationHistory: [
{ role: 'system', content: 'answer within 10 words' }, { role: 'system', content: 'Reply to the questions asked by a kindergarten child, Sound excited to answer and encourage the child to ask more questions in 30 words' },
{ role: 'user', content: prompt }, { role: 'user', content: prompt },
], ],
}; };