File size: 4,305 Bytes
691ae91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
similar_phrase_generate_prompt = 'Please generate {num} new phrases with the same structure by replacing a word in ' \
                                 '<{phrase}>. The newly replaced word should belong to a simple vocabulary and have a' \
                                 ' different meaning from the replaced word but the same part of speech'

similar_sentence_generate_prompt = 'Please generate a sentence with the same sentence structure as <{sentence}>' \
                                   ' using simple vocabulary'



# sentence_complete_question_generate_prompt = """
#
# 请根据句子“Hanging out with friends is almost impossible for me now because there are always guards around me”生成一道选择题。题目分为三部分,分别是题干、选项和答案。具体做法是:
#
# 1、将句子随机挖空一部分,挖空部分用____代替,并将其作为题干。
#
# 2、将挖空部分作为正确答案;
#
# 3、生成3个跟正确答案结构一致的短语,并与正确答案一起作为题目的选项
#
# 4、最后将答案所在选项一起返回
# """


sentence_complete_question_generate_prompt = 'Assuming you are an English teacher and a question consists of three ' \
                                             'parts: the stem, options, and answer. please provide a multiple-choice ' \
                                             'question based on the sentence <{sentence}>.The specific steps are: ' \
                                             'Randomly blank out a part of the sentence and replace it with ____ to ' \
                                             'create the stem.Generate {num} new phrases/words that are ' \
                                             'structurally consistent with the blanked-out part and include the new ' \
                                             'phrases/words and blanked-out part as the options.Use the blanked-out ' \
                                             'part as the answer. For example:' \
                                             'Stem: And now it is time to ____, we will leave our lovely school ' \
                                             'Options: A: celebrate  B: say goodbye C: take a break D: graduate' \
                                             'Answer: D: graduate ' \


grammar_question_generate_prompt = 'Assuming you are an English teacher  and a question consists of three parts: the ' \
                                   'stem, options, and answer. Please provide a sentence completion type ' \
                                   'multiple-choice question to test students understanding of the grammar rule' \
                                   ' <{grammar}>.The specific steps are: Generate a sentence using this ' \
                                   'grammar rule with simple vocabulary. Blank out the part related to the grammar ' \
                                   'of this sentence. Use the sentence that has been blanked out as the stem.'\
                                   'Generate {num} phrases/words with the same meaning but different usage using ' \
                                   'the blanked-out part and include the new phrases/words and blanked-out part as ' \
                                   'the options.Use the blanked-out part as the correct answer.For example:' \
                                   'Stem: And now it is time to ____, we will leave our lovely school ' \
                                   'Options: A: celebrate  B: celebrating C: celebrated D: celebrates ' \
                                   'Answer: D: graduate'


reading_comprehension_question_generate_prompt = 'please generate {generate_number} difficult multiple-choice ' \
                                                 'questions and attach the answer to each question according the ' \
                                                 'paragraph below. Each question should have four choices and only ' \
                                                 'one of them is the right answer.'


assay_correct_prompt = '你是一个英语老师,现在正在批改学生的英语作文。你会用中文说明并逐一标记出每个英语语法错误,并且说明如何改正;' \
                       '最后,给出完整的正确作文。'