Wiris

Documentation / LearningLemur

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • LearningLemur
                        • Using LearningLemur
                        • Creating questions with AI in LearningLemur
                        • Creating questions with AI in LearningLemur

                        Writing effective prompts for AI question generation

                        Reading time: 2min

                        The quality of AI-generated questions in LearningLemur depends directly on the prompt you provide. A well-written prompt helps the system generate questions that match your intended topic, difficulty level, and structure.

                        This article explains how to write effective prompts and how to improve the quality of generated questions.

                        What It Is

                        A prompt is a textual description that tells the AI what kind of questions to generate. It defines:

                        • The mathematical topic
                        • The type of task
                        • The expected level of difficulty
                        • Any specific constraints

                        The AI uses this information to generate question drafts.

                        Why It Matters

                        The AI does not infer context beyond what you explicitly provide. A vague prompt may produce:

                        • Unclear questions
                        • Inconsistent difficulty
                        • Missing requirements

                        A precise prompt leads to:

                        • More accurate questions
                        • Better alignment with your goals
                        • Less manual editing

                        How It Works

                        Principle 1: Be specific about the topic

                        Clearly describe the mathematical concept.

                        • Good: Solve linear equations with one variable
                        • Too vague: Math problems

                        Principle 2: Specify the task type

                        Indicate what students are expected to do.

                        • Good: Create problems where students must simplify fractions
                        • Ambiguous: Fractions

                        Principle 3: Define the difficulty level

                        Mention the target level or constraints.

                        • Good: For middle school students with integer results
                        • Missing context: Solve equations

                        Principle 4: Add constraints when needed

                        Include any requirements that affect the structure of the question.

                        • Good:
                          • Require answers in simplified form
                          • Use numbers between 1 and 10
                          • Include units in the answer

                        Principle 5: Combine multiple instructions

                        A strong prompt combines topic, task, and constraints.

                        • Example: Create 3 open-answer questions where students solve linear equations with one variable. Use integer coefficients and require simplified answers.

                        Key Rules or Behaviours

                        • The AI relies entirely on the prompt content
                        • Missing information leads to less predictable results
                        • More detailed prompts generally produce better outputs
                        • Overly complex prompts may produce inconsistent results

                        Examples

                        Example 1

                        Prompt Create fraction addition problems
                        Result
                        • Generic questions
                        • Variable difficulty
                        • Minimal constraints

                        Example 2

                        Prompt Create 3 open-answer questions where students add two fractions and provide the result in simplified form. Use denominators between 2 and 10.
                        Result
                        • Clear structure
                        • Controlled difficulty
                        • Consistent output

                        Example 3

                        Prompt Create 2 multiple-choice questions about solving linear equations. Include one correct answer and three distractors based on common mistakes.
                        Result
                        • Better alignment with question type
                        • More usable output (though distractors may still need review)

                        Common Misunderstandings

                        Misconception: The AI will infer the intended difficulty

                        Clarification: Prompts guide generation, but manual review is always required.

                        Misconception: The AI will generate complete, ready-to-use questions

                        Clarification: Prompts should be clear and structured, not overly verbose.

                        Misconception: Adding more text always improves results

                        Clarification: Prompts should be clear and structured, not overly verbose.

                        Related Concepts

                        • How AI question generation works in LearningLemur
                        • Creating questions in LearningLemur
                        • Understanding Question Types in Learning Lemur

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Basic Guide to Question Creation with WirisQuizzes
                        • WirisQuizzes Moodle Plug-In
                        • WirisQuizzes Answer Types

                        Writing effective prompts for AI question generation

                        What It Is Why It Matters How It Works Principle 1: Be specific about the topic Principle 2: Specify the task type Principle 3: Define the difficulty level Principle 4: Add constraints when needed Principle 5: Combine multiple instructions Key Rules or Behaviours Examples Example 1 Example 2 Example 3 Common Misunderstandings Misconception: The AI will infer the intended difficulty Misconception: The AI will generate complete, ready-to-use questions Misconception: Adding more text always improves results Related Concepts

                        Making people’s STEM work more meaningful

                        MathType

                        • MathType for Office Tools
                        • MathType for Mac
                        • MathType for Microsoft 365
                        • MathType for Google Workspace
                        • MathType for LMS
                        • MathType for XML Editors
                        • Arabic notation
                        • Our products accessibility
                        • MathType is online

                        WirisQuizzes

                        Learning Lemur

                        Solutions for Education

                        • Blackboard Learn
                        • Brightspace by D2L
                        • Canvas
                        • Google Classroom
                        • Moodle
                        • Schoology

                        Solutions for Publishing Houses

                        Solutions for Technical Writers

                        Solutions for Chemistry

                        Integrations

                        • HTML Editors
                        • MathType in WordPress

                        Pricing

                        Company

                        Careers

                        Blog

                        Contact Us

                        Buy Now

                        Plugin Downloads

                        © Wiris 2025

                        • Cookie Settings
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Powered by Helpjuice
                        Expand