Skip to content

Instantly share code, notes, and snippets.

@etnichols
Last active February 23, 2024 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etnichols/8b6f4e00eea498953787fcae031993b5 to your computer and use it in GitHub Desktop.
Save etnichols/8b6f4e00eea498953787fcae031993b5 to your computer and use it in GitHub Desktop.
Example AI Quiz Request JSON with user-submitted questions
{
"_id": {
"$oid": "65d8e86443f1bf645d32acd8"
},
"appSettingId": {
"$oid": "65d8e5dc3c37b231fd032f22"
},
"formData": {
"ai_prompts": {
"quiz_familiarity": "advanced",
"website_url": "fakewbsite.com",
"quiz_title": "What is the best Jayhawk football player today?",
"quiz_type": "ASSESSMENT",
"has_specific_outcomes": false,
"has_specific_questions": true,
"questions": [
{
"_id": "4b374de9-dae8-4b15-bb01-659da61f924f",
"question_text": "What is the KU Mascot?",
"undefined": "",
"answers": [
{
"_id": "6ca04ad4-386b-49d3-945e-1d41b2bcb41c",
"answer_text": "A tiger"
},
{
"_id": "e75d802a-843e-4522-8b72-9e400c8fbc2d",
"answer_text": "A Jayhawk"
},
{
"_id": "f2b7b828-f086-46ce-8d5e-f779e01bf1b3",
"answer_text": "A Moose"
},
{
"_id": "bdad9a70-1bfc-431a-a09b-0800bb5d7a9c",
"answer_text": "I'm not sure"
}
]
},
{
"_id": "beb5d140-038e-42cc-b42a-261b1bc2bdd5",
"question_text": "What is the basketball stadium at Kansas called?",
"undefined": "",
"answers": [
{
"_id": "fda8380e-6fc9-4e37-8af5-798a267c4cb9",
"answer_text": "Allen Fieldhouse"
},
{
"_id": "17c2dbc0-c028-4166-83e6-03f85903e428",
"answer_text": "Self Arena"
},
{
"_id": "0ab0bebb-762b-4572-9029-d5ec83aff776",
"answer_text": "HawkHaus"
}
]
}
],
"focus_areas": "Figure out how well people know KU basketball"
}
},
"user": {
"_id": {
"$oid": "6564f7489b169c4bf01b06f0"
},
"email": "foofoofoo@gmail.com",
"companyId": {
"$oid": "6564f7489b169c4bf01b06ef"
},
"company": "John Foo's Organization 21735"
},
"status": "unassigned",
"quizGenerationStatus": "IN_PROGRESS",
"createdAt": {
"$date": "2024-02-23T18:48:04.453Z"
},
"updatedAt": {
"$date": "2024-02-23T18:49:01.014Z"
},
"__v": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment