make grammar correction prompt more clear
This commit is contained in:
		
							parent
							
								
									44a605e766
								
							
						
					
					
						commit
						b5b0f6a3ce
					
				@ -21,12 +21,20 @@ def get_functionals():
 | 
			
		||||
            "Suffix":   r"",
 | 
			
		||||
        },
 | 
			
		||||
        "查找语法错误": {
 | 
			
		||||
            "Prefix":   r"Below is a paragraph from an academic paper. " +
 | 
			
		||||
                        r"Can you help me ensure that the grammar and the spelling is correct? " +
 | 
			
		||||
            "Prefix":   r"Can you help me ensure that the grammar and the spelling is correct? " +
 | 
			
		||||
                        r"Do not try to polish the text, if no mistake is found, tell me that this paragraph is good." +
 | 
			
		||||
                        r"If you find grammar or spelling mistakes, please list mistakes you find in a two-column markdown table, " +
 | 
			
		||||
                        r"put the original text the first column, " +
 | 
			
		||||
                        r"put the corrected text in the second column and highlight the key words you fixed." + "\n\n",
 | 
			
		||||
                        r"put the corrected text in the second column and highlight the key words you fixed.""\n"
 | 
			
		||||
                        r"Example:""\n"
 | 
			
		||||
                        r"Paragraph: How is you? Do you knows what is it?""\n"
 | 
			
		||||
                        r"| Original sentence | Corrected sentence |""\n"
 | 
			
		||||
                        r"| :--- | :--- |""\n"
 | 
			
		||||
                        r"| How **is** you? | How **are** you? |""\n"
 | 
			
		||||
                        r"| Do you **knows** what **is** **it**? | Do you **know** what **it** **is** ? |""\n"
 | 
			
		||||
                        r"Below is a paragraph from an academic paper. "
 | 
			
		||||
                        r"You need to report all grammar and spelling mistakes as the example before."
 | 
			
		||||
                        + "\n\n",
 | 
			
		||||
            "Suffix":   r"",
 | 
			
		||||
            "PreProcess": clear_line_break,    # 预处理:清除换行符
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user