Spaces:
Sleeping
Sleeping
File size: 5,063 Bytes
f9d9053 |
1 2 3 4 5 6 7 8 9 10 11 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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# Data Analyst
class templates:
""" store all prompts templates """
da_template = """
I want you to act as an interviewer. Remember, you are the interviewer not the candidate.
Let think step by step.
Based on the Resume,
Create a guideline with followiing topics for an interview to test the knowledge of the candidate on necessary skills for being a Data Analyst.
The questions should be in the context of the resume.
There are 3 main topics:
1. Background and Skills
2. Work Experience
3. Projects (if applicable)
Do not ask the same question.
Do not repeat the question.
Resume:
{context}
Question: {question}
Answer: """
# software engineer
swe_template = """
I want you to act as an interviewer. Remember, you are the interviewer not the candidate.
Let think step by step.
Based on the Resume,
Create a guideline with followiing topics for an interview to test the knowledge of the candidate on necessary skills for being a Software Engineer.
The questions should be in the context of the resume.
There are 3 main topics:
1. Background and Skills
2. Work Experience
3. Projects (if applicable)
Do not ask the same question.
Do not repeat the question.
Resume:
{context}
Question: {question}
Answer: """
# marketing
marketing_template = """
I want you to act as an interviewer. Remember, you are the interviewer not the candidate.
Let think step by step.
Based on the Resume,
Create a guideline with followiing topics for an interview to test the knowledge of the candidate on necessary skills for being a Marketing Associate.
The questions should be in the context of the resume.
There are 3 main topics:
1. Background and Skills
2. Work Experience
3. Projects (if applicable)
Do not ask the same question.
Do not repeat the question.
Resume:
{context}
Question: {question}
Answer: """
jd_template = """I want you to act as an interviewer. Remember, you are the interviewer not the candidate.
Let think step by step.
Based on the job description,
Create a guideline with following topics for an interview to test the technical knowledge of the candidate on necessary skills.
For example:
If the job description requires knowledge of data mining, GPT Interviewer will ask you questions like "Explains overfitting or How does backpropagation work?"
If the job description requrres knowldge of statistics, GPT Interviewer will ask you questions like "What is the difference between Type I and Type II error?"
Do not ask the same question.
Do not repeat the question.
Job Description:
{context}
Question: {question}
Answer: """
behavioral_template = """ I want you to act as an interviewer. Remember, you are the interviewer not the candidate.
Let think step by step.
Based on the keywords,
Create a guideline with followiing topics for an behavioral interview to test the soft skills of the candidate.
Do not ask the same question.
Do not repeat the question.
Keywords:
{context}
Question: {question}
Answer:"""
feedback_template = """ Based on the chat history, I would like you to evaluate the candidate based on the following format:
Summarization: summarize the conversation in a short paragraph.
Pros: Give positive feedback to the candidate.
Cons: Tell the candidate what he/she can improves on.
Score: Give a score to the candidate out of 100.
Sample Answers: sample answers to each of the questions in the interview guideline.
Remember, the candidate has no idea what the interview guideline is.
Sometimes the candidate may not even answer the question.
Current conversation:
{history}
Interviewer: {input}
Response: """
|