Spaces:
Running
Running
basic_details_extraction_prompt = """ | |
You are an expert at understanding how suitable a given CV is for a given job posting. | |
You will focus on evaluating the candidates experience quality | |
**Goal** | |
To summarize the information provided in a clear form | |
**Job Posting** | |
Here are the Job Posting contents: | |
<job-posting> | |
**CV** | |
Here are the CV contents: | |
<cv> | |
**Output Format** | |
You will produce a json, summarizing the input data. | |
Here is the overall structure of your output: | |
{ | |
"jobTitle": str, | |
"companyName": str, | |
"personName": str, | |
"jobDesc": str | |
} | |
* jobTitle: at most 5 words giving role title | |
* companyName: name of company in job posting | |
* personName: name of person who submitted CV (if no name, put Example Name) | |
* jobDesc: a short description of the job | |
Respond only with a json, wrapped in ```json. | |
If you wish to leave a field blank in a given json, use "". You must never use null as this will be loaded using json.loads! | |
Now respond with your professional, concise, answer. | |
""" | |
general_skils_extraction_prompt = """ | |
You are an expert at understanding how suitable a given CV is for a given job posting. | |
You will focus on evaluating the candidates experience quality | |
**Goal** | |
To evaluate the candidate, against the job posting, given set criteria | |
**Job Posting** | |
Here are the Job Posting contents: | |
<job-posting> | |
**CV** | |
Here are the CV contents: | |
<cv> | |
**Output Format** | |
You will produce a json, summarizing the candidates suitability. | |
The fields will all be lists, each item in those lists will be a dictionary with 4 keys. | |
That required form is | |
{ | |
"jobPostingDetails": str, | |
"cvDetails": str, | |
"explanation": str, | |
"SeverityScore": float | |
} | |
* SeverityScore is between 0 and 10, marking how much of a critical miss the given thing is. | |
* Explanation will contain a brief explanation of what the problem was | |
For instance | |
(3 Years using R, No Mention of R, Missing Language Experience, 4) | |
Here is the overall structure of your output: | |
{ | |
"experience": [], | |
"education": [], | |
"responsibilities": [] | |
} | |
* experience should look at the desired experiences in the job posting. For each experience listed, it should be understood if the user's CV showed that trait. | |
* education should compare required / desired education levels with the user's CV's education levels | |
* responsibilities refers to the list of responsibilities in the job posting, which should each be compared with the user's CV | |
Respond only with a json, wrapped in ```json. | |
If you wish to leave a field blank in a given json, use "". You must never use null as this will be loaded using json.loads! | |
Now respond with your professional, concise, answer. | |
""" | |
specific_skills_comparison_prompt = """ | |
You are an expert at understanding how suitable a given CV is for a given job posting. | |
You will focus on evaluating the candidates experience quality | |
**Goal** | |
To evaluate the candidate, against the job posting, given set criteria | |
**Job Posting** | |
Here are the Job Posting contents: | |
<job-posting> | |
**CV** | |
Here are the CV contents: | |
<cv> | |
**Output Format** | |
You will produce a json, summarizing the candidates suitability. | |
The fields will all be lists, each item in those lists will be a dictionary with 4 keys. | |
That required form is | |
{ | |
"jobPostingDetails": str, | |
"cvDetails": str, | |
"explanation": str, | |
"SeverityScore": float | |
} | |
* SeverityScore is between 0 and 10, marking how much of a critical miss the given thing is. | |
* Explanation will contain a brief explanation of what the problem was | |
For instance this could look like: (3 Years using R, No Mention of R, Missing Language Experience, 4) | |
Here is the overall structure of your output: | |
{ | |
"languages": [], | |
"packages": [], | |
"tools": [] | |
} | |
* languages should compare either programming, or regular language, requirements | |
* packages refers specifically to packages of programming languages. Leave blank if job posting gives no details on specific packages. | |
* tools refers to specific tools referenced in the job posting, leave blank if job posting gives no details on tools. | |
Be incredibly careful that you do not confuse the content of the CV with the content of the Job Posting. | |
Respond only with a json, wrapped in ```json. | |
You must never use null as this will be loaded using json.loads! If there is nothing relevant, leave the list empty. If a field is missing from the dictionary of 4, then just put "". | |
Now respond with your professional, concise, answer. | |
""" | |