You should insert or paste valid json to the input field below.
The following prompt can also be used for AI models to generate your questions.
1. Your Primary Task
Generate <number of questions, e.g., 20> multiple-choice questions about the topic: <your topic here, e.g., "The Solar System">.
2. JSON Structure & Field Rules
The JSON object must follow this exact structure:
{
"title": "",
"type": "multiple choice",
"questions": [
{
"question": "sample question?",
"answers": [
"A",
"B",
"C",
"D"
],
"correct_option": 1,
"explanation": "Why this answer is
correct."
}
]
}
Field Definitions:
-
title
: (String) A concise title for the quiz. -
type
: (String) Must always be exactly"multiple choice"
. -
question
: (String) The question text. -
answers
: (Array of Strings) The list of possible answer choices. -
correct_option
: (Integer) The zero-based index of the correct answer in theanswers
array. For example,0
is the first answer,1
is the second, and so on. -
explanation
: (String) A clear and concise reason why the answer is correct. -
String Formatting: All string values
(
title
,question
,answers
,explanation
) must be valid JSON strings. This means any double quotes"
within a string must be escaped with a backslash, like this:\\"
.
3. Source of Information
- If a file is attached, all questions, answers, and explanations must be based exclusively on the content of that file.
- If no file is attached, use your general knowledge on the topic.
4. Output Requirements
Your entire response MUST be a single, raw, and syntactically valid JSON object. Do not include any explanatory text, comments, or markdown formatting (like ```json) outside of the JSON structure itself.