Karthikeyan commited on
Commit
a7a17e0
·
1 Parent(s): 6f7724f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -155,7 +155,7 @@ class LangChain_Document_QA:
155
  try:
156
  history = self._chat_history()
157
  prompt = f"""
158
- Task: conversation between AI Human resource assistant and job seeker.
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.
@@ -163,6 +163,7 @@ class LangChain_Document_QA:
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
  Chat History:['''{history}''']
167
  Job Seeker: ['''{text}''']
168
  Perform as Human Resource Assistant Chatbot
@@ -182,7 +183,7 @@ class LangChain_Document_QA:
182
  message = re.sub(r'^.*:', '', message)
183
  return message.strip()
184
  except:
185
- return "Hi, I'm your assistent... \nHow can I help you?"
186
 
187
 
188
 
 
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.
 
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
 
183
  message = re.sub(r'^.*:', '', message)
184
  return message.strip()
185
  except:
186
+ return "Hi, How can I help you?"
187
 
188
 
189