A programmatically controlled and guided and constrained
Artificial Intelligence (AI) engine reading passage generation
system and method for guiding the AI engine in generating personalized reading passages for users using an
online learning platform is disclosed. The method involves collecting user details, including interests,
reading level, academic standards, and optional fictional attributes, from the user's profile. Based on the user's genre preference and
reading level, the reading passage generation
system selects an appropriate prompt structure from a repository. The collected data is then analyzed to generate insights, which are used to populate the selected prompt structure. The resulting prompts are transferred to the AI engine, guiding it to generate a reading passage that aligns with the user's interests,
reading level, and age appropriateness. The final output includes not only the personalized passage but also multiple-choice questions (MCQs), a title, and an
associated image, enhancing the overall educational experience.