feder-cr / linkedIn_auto_jobs_applier_with_AI

LinkedIn_AIHawk is a tool that automates the jobs application process on LinkedIn. Utilizing artificial intelligence, it enables users to apply for multiple job offers in an automated and personalized way.
MIT License
11.87k stars 1.84k forks source link

Phone Number Causing Issue #255

Closed waleedbkhalid closed 1 day ago

waleedbkhalid commented 1 week ago

Hi,

The code breaks at not being able to answer the phone number question. Please advise.

here is an error log

Using openai with gpt-4o from https://api.pawan.krd/cosmosrp/v1' hereeee Starting Chrome browser to log in to LinkedIn. Starting the search for Software Tester in USA. Going to job page 0 Starting the application process for this page... invoke in openai prompt messages=[HumanMessage(content="\nAs a seasoned HR expert, your task is to identify and outline the key skills and requirements necessary for the position of this job. Use the provided job description as input to extract all relevant information. This will involve conducting a thorough analysis of the job's responsibilities and the industry standards. You should consider both the technical and soft skills needed to excel in this role. Additionally, specify any educational qualifications, certifications, or experiences that are essential. Your analysis should also reflect on the evolving nature of this role, considering future trends and how they might affect the required competencies.\n\nRules:\nRemove boilerplate text\nInclude only relevant information to match the job description against the resume\n\n# Analysis Requirements\nYour analysis should include the following sections:\nTechnical Skills: List all the specific technical skills required for the role based on the responsibilities described in the job description.\nSoft Skills: Identify the necessary soft skills, such as communication abilities, problem-solving, time management, etc.\nEducational Qualifications and Certifications: Specify the essential educational qualifications and certifications for the role.\nProfessional Experience: Describe the relevant work experiences that are required or preferred.\nRole Evolution: Analyze how the role might evolve in the future, considering industry trends and how these might influence the required skills.\n\n# Final Result:\nYour analysis should be structured in a clear and organized document with distinct sections for each of the points listed above. Each section should contain:\nThis comprehensive overview will serve as a guideline for the recruitment process, ensuring the identification of the most qualified candidates.\n\n# Job Description:\n \nAbout the job\nCANDIDATES MUST HAVE A SECRET SECURITY CLEARANCE OR HIGHER TO BE CONSIDRED\n\nTechnical Skills:\nSkill\nYears/Level of Experience\nPerformance Testing\nP3 – Advanced\nOracle Load Testing\nP3 – Advanced\nAPI Testing\nP3 – Advanced\nJava\nP3 – Advanced\n P1 – Beginner (0-2 yrs experience)\nP2 – Intermediate (3-5 yrs experience)\nP3 – Advanced (7-10 yrs experience\nP4 – Expert (10+ yrs experience)\n Role Description:\nSeeking a skilled Ready API Load Runner Tool Tester to join our dynamic team with 10 years of experience. In this role, you will be responsible for testing web services to ensure their performance, reliability, and scalability under load conditions. The ideal candidate will have a strong background in software testing, particularly in scripting, web, API, performance testing, and extensive experience with Ready API and Load Runner tools.\n Key Responsibilities:\n• Performance Testing: Design, develop, and execute performance test plans and test cases using Ready API and Load Runner to evaluate the performance of web services.\n• Load Testing: Conduct load testing to determine how web services handle varying levels of user traffic and identify performance bottlenecks.\n• Script Development: Create and maintain test scripts to simulate user interactions and measure system performance under load.\n• Monitoring & Analysis: Monitor system performance during tests, analyze results, and generate detailed performance reports.\n• Issue Identification: Identify, document, and report performance issues, and work with development teams to resolve them.\n• Continuous Improvement: Continuously improve testing processes, tools, and methodologies to enhance the accuracy and efficiency of performance testing.\n• Collaboration: Collaborate with cross-functional teams, including developers, QA engineers, and project managers, to ensure performance requirements are met.\n• Documentation: Maintain comprehensive documentation of test plans, test cases, test scripts, and test results.\n Required Skills:\n• Security+ Certification\n• Load Runner\n• Load UI/Ready/API\n• WebLogic\n• Java\n• Performance Center\n Skills (Nice to have)\n• Silk Performer\n• Splunk\n• Postman\n• Oracle Cloud Infrastructure\n Qualification:\n• Computer Science Bachelor\nExperience: Minimum of 10 years of experience in software performance testing, with a focus on web services.\n Technical Skills:\n• Proficiency in Ready API and Load Runner tools.\n• Strong knowledge of web service technologies (REST, SOAP, etc.).\n• Experience with scripting languages such as Groovy, JavaScript, or Python.\n• Familiarity with performance monitoring tools and techniques.\n Analytical Skills: Excellent analytical and problem-solving skills, with the ability to interpret performance test results and identify root causes of issues.\n Communication: Strong verbal and written communication skills, with the ability to effectively convey technical information to non-technical stakeholders.\n Team Player: Ability to work effectively both independently and as part of a team in a fast-paced, collaborative environment.\n\nApex Benefits Overview: Apex offers a range of supplemental benefits, including medical, dental, vision, life, disability, and other insurance plans that offer an optional layer of financial protection. We offer an ESPP (employee stock purchase program) and a 401K program which allows you to contribute typically within 30 days of starting, with a company match after 12 months of tenure. Apex also offers a HSA (Health Savings Account on the HDHP plan), a SupportLinc Employee Assistance Program (EAP) with up to 8 free counseling sessions, a corporate discount savings program and other discounts. In terms of professional development, Apex hosts an on-demand training program, provides access to certification prep and a library of technical and leadership courses/books/seminars once you have 6+ months of tenure, and certification discounts and other perks to associations that include CompTIA and IIBA. Apex has a dedicated customer service team for our Consultants that can address questions around benefits and other resources, as well as a certified Career Coach. You can access a full list of our benefits, programs, support teams and resources within our ‘Welcome Packet’ as well, which an Apex team member can provide.\n \n\n---\n\n# Job Description Summary")] response content="Analyzes the job description\n\nBased on the provided job description, here is a summary of the key skills, requirements, and qualifications:\n\nTechnical Skills:\n\n Ready API and Load Runner tools (P3 - Advanced)\n Performance Testing (P3 - Advanced)\n API Testing (P3 - Advanced)\n Java (P3 - Advanced, P1-P4 levels specified)\n WebLogic\n Performance Center\n Nice-to-have skills: Silk Performer, Splunk, Postman, Oracle Cloud Infrastructure\n\nSoft Skills:\n\n Analytical Skills: Excellent analytical and problem-solving skills\n Communication: Strong verbal and written communication skills\n Team Player: Ability to work effectively both independently and as part of a team\n\nEducational Qualifications and Certifications:\n\n Computer Science Bachelor's degree\n Security+ Certification\n\nProfessional Experience:\n\n Minimum of 10 years of experience in software performance testing, with a focus on web services\n\nRole Evolution:\n\nThe role may evolve to incorporate more advanced technologies and tools, such as cloud-based performance testing and AI-powered analytics. The candidate should be adaptable and willing to learn new skills to stay ahead of the curve. As the industry continues to shift towards microservices architecture and DevOps practices, the tester should be familiar with these concepts and able to apply them to their work.\n\nThis comprehensive analysis provides a clear understanding of the skills, qualifications, and experience required for the Ready API Load Runner Tool Tester role. It will serve as a valuable guide for the recruitment process, helping to identify the most suitable candidates for the position." response_metadata={'token_usage': {'completion_tokens': 359, 'prompt_tokens': 1239, 'total_tokens': 1598}, 'model_name': 'cosmosrp-001', 'system_fingerprint': None, 'finish_reason': 'stop', 'logprobs': None} id='run-da48bc2a-fb01-4743-9eb9-233b4e390317-0' usage_metadata={'input_tokens': 1239, 'output_tokens': 359, 'total_tokens': 1598} invoke in openai prompt messages=[HumanMessage(content="\n You are assisting a bot designed to automatically apply for jobs on LinkedIn. The bot receives various questions about job applications and needs to determine the most relevant section of the resume to provide an accurate response.\n\n For the following question: 'mobile phone number', determine which section of the resume is most relevant. \n Respond with exactly one of the following options:\n - Personal information\n - Self Identification\n - Legal Authorization\n - Work Preferences\n - Education Details\n - Experience Details\n - Projects\n - Availability\n - Salary Expectations\n - Certifications\n - Languages\n - Interests\n - Cover letter\n\n Here are detailed guidelines to help you choose the correct section:\n\n 1. Personal Information:\n - Purpose: Contains your basic contact details and online profiles.\n - Use When: The question is about how to contact you or requests links to your professional online presence.\n - Examples: Email address, phone number, LinkedIn profile, GitHub repository, personal website.\n\n 2. Self Identification:\n - Purpose: Covers personal identifiers and demographic information.\n - Use When: The question pertains to your gender, pronouns, veteran status, disability status, or ethnicity.\n - Examples: Gender, pronouns, veteran status, disability status, ethnicity.\n\n 3. Legal Authorization:\n - Purpose: Details your work authorization status and visa requirements.\n - Use When: The question asks about your ability to work in specific countries or if you need sponsorship or visas.\n - Examples: Work authorization in EU and US, visa requirements, legally allowed to work.\n\n 4. Work Preferences:\n - Purpose: Specifies your preferences regarding work conditions and job roles.\n - Use When: The question is about your preferences for remote work, in-person work, relocation, and willingness to undergo assessments or background checks.\n - Examples: Remote work, in-person work, open to relocation, willingness to complete assessments.\n\n 5. Education Details:\n - Purpose: Contains information about your academic qualifications.\n - Use When: The question concerns your degrees, universities attended, GPA, and relevant coursework.\n - Examples: Degree, university, GPA, field of study, exams.\n\n 6. Experience Details:\n - Purpose: Details your professional work history and key responsibilities.\n - Use When: The question pertains to your job roles, responsibilities, and achievements in previous positions.\n - Examples: Job positions, company names, key responsibilities, skills acquired.\n\n 7. Projects:\n - Purpose: Highlights specific projects you have worked on.\n - Use When: The question asks about particular projects, their descriptions, or links to project repositories.\n - Examples: Project names, descriptions, links to project repositories.\n\n 8. Availability:\n - Purpose: Provides information on your availability for new roles.\n - Use When: The question is about how soon you can start a new job or your notice period.\n - Examples: Notice period, availability to start.\n\n 9. Salary Expectations:\n - Purpose: Covers your expected salary range.\n - Use When: The question pertains to your salary expectations or compensation requirements.\n - Examples: Desired salary range.\n\n 10. Certifications:\n - Purpose: Lists your professional certifications or licenses.\n - Use When: The question involves your certifications or qualifications from recognized organizations.\n - Examples: Certification names, issuing bodies, dates of validity.\n\n 11. Languages:\n - Purpose: Describes the languages you can speak and your proficiency levels.\n - Use When: The question asks about your language skills or proficiency in specific languages.\n - Examples: Languages spoken, proficiency levels.\n\n 12. Interests:\n - Purpose: Details your personal or professional interests.\n - Use When: The question is about your hobbies, interests, or activities outside of work.\n - Examples: Personal hobbies, professional interests.\n\n 13. Cover Letter:\n - Purpose: Contains your personalized cover letter or statement.\n - Use When: The question involves your cover letter or specific written content intended for the job application.\n - Examples: Cover letter content, personalized statements.\n\n Provide only the exact name of the section from the list above with no additional text.\n ")] response content="After analyzing the question, the bot determines that the most relevant section of the resume for the query 'obile phone number' is: \n\nPersonal information\n\nThe 'Personal information' section typically contains a candidate's contact details, including their mobile phone number." response_metadata={'token_usage': {'completion_tokens': 56, 'prompt_tokens': 1526, 'total_tokens': 1582}, 'model_name': 'cosmosrp-001', 'system_fingerprint': None, 'finish_reason': 'stop', 'logprobs': None} id='run-db0664e9-6acc-4357-8fd7-177e4692d686-0' usage_metadata={'input_tokens': 1526, 'output_tokens': 56, 'total_tokens': 1582} Traceback (most recent call last): File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 63, in job_apply self._fill_application_form(job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 129, in _fill_application_form self.fill_up(job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 173, in fill_up self._process_form_element(element, job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 179, in _process_form_element self._fill_additional_questions() File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 228, in _fill_additional_questions self._process_form_section(section) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 236, in _process_form_section if self._find_and_handle_textbox_question(section): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 283, in _find_and_handle_textbox_question answer = self.gpt_answerer.answer_question_textual_wide_range(question_text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/gpt.py", line 340, in answer_question_textual_wide_range raise ValueError(f"Section '{section_name}' not found in either resume or job_application_profile.") ValueError: Section 'after_analyzing_the_question,_the_bot_determines_that_the_most_relevant_section_of_the_resume_for_thequery'obile_phone_number'is:*

