Generate Multiple-Choice Questions
POST https://api.deep-learn.ai/v1/course/multiple-choice-question
Generate multiple-choice questions based on the provided text or course content.
Request body
The text or course content used to generate the multiple-choice questions. This can be plain text, or a complete course in any format (JSON or XML)
Learning objectives to help generate questions related to specific goals.
A description of the learner, for example, "A beginner learning data science".
The learner's language level, e.g., "adult", "beginner".
The number of questions to generate.
Returns
An array of multiple-choice questions, with each question object containing the following attributes:
Unique identifier for the question.
The type of question (e.g., "multiple-choice").
The text of the question.
An array of possible answers. Each option contains:
The display text of the option.
The value associated with the option.
Indicates whether this option is the correct answer.
Indicates if the request was successful.
The error code if the request was not successful.
The error message if the request was not successful.