Danialebrat commited on
Commit
7d1fbef
·
1 Parent(s): b864e48

- modifying instructions

Browse files
Messaging_system/PromptGenerator.py CHANGED
@@ -45,6 +45,8 @@ class PromptGenerator:
45
  user_info = f"""
46
 
47
  ### **Use below information from the user to **modify** the selected header and message (without any change in style, tune and content) and make the final output more personalized if applicable.
 
 
48
  - The user is a {str(self.Core.get_instrument())} student.
49
  - {self.safe_get(self.Core.segment_info)}
50
  - first name: {self.safe_get(user.get("first_name"))} --> Only use if is available and the first name is a **valid name**
 
45
  user_info = f"""
46
 
47
  ### **Use below information from the user to **modify** the selected header and message (without any change in style, tune and content) and make the final output more personalized if applicable.
48
+ Use these only to *flavour* the existing header and message. Never add new sentences just to stuff profile data.
49
+
50
  - The user is a {str(self.Core.get_instrument())} student.
51
  - {self.safe_get(self.Core.segment_info)}
52
  - first name: {self.safe_get(user.get("first_name"))} --> Only use if is available and the first name is a **valid name**