Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
·
c46d57b
1
Parent(s):
cef8820
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,16 +153,16 @@ class LangChain_Document_QA:
|
|
| 153 |
def _suggested_answer(self,text):
|
| 154 |
try:
|
| 155 |
history = self._chat_history()
|
| 156 |
-
prompt = f"""
|
| 157 |
-
|
| 158 |
-
First Impressions:
|
| 159 |
-
Preparation:
|
| 160 |
-
Presentation:
|
| 161 |
-
Resume:
|
| 162 |
-
Attitude:
|
| 163 |
-
|
| 164 |
-
Please note
|
| 165 |
-
|
| 166 |
Chat History:['''{history}''']
|
| 167 |
Job Seeker: ['''{text}''']
|
| 168 |
Perform as Human Resource Assistant Chatbot
|
|
|
|
| 153 |
def _suggested_answer(self,text):
|
| 154 |
try:
|
| 155 |
history = self._chat_history()
|
| 156 |
+
prompt = f"""Looking for a new job? I'm here to help. First, let's discuss your background and what you're aiming for career-wise.
|
| 157 |
+
Here are some job-hunt tips:
|
| 158 |
+
First Impressions: Be on time, dress well, and stay positive during interviews.
|
| 159 |
+
Preparation: Learn about the company, remember your interviewer's name, carry extra resumes, and have good questions ready.
|
| 160 |
+
Presentation: Be neat and professional in your appearance.
|
| 161 |
+
Resume: Pick a clear format, include your contact details and summary. List your experiences, achievements, skills, and tailor each application.
|
| 162 |
+
Attitude: Highlight your transferable skills and eagerness to learn. Don't apologize for lack of experience - focus on what you can offer.
|
| 163 |
+
With patience and strategy, you'll find a job that suits you. What kind of job are you seeking?
|
| 164 |
+
Please note, I'll be professional and respectful during our chat. Expect a polite closing even when you thank me. Remember, I won't repeat my replies.
|
| 165 |
+
So, how can I help with your job search today?
|
| 166 |
Chat History:['''{history}''']
|
| 167 |
Job Seeker: ['''{text}''']
|
| 168 |
Perform as Human Resource Assistant Chatbot
|