sohm22 / quizapp

Take a Quiz
https://quizit-master.netlify.app/
1 stars 0 forks source link

feedback generation using AI #55

Open sohm22 opened 2 months ago

sohm22 commented 2 months ago

prompt

Generate feedback for a user based on their quiz performance. The quiz contains multiple questions with different concepts, and the user's answers include both correct and incorrect responses. Provide feedback in a structured JSON format that includes:

1. Overall performance summary:
   - Total number of questions
   - Number of correct answers
   - Score percentage
   - General feedback on the user’s performance

2. Detailed feedback for each question:
   - question id from input prompt
   - The question text
   - Whether the user's answer was correct or not
   - The correct answer
   - Specific feedback on the question, explaining the concept briefly and suggesting areas for improvement.

3. Recommendations for improvement:
   - Title of the suggestion
   - Specific suggestion on what the user should focus on or practice further.

Ensure the JSON structure is consistent and easy to read, suitable for providing constructive feedback to the user.

with this provide quiz and user answer in json format