Merge branch 'main' of https://github.com/sunithalv/ATS-Crewai
Browse files
README.md
CHANGED
|
@@ -1,63 +1,71 @@
|
|
| 1 |
-
# ATS
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
##
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
```bash
|
| 24 |
-
|
| 25 |
-
```
|
| 26 |
-
|
| 27 |
-
Next, navigate to your project directory and install the dependencies:
|
| 28 |
-
|
| 29 |
-
1. First lock the dependencies and then install them:
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
```
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
**Add your `OPENAI_API_KEY` into the `.env` file**
|
| 38 |
-
**Add your `SERPER_API_KEY` into the `.env` file**
|
| 39 |
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
-
###
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
```bash
|
| 48 |
-
crewai run
|
| 49 |
```
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
```
|
| 53 |
-
### Plot the Flow
|
| 54 |
-
|
| 55 |
-
```bash
|
| 56 |
-
uv run plot
|
| 57 |
```
|
| 58 |
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
-
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
|
|
|
| 1 |
+
# CrewAI ATS Resume Screener & Rewriter
|
| 2 |
+
|
| 3 |
+
An AI-driven system built using CrewAI to streamline both employer-side candidate screening and candidate-side resume optimization for Applicant Tracking Systems (ATS).
|
| 4 |
+
|
| 5 |
+
## π§ Features
|
| 6 |
+
|
| 7 |
+
### π Employer Mode
|
| 8 |
+
- Upload a **job description** and **multiple resumes**.
|
| 9 |
+
- Automatically **score resumes** based on relevance.
|
| 10 |
+
- **Top 3 candidates** receive personalized interview invitation emails.
|
| 11 |
+
- Remaining candidates receive **personalized rejection emails**.
|
| 12 |
+
- All emails are customized based on resume and job context.
|
| 13 |
+
|
| 14 |
+
### π€ Candidate Mode
|
| 15 |
+
Two available options:
|
| 16 |
+
1. **ATS Resume Score Check**:
|
| 17 |
+
- Enter a **job URL** to evaluate your resume.
|
| 18 |
+
- Get a **personalized score** with actionable feedback.
|
| 19 |
+
|
| 20 |
+
2. **Resume Rewriting**:
|
| 21 |
+
- Optional: Provide a **job URL** for targeted optimization.
|
| 22 |
+
- Resume is rewritten **only if the score < 85**.
|
| 23 |
+
- Supports up to **2 rewrite attempts**.
|
| 24 |
+
- Returns final score and **detailed feedback**.
|
| 25 |
+
|
| 26 |
+
## π Tech Stack
|
| 27 |
+
- **Python 3.11**
|
| 28 |
+
- [CrewAI](https://github.com/joaomdmoura/crewai)
|
| 29 |
+
- LangChain Tools
|
| 30 |
+
- Gmail SMTP (secured with App Passwords)
|
| 31 |
+
- PyMuPDF, spaCy, NLTK
|
| 32 |
+
- Streamlit (for UI)
|
| 33 |
+
- ONNX Runtime for model inference
|
| 34 |
+
|
| 35 |
+
## π¦ Installation
|
| 36 |
|
| 37 |
```bash
|
| 38 |
+
git clone https://github.com/sunithalv/ATS-Crewai.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
# Install dependencies using uv
|
| 41 |
+
uv venv # creates a virtual environment and activates it
|
| 42 |
+
uv pip install -r requirements.txt
|
| 43 |
```
|
| 44 |
|
| 45 |
+
> Note: Python version must be >= 3.11 and < 3.12
|
| 46 |
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
## π§ Gmail Integration
|
| 49 |
|
| 50 |
+
This project sends emails using Gmail's SMTP server. You'll need to configure your environment with the following variables:
|
| 51 |
|
| 52 |
+
### π Environment Setup
|
| 53 |
|
| 54 |
+
Create a `.env` file in the root directory with:
|
| 55 |
|
|
|
|
|
|
|
| 56 |
```
|
| 57 |
+
EMAIL_ADDRESS=your-email@gmail.com
|
| 58 |
+
EMAIL_PASSWORD=your-app-password
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
```
|
| 60 |
|
| 61 |
+
> β οΈ **Important**: You must use a **Gmail App Password** if you have 2-Step Verification enabled.
|
| 62 |
+
> Learn how to generate one: [Google App Passwords](https://support.google.com/accounts/answer/185833)
|
| 63 |
|
| 64 |
+
### βοΈ Sending Emails
|
| 65 |
|
| 66 |
+
- Emails are sent using **SMTP** via `smtp.gmail.com` on port `587`.
|
| 67 |
+
- Each message is read from a `.txt` file where:
|
| 68 |
+
- The **first line** must start with `Subject:`
|
| 69 |
+
- The **remaining lines** form the email body.
|
| 70 |
+
- Emails are sent individually with **personalized content** for each recipient.
|
| 71 |
|