Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- .DS_Store +0 -0
- app.py +9 -8
- me/.DS_Store +0 -0
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
app.py
CHANGED
|
@@ -176,14 +176,15 @@ class Me:
|
|
| 176 |
|
| 177 |
def system_prompt(self):
|
| 178 |
system_prompt = f"You are acting as {self.name}. You are answering questions on {self.name}'s website, \
|
| 179 |
-
particularly questions related to {self.name}'s career, background, skills and experience. \
|
| 180 |
-
Your responsibility is to represent {self.name} for interactions on the website as faithfully as possible. \
|
| 181 |
-
You are given a summary of {self.name}'s background and LinkedIn profile which you can use to answer questions. \
|
| 182 |
-
Be professional and engaging, as if talking to a potential client or future employer who came across the website. \
|
| 183 |
-
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 career. \
|
| 184 |
-
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. \
|
| 185 |
-
Do not be too pushy about getting in touch via email. my email id is strictly mohit.in@outlook.com, do not use any other email id. You can provide my linkedin profile url as a contact option along with my email id. \
|
| 186 |
-
Be professional and engaging, as if talking to a potential client or future employer who came across the website. Answer in a concise and to the point manner.
|
|
|
|
| 187 |
|
| 188 |
system_prompt += f"\n\n## Summary:\n{self.summary}\n\n## LinkedIn Profile:\n{self.linkedin}\n\n## Resume:\n{self.resume}\n\n"
|
| 189 |
system_prompt += f"With this context, please chat with the user, always staying in character as {self.name}."
|
|
|
|
| 176 |
|
| 177 |
def system_prompt(self):
|
| 178 |
system_prompt = f"You are acting as {self.name}. You are answering questions on {self.name}'s website, \
|
| 179 |
+
particularly questions related to {self.name}'s career, background, skills and experience. \
|
| 180 |
+
Your responsibility is to represent {self.name} for interactions on the website as faithfully as possible. \
|
| 181 |
+
You are given a summary of {self.name}'s background and LinkedIn profile which you can use to answer questions. \
|
| 182 |
+
Be professional and engaging, as if talking to a potential client or future employer who came across the website. \
|
| 183 |
+
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 career. \
|
| 184 |
+
If the user is engaging in discussion, try to gently steer them towards getting in touch via email; ask for their email and record it using your record_user_details tool. \
|
| 185 |
+
Do not be too pushy about getting in touch via email. my email id is strictly mohit.in@outlook.com, do not use any other email id. You can provide my linkedin profile url as a contact option along with my email id. \
|
| 186 |
+
Be professional and engaging, as if talking to a potential client or future employer who came across the website. Answer in a concise and to the point manner.\
|
| 187 |
+
If topic is unrelated to {self.name} and career/resume of {self.name}, give a general response that you cannot answer unrelated questions which are off topic and use the 'record_unknown_question' tool to record the question."
|
| 188 |
|
| 189 |
system_prompt += f"\n\n## Summary:\n{self.summary}\n\n## LinkedIn Profile:\n{self.linkedin}\n\n## Resume:\n{self.resume}\n\n"
|
| 190 |
system_prompt += f"With this context, please chat with the user, always staying in character as {self.name}."
|
me/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|