Skip to content

Commit

Permalink
opt(prompt): Increase the number of questions generated
Browse files Browse the repository at this point in the history
  • Loading branch information
codeacme17 committed Sep 9, 2023
1 parent 65e6605 commit c49c3ac
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/prompts/cn/question_generate.py
Original file line number Diff line number Diff line change
@@ -17,13 +17,13 @@
"""

short = """
您需要提出尽可能多的问题(最多7个),您生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
您需要提出尽可能多的问题(最多10个),您生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
问题(以markdown语法,不携带数字的列表):
"""

choice = """
你需要提出尽可能多的单选题(最多5个)并为每道题附带 4 个选项且只能有一个正确答案,你生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
你需要提出尽可能多的单选题(最多7个)并为每道题附带 4 个选项且只能有一个正确答案,你生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
请您按照以下格式出题:
'''
4 changes: 2 additions & 2 deletions server/prompts/en/question_generate.py
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@
"""

short = """
You need to ask as many questions as possible (up to 7), and the questions you generate should cover various knowledge points in context, but all questions must not have any repetitive content.
You need to ask as many questions as possible (up to 10), and the questions you generate should cover various knowledge points in context, but all questions must not have any repetitive content.
Problem (in markdown syntax, list without numbers):
"""

choice = """
You need to present as many single-choice questions as possible (up to 5), each with 4 options and only one correct answer. The questions you generate should cover various aspects of the context's content, but there should be no duplicate content among all the questions.
You need to present as many single-choice questions as possible (up to 7), each with 4 options and only one correct answer. The questions you generate should cover various aspects of the context's content, but there should be no duplicate content among all the questions.
Please provide questions in the following format:
'''

0 comments on commit c49c3ac

Please sign in to comment.