I am trying to generate a quiz from a text that look like this:
Text: "Mary has little lamb and John has a cow. The lamb is one month old. It eats grass and milk, which Mary brings from the the farm."
Keywords: "lamb", "cow", "one month old", "farm."
1. What does Mary have?
A. Lamb
B. Cow
C. Dog
D. Cat
A. Lamb
2. What does John have?
A. Cow
B. Lamb
C. Dog
D. Cat
A. Cow
3. How old is Mary's lamb?
A. One month old
B. One year old
C. Two months old
D. Two years old
etc.
It works perfectly when I don't give keywords, with multiple prompts, with all these answer options, correct answer, everything. The problem is when I want to generate these questions such that the correct answer is the keyword. I tried all kinds of prompts, even giving examples like what I did above, but it doesn't work.