Project

General

Profile

Feature #3791

Support for creating answer choices for non-MCQ (VSA, LA) questions

Added by Ram Kordale 11 days ago. Updated 4 days ago.

Status:
Feedback
Priority:
High
Assignee:
Start date:
02/11/2025
Due date:
% Done:

100%

Estimated time:
0.65 h

Description

3772 colab has support to get detailed answers to MCQs. This ticket is to convert non-MCQ questions to MCQs.

As you know, inputFile contains values of keys such as "prefix-question", "prompt-5" etc. Add another key "answer-choice-creation-prompt-prefix-5". Suppose <accpp5-value> is the value, and <content> is the text below the "#$Exercise:" line in standard.txt.

Before processing a non-MCQ question, please do the following:

1. make the call to openai with prompt as "<accpp5-value> <content>". [As always, add support for True and False values for call_real_api.]
2. The response will be of the format "Choices are #$a. <choice 1> #$b. <choice 2> #$c <choice 3> #$d <choice 4>. #$#$correct choice: <correct-choice as in one of a, b, c or d>".
3. Convert the non-MCQ question as an MCQ with the above information.
4. Continue processing; however, do not add the above conversation to future conversation.

Also available in: Atom PDF