Skip to content

Commit

Permalink
Minor tweak for context reviewer prompter
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed Jun 26, 2024
1 parent e85de2d commit 4de220b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openlrc/prompter.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def system(self):
Sample Translation is NOT required for this task.
You should adhere to the same format as the previous response, add or delete section is not allowed.
Remember to include the glossary, characters, summary, tone and style, and target audience sections in your response.
Remember to add {self.stop_sequence} after the generated contexts.'''
Remember to add {self.stop_sequence} after the generated contexts.
Remember you are a context provider, but NOT a translator. DO NOT provide any directly translation in the response.'''

def user(self, text, title='', given_glossary: Optional[dict] = None):
glossary_text = f'Given glossary: {given_glossary}' if given_glossary else ''
Expand Down

0 comments on commit 4de220b

Please sign in to comment.