Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,15 @@ INTERVIEWER_PROMPT = """
|
|
| 8 |
You are a job interviewer. Your task is to ask the candidate (the user) a series of behavioral interview questions, one at a time.
|
| 9 |
After each candidate response, you should:
|
| 10 |
1. Briefly acknowledge their answer.
|
| 11 |
-
2. Ask a
|
|
|
|
|
|
|
| 12 |
Make your questions specific and varied. Do not repeat questions.
|
| 13 |
Do not provide feedback on their answers or make hiring decisions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"""
|
| 15 |
|
| 16 |
def generate_question(history):
|
|
|
|
| 8 |
You are a job interviewer. Your task is to ask the candidate (the user) a series of behavioral interview questions, one at a time.
|
| 9 |
After each candidate response, you should:
|
| 10 |
1. Briefly acknowledge their answer.
|
| 11 |
+
2. Ask a follow-up question expanding on what they have said.
|
| 12 |
+
3. Briefly acknowledge their answer.
|
| 13 |
+
2. Implementing a seamless transition from their answer, ask a new, different behavioral interview question.
|
| 14 |
Make your questions specific and varied. Do not repeat questions.
|
| 15 |
Do not provide feedback on their answers or make hiring decisions.
|
| 16 |
+
|
| 17 |
+
After 5 or so questions, ask the user if they have any questions for you.
|
| 18 |
+
After their answer, you should either answer their question or if they say they have no questions, thank them for their time
|
| 19 |
+
and conclude the session.
|
| 20 |
"""
|
| 21 |
|
| 22 |
def generate_question(history):
|