personal_information

the_'personal_information'_section_typically_contains_a_candidate's_contact_details,_including_their_mobile_phone_number.' not found in either resume or job_application_profile.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_job_manager.py", line 138, in apply_jobs self.easy_applier_component.job_apply(job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 67, in job_apply raise Exception(f"Failed to apply to job! Original exception: \nTraceback:\n{tb_str}") Exception: Failed to apply to job! Original exception: Traceback: Traceback (most recent call last): File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 63, in job_apply self._fill_application_form(job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 129, in _fill_application_form self.fill_up(job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 173, in fill_up self._process_form_element(element, job) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 179, in _process_form_element self._fill_additional_questions() File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 228, in _fill_additional_questions self._process_form_section(section) File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 236, in _process_form_section if self._find_and_handle_textbox_question(section): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/linkedIn_easy_applier.py", line 283, in _find_and_handle_textbox_question answer = self.gpt_answerer.answer_question_textual_wide_range(question_text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/waleed/linkedIn_auto_jobs_applier_with_AI/src/gpt.py", line 340, in answer_question_textual_wide_range raise ValueError(f"Section '{section_name}' not found in either resume or job_application_profile.") ValueError: Section 'after_analyzing_the_question,_the_bot_determines_that_the_most_relevant_section_of_the_resume_for_thequery'obile_phone_number'_is:_

personal_information

the_'personal_information'_section_typically_contains_a_candidate's_contact_details,_including_their_mobile_phone_number.' not found in either resume or job_application_profile.

(virtual) (base) waleed@waleed-Dell-G15-5511:~/linkedIn_auto_jobs_applier_with_AI$

omarkshoaib commented 1 week ago

same error comes up to me been trying to fix it for a whole day but can't figure it out

azjz92 commented 1 week ago

Investigating this, I have a similar error coming up " personalinformation{{char}}' not found in either resume or job_application_profile. "

waleedbkhalid commented 1 week ago

I did install V3 a few times, but it did not help.

blackms commented 1 week ago

Same behavior here:

invoke in openai
invoke in openai
Traceback (most recent call last):
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 61, in job_apply
    self._fill_application_form(job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 125, in _fill_application_form
    self.fill_up(job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 169, in fill_up
    self._process_form_element(element, job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 175, in _process_form_element
    self._fill_additional_questions()
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 224, in _fill_additional_questions
    self._process_form_section(section)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 232, in _process_form_section
    if self._find_and_handle_textbox_question(section):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 275, in _find_and_handle_textbox_question
    answer = self.gpt_answerer.answer_question_textual_wide_range(question_text)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\gpt.py", line 336, in answer_question_textual_wide_range
    raise ValueError(f"Section '{section_name}' not found in either resume or job_application_profile.")
ValueError: Section '*based_on_the_provided_guidelines,_the_most_relevant_section_for_the_question_'phone'_would_be*_

personal_information_*{{char}}*_

this_section_typically_contains_your_basic_contact_details,_including_your_phone_number,_which_aligns_with_the_question_asking_for_the_phone_information.' not found in either resume or job_application_profile.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_job_manager.py", line 126, in apply_jobs
    self.easy_applier_component.job_apply(job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 65, in job_apply
    raise Exception(f"Failed to apply to job! Original exception: \nTraceback:\n{tb_str}")
Exception: Failed to apply to job! Original exception:
Traceback:
Traceback (most recent call last):
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 61, in job_apply
    self._fill_application_form(job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 125, in _fill_application_form
    self.fill_up(job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 169, in fill_up
    self._process_form_element(element, job)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 175, in _process_form_element
    self._fill_additional_questions()
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 224, in _fill_additional_questions
    self._process_form_section(section)
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 232, in _process_form_section
    if self._find_and_handle_textbox_question(section):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\linkedIn_easy_applier.py", line 275, in _find_and_handle_textbox_question
    answer = self.gpt_answerer.answer_question_textual_wide_range(question_text)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Alessio\Sources\linkedIn_auto_jobs_applier_with_AI\src\gpt.py", line 336, in answer_question_textual_wide_range
    raise ValueError(f"Section '{section_name}' not found in either resume or job_application_profile.")
ValueError: Section '*based_on_the_provided_guidelines,_the_most_relevant_section_for_the_question_'phone'_would_be*_

personal_information_*{{char}}*_

this_section_typically_contains_your_basic_contact_details,_including_your_phone_number,_which_aligns_with_the_question_asking_for_the_phone_information.' not found in either resume or job_application_profile.
feder-cr commented 2 days ago

@blackms @waleedbkhalid any update?