Spaces:
Sleeping
Sleeping
from typing import List, Dict | |
from langchain.prompts import PromptTemplate | |
# Define the prompt template | |
clarification_prompt = PromptTemplate( | |
input_variables=["checkpoints", "resume"], | |
template=""" | |
You are an expert recruiter specializing in reading resumes against job descriptions. Your task is to read the checkpoints provided and extract objective and factual information (if available) from the resume to clarify these checkpoints. | |
**Guidelines:** | |
1. Analyze both explicit and implicit meanings from the resume. | |
2. For must-have certifications, consider only those explicitly mentioned. Do not assume. | |
3. For industry relevance, assess the organizations listed and determine their industries. | |
4. For education and certifications, verify if they match stated requirements. | |
5. Provide objective reasoning with factual pointers from the resume. | |
6. Do not hallucinate or include information not grounded in the resume. | |
7. If the resume lacks enough information, mention this explicitly. | |
**Checkpoints:** | |
{checkpoints} | |
**Resume:** | |
{resume} | |
**Output Format:** | |
[β Must-Haves | |
Category: 2 β Meets Requirements | |
Evidence: | |
β’ [List specific evidence points for each must-have requirement] | |
"musthave": "[List the must-have requirements exactly as provided]" | |
"musthave": "[Provide detailed analysis of each must-have requirement]"] | |
""" | |
) | |