Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,89 +11,69 @@ license: apache-2.0
|
|
| 11 |
short_description: Generative AI
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
##
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
##
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
###
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
#### Input Processing:
|
| 81 |
-
1. HR employees upload resumes and job descriptions.
|
| 82 |
-
2. Resumes are parsed, and embeddings are generated.
|
| 83 |
-
|
| 84 |
-
#### Storage and Matching:
|
| 85 |
-
1. Embeddings are stored in Pinecone and queried using the job description embedding.
|
| 86 |
-
|
| 87 |
-
#### Output Generation:
|
| 88 |
-
1. Top resumes are retrieved, ranked, and displayed to the user.
|
| 89 |
-
|
| 90 |
-
## 5. [Constraints](#constraints)
|
| 91 |
-
- The system must only process resumes and job descriptions in English.
|
| 92 |
-
- OpenAI models must be used under their rate limits and API constraints.
|
| 93 |
-
- Pinecone's database usage must stay within the allocated quota.
|
| 94 |
-
|
| 95 |
-
## 6. [Future Enhancements](#future-enhancements)
|
| 96 |
-
- Integration with Applicant Tracking Systems (ATS).
|
| 97 |
-
- Support for multi-language resumes and job descriptions.
|
| 98 |
-
- Additional ranking metrics (e.g., based on specific skills or certifications).
|
| 99 |
-
- Custom filters for HR employees (e.g., years of experience, education level).
|
|
|
|
| 11 |
short_description: Generative AI
|
| 12 |
---
|
| 13 |
|
| 14 |
+
<h1 align="center">HR Screening Tool</h1>
|
| 15 |
+
|
| 16 |
+
## Table of Contents
|
| 17 |
+
|
| 18 |
+
- [Installation](#installation)
|
| 19 |
+
- [Local Installation](#local-installation)
|
| 20 |
+
- [HuggingFace Spaces](#huggingface-spaces)
|
| 21 |
+
- [Program Flow](#program-flow)
|
| 22 |
+
- [Software Design Document](#software-design-document)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
<a name="installation"></a>
|
| 27 |
+
## Installation
|
| 28 |
+
|
| 29 |
+
Installation can be done locally or have an instance hosted in your own [HuggingFace space](https://huggingface.co/spaces).
|
| 30 |
+
|
| 31 |
+
<a name="local-installation"></a>
|
| 32 |
+
### Local installation
|
| 33 |
+
|
| 34 |
+
Requirements: Python, Streamlit
|
| 35 |
+
|
| 36 |
+
1. Download this repository as ZIP
|
| 37 |
+
2. Extract the ZIP into a folder.
|
| 38 |
+
3. Open your terminal and run the following command with the working directory as the extract folder.
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
pip install -r requirements.txt
|
| 42 |
+
```
|
| 43 |
+
4. Wait for the installation of dependencies to complete.
|
| 44 |
+
5. Make an `.env` file and write the corresponding needed API keys. Replace the placeholders `<key>` (inclusive). For example:
|
| 45 |
+
|
| 46 |
+
```env
|
| 47 |
+
OPENAI_API_KEY = <OpenAI API key>
|
| 48 |
+
PINECONE_API_KEY = <Pinecone API key>
|
| 49 |
+
```
|
| 50 |
+
6. Run the application using the following command
|
| 51 |
+
```bash
|
| 52 |
+
streamlit run app.py
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
<a name="huggingface-spaces"></a>
|
| 56 |
+
### HuggingFace Spaces
|
| 57 |
+
|
| 58 |
+
Requirements: HuggingFace account (Free Tier)
|
| 59 |
+
|
| 60 |
+
You can either use my space as is and just skip to **Step 2**.
|
| 61 |
+
|
| 62 |
+
1. Clone my repository
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
2. Set your API keys by navigating to Settings > Variable and Secrets
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+
3. Set your API keys ('OPENAI_API_KEY', 'PINECONE_API_KEY') with their value by replacing the `<placeholder>' (inclusive.)
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
|
| 77 |
+
4. You can now start the using the app by clicking on the 'App' button on the main repository page.
|
| 78 |
+
|
| 79 |
+

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|