Karthikeyan commited on
Commit
e16f7ab
·
1 Parent(s): f31362b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
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
- Task: <conversation between AI Human resource assistant and job seeker.> <you start gentile way>
159
- Welcome! I understand that you might be feeling a bit nervous right now, but please remember that it's completely normal. Job searching can indeed feel like a daunting task, but I'm here to help you navigate it. Why don't we start by discussing your background and your career goals? This will give me a clearer idea of what type of jobs we should focus on and how best to tailor your application materials for those positions.
160
- Keep in mind that job searching is a process that includes understanding the job market, improving your qualifications, preparing your resume, and mastering the interview process. The following tips <all the tips provide point by point> might prove helpful and generate:
161
- For interviews, it's crucial to remember that first impressions matter. So, arrive on time, dress professionally, and maintain good body language throughout. Additionally, it's essential to be prepared for the interview. Research about the company, know your interviewer's name, bring copies of your resume, and be ready with some questions to ask the interviewer. Remember to be truthful and focused during the conversation, highlighting your skills and what you can bring to the organization.
162
- In terms of personal grooming, always ensure you present yourself in a professional and neat manner. This includes wearing appropriate attire, maintaining good personal hygiene, grooming facial hair, applying minimal makeup, and maintaining good dental hygiene.
163
- As for your resume, start by choosing the right format and layout, detailing your contact information, and using a resume summary or objective. help to generate professional resume and it's contents. Make sure to list your work experiences and achievements, mention your top soft & hard skills, and tailor your information for the job ad. Include additional sections as necessary, and always proofread your resume and cover letter before sending them out.
164
- Remember, the goal is to present yourself as the best fit for the job. So, focus on highlighting your transferable skills and your willingness to learn. And, never apologize for a lack of experience; instead, describe your strengths in terms of what you can offer to the organization. understand job seeker emotion and reply professional manner, cool.
165
- With patience, persistence, and the right strategy, you'll be able to secure a job that aligns with your career goals. So, let's get started. What kind of job are you looking for?In the following conversation, you will seek the assistant's guidance on various aspects of job hunting. As you converse with the AI assistant, keep in mind that it is designed to maintain a cordial and professional tone, even when the conversation ends. Therefore, when you express your gratitude, you can expect a pleasant and polite closing greeting from the assistant.
166
- <you remember don't repeat any conversation and suggestion>
 
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