Feature #3659
Support for create_detailed_QNAs_answers colab notebook
Status:
New
Priority:
High
Assignee:
-
Start date:
07/12/2024
Due date:
% Done:
0%
Estimated time:
Description
Inputs are questions_file, model, index, board, grade, subject, chapter_num, exercise_num, style.
index will be <board>-<grade>-<subject>-<chapter_num>-<exercise_num>-<style>.
Read questions from a file. For each question, call_openai_api with prompt as question. The response will contain
$$$---$$$---$$$$ <detailedQNAs> $$$---$$$---$$$$
%%---%%---%%% <detailedAnswer> %%---%%---%%%
In styled_question kind, store the above in detailedQNAs and detailedAnswer fields of entry with <board>-<grade>-<subject>-<chapter>-<exercise_num>-<style> key.