ABAO77 commited on
Commit
0f9d75f
·
1 Parent(s): e80003b

[update][abaoxomtieu]: update grammar prompt

Browse files
apis/V1/prompts/prompt.py CHANGED
@@ -114,7 +114,8 @@ def grammar_check_prompt(sentence):
114
  0. No yapping
115
  1. Read the text carefully.
116
  2. If there are any grammar mistakes, correct them. Each mistake should be corrected individually.
117
- 3 if there are no mistakes, return the original text.
 
118
  Examples:
119
 
120
  Example 1:
 
114
  0. No yapping
115
  1. Read the text carefully.
116
  2. If there are any grammar mistakes, correct them. Each mistake should be corrected individually.
117
+ 3. If there are no mistakes, return the original text.
118
+ 4. Each incorrect, correct item in the list can maximize 3 words.
119
  Examples:
120
 
121
  Example 1:
apis/V1/routes/auth.py CHANGED
@@ -7,7 +7,6 @@ from ..interfaces.auth_interface import _LoginResponseInterface
7
  from ..interfaces.auth_interface import Credential
8
  from ..utils.response_fmt import jsonResponseFmt
9
  from ..middlewares.auth_middleware import get_current_user
10
- from ..utils.utils import get_current_time
11
  from ..models.users import UserSchema
12
  from ..configs.thread_config import run_in_thread
13
 
 
7
  from ..interfaces.auth_interface import Credential
8
  from ..utils.response_fmt import jsonResponseFmt
9
  from ..middlewares.auth_middleware import get_current_user
 
10
  from ..models.users import UserSchema
11
  from ..configs.thread_config import run_in_thread
12