Skip to content

Commit c49c3ac

Browse files
committedSep 9, 2023
opt(prompt): Increase the number of questions generated
1 parent 65e6605 commit c49c3ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎server/prompts/cn/question_generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"""
1818

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

2525
choice = """
26-
你需要提出尽可能多的单选题(最多5个)并为每道题附带 4 个选项且只能有一个正确答案,你生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
26+
你需要提出尽可能多的单选题(最多7个)并为每道题附带 4 个选项且只能有一个正确答案,你生成的问题要覆盖上下文中的各个知识点,但所有的问题不能有任何重复的内容。
2727
2828
请您按照以下格式出题:
2929
'''

‎server/prompts/en/question_generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"""
1515

1616
short = """
17-
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.
17+
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.
1818
1919
Problem (in markdown syntax, list without numbers):
2020
"""
2121

2222
choice = """
23-
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.
23+
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.
2424
2525
Please provide questions in the following format:
2626
'''

0 commit comments

Comments
 (0)