You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at the following code and come up with a multiple choice question that can be asked about it:\n\n${codeFromPlayback}\n\n
53
+
Look at the differences and come up with a question that a learner will find it challenging to answer.\n\n
54
+
The format of the response should be raw JSON (no markdown, specifically no \`\`\`json designators) with the question in a member called 'question', another member called 'allAnswers' that is an array of all the answers.
55
+
The correct answer should be duplicated in a member called 'correctAnswer'. The correct answer should have a very brief explanation of why it is correct stored in a member called 'explanation'.\n\n
56
+
Put the correct answer at position 0 of the 'allAnswers' array.
57
+
Here is an example of what the response should look like (make sure the response is a valid JSON object):\n\n
58
+
{\n
59
+
"question": "What is the capital of France?",\n
60
+
"allAnswers": [\n
61
+
"Paris",\n
62
+
"London",\n
63
+
"Berlin",\n
64
+
"Madrid"\n
65
+
],\n
66
+
"correctAnswer": "Paris",\n
67
+
"explanation": "Paris is the capital of France."\n
68
+
}\n\n
69
+
If you cannot come up with a question then return this object {question: "Error"}`;
0 commit comments