🤖 人工智能求职助手,有针对性的调整简历,助你快速找到心仪的工作。
🤖 AI Resume Assistant, helping you tailor your resume and find your ideal job quickly.
- More aligned with practices within China
- Analyzes the 3 most important responsibilities from the input job posting link
- Strategically highlights key personal strengths
- Quantifies past work achievements
- ATS (Applicant Tracking System) friendly format
- Customizable resume templates
- Ready-to-use default resume template style
- Supports multiple API integrations
- Supports langsmith observability
- Generate HTML file and PDF file
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/alphaqiu/curriculum_vitae_ai_agent.git cd curriculum_vitae_ai_agent
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
Create a .env
file in the same directory as main.py
. The content of the .env
file should be as follows:
# if enable dashscope, uncomment the following line
DASHSCOPE_API_KEY="your-aliyun-tongyi-key"
# if enable openai, uncomment the following line
#OPENAI_API_KEY="openai-api-key or deepseek-api-key"
# if enable langsmith, uncomment the following lines
#LANGCHAIN_API_KEY="langchain-api-key"
#LANGCHAIN_TRACING_V2="true"
#LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
To generate a resume, use the following command:
python main.py --link "https://example.com/job-description" --config "./data/config.yml"
--link
or-l
: The URL of the job description (required).--config
or-c
: Path to the configuration file (optional, defaults to./data/config.yml
).
The resume template has been modified based on https://github.com/hoochanlon/jsonresume-theme-mix
The configuration file (config.yml
) contains settings for the resume generation process, including model usage and file paths. Customize it according to your needs.
The config.yml
file supports the following key parameters:
-
model
: Specifies the AI model to use for resume generation- Currently supports:
qwen-plus
(Alibaba Cloud's Tongyi Qianwen model) - This parameter determines which AI service will process your resume
- Currently supports:
-
task_path
: Specifies the directory path for task-related files- Default value:
./data
- This directory contains necessary files like templates, configurations, and resume information
- Default value:
Example configuration:
model: qwen-plus
task_path: ./data
Resume information file is located at data/info.yml
, you can customize it or use the default information.
name
: Your full namegender
: Your genderage
: Your ageemail
: Contact email addresseducation_background
: Brief education summarywork_experience
: Years of work experienceskills
: Key technical skills, separated by commasprojects
: Brief project summaryawards
: Notable achievements or awardsmobile_phone
: Contact phone numberjob_seeking_status
: Current employment statusdesired_positions
: List of target positionsposition
: Job titlelocation
: Preferred locationsalary
: Expected salary rangeindustry
: Target industryemployment_type
: Type of employment (e.g., full-time, part-time)
List of key strengths and competencies that make you stand out
school
: Institution namemajor
: Field of studydegree
: Degree typestart_date
: Start date (YYYY-MM format)graduation_date
: End date (YYYY-MM format)school_experience
: Notable activities during educationgraduation_project_topic
: Final project titlegraduation_project_description
: Project description
For each position:
company
: Company nameposition
: Job titlestart_date
: Start date (YYYY-MM format)end_date
: End date (YYYY-MM format)work_experience
: Overall experience summarywork_experience_description
: Detailed role descriptionwork_experience_achievements
: Key accomplishmentswork_experience_skills
: Skills utilizedwork_experience_projects
: Projects involvedwork_experience_awards
: Awards receivedtags
: Relevant skill tags
For each project:
project_name
: Project titleproject_role
: Your roleproject_start_date
: Start dateproject_end_date
: End dateproject_description
: Project overviewproject_achievements
: Key accomplishmentsproject_link
: Project URL (if applicable)project_skills
: Technologies used
certificate_name
: Name of certificationcertificate_date
: Date obtainedcertificate_link
: Verification link
volunteer_experience_name
: Activity namestart_date
: Start dateend_date
: End dateservice_duration
: Duration of servicevolunteer_experience_description
: Description of activities
hobbies_and_interests_name
: Interest categoryhobbies_and_interests_description
: Detailed descriptions
Example:
resume_profile:
name: 'John Doe'
gender: 'Male'
age: 20
email: '[email protected]'
education_background: 'Shanghai Jiao Tong University'
work_experience: '2 years'
skills: 'Python, Java, C++, Machine Learning, Deep Learning'
# ... other fields ...
# Additional sections follow the same structure as shown above
All fields support both English and Chinese content. Customize the information according to your background and target position.
Resume template file is located at data/resume_templates/resume_template.tpl
, you can customize it or use the default template.
The resume template is a simple HTML file that uses Tailwind CSS for styling.
This project is licensed under the MIT License - see the LICENSE file for details.