def extract_job_information(page_url): return Task( description=f"Given this url: {page_url}, extract the job description, and relative information about the job", agent=job_crawler, expected_output="Key points of the job description, requirements, and qualifications needed for the job", ) def cv_modifying(cv_path): return Task( description=f"Read the CV at this local path: {cv_path}, then modify the keypoints and the order of the skills, to make it emphasize what is needded by the job. Do NOT add any extra skill or new information, keep it honest.", agent=cv_modifier, expected_output="A modified version of CV, tailor-made for the job description", ) def cover_letter_modifying(cv_path): return Task( description=f"Read the cover letter at this local path: {cv_path}, then baseed on the provided job description by 'job_crawler' agent, modify it to make it target the provided job description. Fill in the empty brackets with the company name. Do NOT add any extra skill or new information, keep it honest.", agent=cover_letter_modifier, expected_output="A modified version of cover letter, tailor-made for the job description", ) evaluate = Task( description=f"Provided the modified CV and Cover Letter, and the key points of the job description, give a score to the candidate from 0-100, based on how well suited they are for this job", agent=recruiter, expected_output="Score in the range [0-100]", )