假如你是一个老师,让学生学了不少知识点,想测试一下,让AI根据所学知识点生成试卷,怎么办呢?

可以使用唐库的批量生成工具完美完成这个任务,下面举例子一步一步完成。

唐库:tanglib.org 是一个AI批量创作平台。

假设知识点就是新学了几十个英文词汇(可以更换为任何知识点),在唐库中新建一个专辑,添加一篇文章名字叫做“生词”,输入以下内容,每个单词以空行分隔(即每个知识点以空行分隔):

  1. din
  2. accent
  3. shrill
  4. whistle
  5. yelp
  6. whisper
  7. jingle
  8. pronounce
  9. rattle
  10. chorus

点保存,记住这篇文章括号末尾的数字为2,即为2号文章。

然后点击左上第8个按钮“用AI批量编辑文章”,弹出对话框如下:
生成试卷1.png

填入如下内容:

1,指定文章,输入2,即2号文章;

2,处理单元,选择 每个段落(用空行分隔),上面的知识点是用空行分隔的;

3,Prompt,粘贴以下文版本:请生成一道英文完形填空题,并提供ABCD四个答案,正确答案是$unit_text, 其它3个答案容易与正确答案混淆, 正确答案随机分布在ABCD中,正确答案的ABCD前面加个✓,请直接返回题目和ABCD四个答案,不要加多余的话,不要标题。

4,生成位置,选择生成新文章。输入框输入:$no(1), $ai_created

生成试卷2.png

然后点击“检查任务”,显示:“查找全部,找到 10 处:”,这是对的,我们有10个单词,需要生成10道题,现在可以点击“开始任务”,显示 “服务器调用AI任务已开始,请等待一段时间点击查看结果!”,你可以每隔1分钟点击一下“查看结果”,用不了2分钟,10道试题就生成了,关闭对话框,点击左侧目录区右上角的刷新按钮,即可看到新生成的文章“@new_生词(3)”,点击它,即可看到AI生成的试题如下:

  1. 1, The old house was filled with a constant _____ from the nearby factory, making it hard to concentrate.
  2. A. noise
  3. B. sound
  4. C. din
  5. D. racket
  6. 2, The tourist struggled to understand the local's speech due to his strong regional _______.
  7. A) access
  8. B) ✓accent
  9. C) accept
  10. D) ascent
  11. 3, The sudden, ______ sound of the alarm startled everyone in the building.
  12. A. soft
  13. B. ✓shrill
  14. C. muffled
  15. D. gentle
  16. 4, The old man taught his grandson how to ___ a tune using his lips.
  17. A. whisper
  18. B. ✓whistle
  19. C. wrestle
  20. D. wrinkle
  21. 5, The lost puppy began to _____ loudly when it couldn't find its owner.
  22. A) yell
  23. B) yelp
  24. C) yank
  25. D) yawn
  26. 6, The teacher asked the students to _____ the answer to their partners so that others wouldn't hear.
  27. A) shout
  28. B) ✓whisper
  29. C) scream
  30. D) yell
  31. 7, The holiday season is always filled with joy, and one of the most recognizable sounds is the cheerful _____ of bells.
  32. A) jangle
  33. ✓B) jingle
  34. C) jungle
  35. D) tingle
  36. 8, The word "colonel" is difficult to ______ correctly because its spelling doesn't match its pronunciation.
  37. A. pronounce
  38. B. pronoun
  39. C. pronouncement
  40. D. pronunciation
  41. 9, The old car's engine began to _____ as it struggled up the steep hill, making everyone inside nervous.
  42. A) rustle
  43. B) ✓rattle
  44. C) ripple
  45. D) rumble
  46. 10, The school's annual musical was a huge success, and the ___ of students singing together was the highlight of the performance.
  47. A. melody
  48. B. chorus
  49. C. harmony
  50. D. rhythm

你可以替换掉其中的✓符号,就得到没有答案的试卷了。

默认是用Deepseek生成的,也可以选择其它AI,调用API需要费用,生成10道题需要多少钱呢?0.6分钱!你没看错,不到1分钱,唐库注册会赠送一些调用,无需充值即可体验。