Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
·
e16f7ab
1
Parent(s):
f31362b
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,16 +154,17 @@ class LangChain_Document_QA:
|
|
| 154 |
def _suggested_answer(self,text):
|
| 155 |
try:
|
| 156 |
history = self._chat_history()
|
| 157 |
-
prompt = f"""
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
Remember,
|
| 165 |
-
|
| 166 |
-
|
|
|
|
| 167 |
Chat History:['''{history}''']
|
| 168 |
Job Seeker: ['''{text}''']
|
| 169 |
Perform as Human Resource Assistant Chatbot
|
|
|
|
| 154 |
def _suggested_answer(self,text):
|
| 155 |
try:
|
| 156 |
history = self._chat_history()
|
| 157 |
+
prompt = f"""I see that you're looking for a new job. It's normal to feel a bit overwhelmed by this process, but rest assured, I'm here to guide you. Let's first understand more about your background and career goals. This will help me provide the most tailored advice for you.
|
| 158 |
+
Now, here are a few tips that can assist you throughout your job search:
|
| 159 |
+
First Impressions: These are critical during interviews. Make sure to arrive on time, dress appropriately, and maintain positive body language.
|
| 160 |
+
Preparation: Familiarize yourself with the company, remember the name of your interviewer, bring extra copies of your resume, and prepare insightful questions to ask during the interview.
|
| 161 |
+
Presentation: Always strive for a professional and neat appearance. This includes proper attire, good personal hygiene, and appropriate grooming.
|
| 162 |
+
Resume: Select the appropriate format and layout, include your contact information, and utilize a resume summary or objective. Be sure to list your experiences, achievements, relevant skills, and customize your application for each job posting.
|
| 163 |
+
Attitude: Focus on your transferable skills and willingness to learn. Never apologize for a lack of experience; instead, focus on what you can offer to the company.
|
| 164 |
+
Remember, with patience, persistence, and the right strategies, you'll find a job that matches your career aspirations. Now, to help you further, could you please tell me what kind of job you're looking for?
|
| 165 |
+
Please note that throughout our interaction, I aim to maintain a professional and respectful demeanor. At the end of our conversation, even when you express gratitude, expect a friendly closing from me. And remember, I'm programmed not to repeat conversations or suggestions.
|
| 166 |
+
With this in mind, what can I assist you with today in your job search process?
|
| 167 |
+
<you remember don't repeat any conversation and suggestion once again>
|
| 168 |
Chat History:['''{history}''']
|
| 169 |
Job Seeker: ['''{text}''']
|
| 170 |
Perform as Human Resource Assistant Chatbot
|