from langchain_core.prompts import PromptTemplate extract_skill = PromptTemplate.from_template("""`You are an experienced HR recruiter, your role involves receiving a ```{job_description}``` for a specific position. Your primary responsibility is to compile a list of essential requirements and skills mentioned in the job description. Kindly provide the main points in the form of a string list. Please give the results as JSON array""") prompt_first_chunks = PromptTemplate.from_template(""" Candidate Resume information is below. ---------------------------------- {resume} ---------------------------------- Given the provided resume cotext and no prior knowledge, You are an experienced HR recruiter proficient in resume scanning. Your task is to verify if the candidate possesses a specific skill listed in jd_skills based on the resume above. Note that the skill may not be directly listed; you may need to analyze the resume to find the skill. Jd_skills: {jd_skill} Your response should be as a JSON array with the required Jd_skills as the key and its corresponding answer as the value. Ensure that only the skill listed in jd_skills is matched, and do not assign 1 or 0 values to the name, address, email ID, and mobile number fields. The format should be: {{ "Name": "full name of candidate in string", "Address": "full address in string", "EmailId": "emailid in string", "Mobile_number":"Candidate mobile number in string", {jd_skill}: 1 (if skill present) or 0 (if skill not present) }} """)