Feature #3637
Extend 3634: Ask questions, ask detailed questions and provide detailed answer from content in file in bucket
100%
Description
When user chooses a grade g and subject s, get file qna-cbse-g-s. This is of the following format:
Extend file format of qna-<board>-<grade>-<subject>.txt to:
#$Question: <question>
#$Answer: <answer>
#$Detailed QNAs: <detailed QNAs>
#$Detailed Answer: <detailed answer>
#$Question: <question>
#$Answer: <answer>
#$Detailed QNAs: <detailed QNAs>
#$Detailed Answer: <detailed answer>
....
Once the user answers the question correctly, ask "Correct answer. Would you like a detailed answer anyway (y/n)?
if y, give <detailed answer> and go on to the next question.
If the user answers wrongly, say "Not quite. Shall we go over the answer step by step (y/n)?"
If y, ask a detailed question. If answer is correct, say "Correct!" and ask next detailed question. If not, say "Not really. The answer is <give answer from detailed qna>"
Once you ask all detailed questions, ask "Would you like a detailed answer (y/n)?
if y, give <detailed answer> and go on to the next question.
Updated by Dewakar Chaubey 5 months ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Updated by Dewakar Chaubey 5 months ago
- Status changed from Resolved to Review
- Assignee changed from Dewakar Chaubey to Shubham Boke