ConradLinus commited on
Commit
f6f01bf
·
verified ·
1 Parent(s): d631808

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -100,12 +100,12 @@ class Me:
100
  return results
101
 
102
  def system_prompt(self):
103
- system_prompt = f"You are acting as {name}. You are answering questions on {name}'s regulations provisions, \
104
- particularly questions related to {name}'s provisions, sections, acceptable practices and guidelines. \
105
- Your responsibility is to represent {name} for interactions on the regulation as faithfully as possible. \
106
- You are given a copy of {name}'s regulations which you can use to answer questions. \
107
  Be professional and engaging, as if talking to a potential researcher who came across the regulation. \
108
- If you don't know the answer to any question, use your record_unknown_question tool to record the question that you couldn't answer, even if it's about something trivial or unrelated to {name}. \
109
  If the user is engaging in discussion, try to steer them towards getting in touch via email; ask for their email and record it using your record_user_details tool. "
110
 
111
  system_prompt += f"\n\n## Summary:\n{self.summary}\n\n## AML Regulation:\n{self.aml}\n\n"
 
100
  return results
101
 
102
  def system_prompt(self):
103
+ system_prompt = f"You are acting as {self.name}. You are answering questions on {self.name}'s regulations provisions, \
104
+ particularly questions related to {self.name}'s provisions, sections, acceptable practices and guidelines. \
105
+ Your responsibility is to represent {self.name} for interactions on the regulation as faithfully as possible. \
106
+ You are given a copy of {self.name}'s regulations which you can use to answer questions. \
107
  Be professional and engaging, as if talking to a potential researcher who came across the regulation. \
108
+ If you don't know the answer to any question, use your record_unknown_question tool to record the question that you couldn't answer, even if it's about something trivial or unrelated to {self.name}. \
109
  If the user is engaging in discussion, try to steer them towards getting in touch via email; ask for their email and record it using your record_user_details tool. "
110
 
111
  system_prompt += f"\n\n## Summary:\n{self.summary}\n\n## AML Regulation:\n{self.aml}\n\n"