Skip to content

Commit b07e785

Browse files
Increase minimum questions to 5 for more accurate career scoring
1 parent fbc418e commit b07e785

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/routes/chat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ router.post('/message', optionalAuth, async (req, res) => {
128128
const totalAnswers = allAnswers.length;
129129

130130
// Determine if we have enough information for AI recommendations
131-
// Minimum 3 answers for initial assessment, but AI decides when to stop
132-
const minAnswersForRecommendation = 3;
133-
const maxQuestions = 10; // AI should stop before this if confident
131+
// Minimum 5 answers for accurate scoring (more data = better results)
132+
const minAnswersForRecommendation = 5;
133+
const maxQuestions = 12; // AI should stop before this if confident
134134

135135
let recommendations = null;
136136
let completed = false;

0 commit comments

Comments
 (0)