Spaces:
Sleeping
Sleeping
Update QnA.py
Browse files
QnA.py
CHANGED
|
@@ -11,13 +11,13 @@ load_dotenv()
|
|
| 11 |
|
| 12 |
def prompt_template_to_analyze_resume():
|
| 13 |
template = """
|
| 14 |
-
You are provided with the Resume of the Candidate in the context below . As an Talent Aquistion bot , your task is to
|
| 15 |
-
|
| 16 |
Grade him on the given basis:
|
| 17 |
If less than 2 Year - very less Reliable
|
| 18 |
if more than 2 years but less than 5 years - Reliable
|
| 19 |
if more than 5 Years - Highly Reliable
|
| 20 |
-
|
| 21 |
\n\n:{context}
|
| 22 |
"""
|
| 23 |
prompt = ChatPromptTemplate.from_messages(
|
|
|
|
| 11 |
|
| 12 |
def prompt_template_to_analyze_resume():
|
| 13 |
template = """
|
| 14 |
+
You are provided with the Resume of the Candidate in the context below . As an Talent Aquistion bot , your task is to provide insights about the candidate .
|
| 15 |
+
If and only if asked about reliability , check How frequently the candidate has switched from one company to another.
|
| 16 |
Grade him on the given basis:
|
| 17 |
If less than 2 Year - very less Reliable
|
| 18 |
if more than 2 years but less than 5 years - Reliable
|
| 19 |
if more than 5 Years - Highly Reliable
|
| 20 |
+
|
| 21 |
\n\n:{context}
|
| 22 |
"""
|
| 23 |
prompt = ChatPromptTemplate.from_messages(
|