Mahesh Sathe commited on
Commit
06f229c
·
unverified ·
1 Parent(s): 5fc4e12

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +103 -0
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ATS Resume Expert
2
+
3
+ ## Overview
4
+
5
+ ATS Resume Expert is a web application built using Streamlit that parses resumes from PDF files and converts them into JSON format. The application uses Google Gemini API for processing and analyzing the resume content. This tool helps in transforming resumes into structured JSON data for easier integration and analysis.
6
+
7
+ ## Features
8
+
9
+ - **PDF Upload**: Upload your resume in PDF format.
10
+ - **Resume Parsing**: Extracts and converts resume content into a structured JSON format.
11
+ - **JSON Output**: Displays the parsed resume in a readable JSON format.
12
+
13
+ ## Technologies Used
14
+
15
+ - **Streamlit**: For creating the web interface.
16
+ - **PyMuPDF (fitz)**: For extracting images from PDF files.
17
+ - **Pillow (PIL)**: For handling image data.
18
+ - **Google Gemini API**: For generating content and parsing the resume.
19
+ - **dotenv**: For managing environment variables.
20
+
21
+ ## Installation
22
+
23
+ To run the application, follow these steps:
24
+
25
+ 1. **Clone the Repository**
26
+
27
+ ```bash
28
+ git clone https://github.com/yourusername/ats-resume-expert.git
29
+ cd ats-resume-expert
30
+ ```
31
+
32
+ 2. **Create a Virtual Environment**
33
+
34
+ ```bash
35
+ python -m venv venv
36
+ source venv/bin/activate # On Windows use `venv\Scripts\activate`
37
+ ```
38
+
39
+ 3. **Install Required Packages**
40
+
41
+ ```bash
42
+ pip install -r requirements.txt
43
+ ```
44
+
45
+ 4. **Set Up Environment Variables**
46
+
47
+ Create a `.env` file in the root directory and add your Google API key:
48
+
49
+ ```env
50
+ GOOGLE_API_KEY=your_google_api_key
51
+ ```
52
+
53
+ 5. **Run the Application**
54
+
55
+ ```bash
56
+ streamlit run app.py
57
+ ```
58
+
59
+ ## Usage
60
+
61
+ 1. **Upload Resume**: Click on the "Upload your resume (PDF)..." button and select a PDF file of your resume.
62
+ 2. **Parse Resume**: Click on the "Parse Resume to JSON" button to process the resume and get it in JSON format.
63
+ 3. **View Output**: The parsed resume will be displayed in JSON format on the web page.
64
+
65
+ ## Prompt Used
66
+
67
+ The following prompt is used to instruct the Google Gemini API to parse the resume content and provide it in JSON format:
68
+
69
+ ```plaintext
70
+ Parse the content of the resume and convert it into a JSON format. The JSON should include the following fields:
71
+
72
+ - Name
73
+ - Contact Information (phone number, email, address)
74
+ - Summary/Objective
75
+ - Skills
76
+ - Experience (company, position, start date, end date, responsibilities)
77
+ - Education (institution, degree, start date, end date)
78
+ - Certifications
79
+ - Projects (name, description, technologies used)
80
+ - Languages
81
+ - Hobbies/Interests
82
+
83
+ Provide the output in valid JSON format, enclosed in triple backticks with 'json' specified, like this:
84
+ ```json
85
+ {
86
+ "key": "value"
87
+ }
88
+ ```
89
+ Ensure all JSON is properly formatted and there's no additional text outside the JSON.
90
+ ```
91
+
92
+ ## Troubleshooting
93
+
94
+ - **Error Parsing JSON**: If the application fails to parse the JSON, ensure the response from the API is valid and properly formatted.
95
+ - **PDF Processing Issues**: Ensure the PDF is not encrypted and contains the expected content.
96
+
97
+ ## Contributing
98
+
99
+ Feel free to open issues or submit pull requests to contribute to the project. Ensure to follow best practices for code quality and documentation.
100
+
101
+ ## License
102
+
103
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.