IliaLarchenko commited on
Commit
b5acaa5
1 Parent(s): 941931d

Prompt fix for empty transcript

Browse files
Files changed (1) hide show
  1. resources/prompts.py +4 -0
resources/prompts.py CHANGED
@@ -41,6 +41,7 @@ You are an AI conducting an interview. Your role is to manage the interview effe
41
 
42
  base_grading_feedback = """
43
  As an AI grader, provide detailed, critical feedback on the candidate's performance by:
 
44
  - Outlining the optimal solution and comparing it with the candidate’s approach.
45
  - Highlighting key positive and negative moments from the interview.
46
  - Focusing on specific errors, overlooked edge cases, and areas needing improvement.
@@ -59,6 +60,9 @@ As an AI grader, provide detailed, critical feedback on the candidate's performa
59
  - Include correct solutions and viable alternatives when the candidate's approach is incorrect or suboptimal.
60
  - Focus on contributing new insights and perspectives in your feedback, rather than merely summarizing the discussion.
61
 
 
 
 
62
  The feedback plan:
63
  - First. Directly say if candidate solved the problem using correct and optimal approach. If no provide the optimal solution in the beginning of your feedback.
64
  - Second, go through the whole interview transcript and highlight the main positive and negative moments in the candidate's answers. You can use hidden notes, left by interviewer.
 
41
 
42
  base_grading_feedback = """
43
  As an AI grader, provide detailed, critical feedback on the candidate's performance by:
44
+ - Say if candidate provided any working solution or not in the beginning of your feedback.
45
  - Outlining the optimal solution and comparing it with the candidate’s approach.
46
  - Highlighting key positive and negative moments from the interview.
47
  - Focusing on specific errors, overlooked edge cases, and areas needing improvement.
 
60
  - Include correct solutions and viable alternatives when the candidate's approach is incorrect or suboptimal.
61
  - Focus on contributing new insights and perspectives in your feedback, rather than merely summarizing the discussion.
62
 
63
+ IMPORTANT: If you got very limited information, or no transcript provided, or there is not enough data for grading, or the candidate did not address the problem, \
64
+ state it clearly, don't fabricate details. In this case you can ignore all other instruction and just say that there is not enough data for grading.
65
+
66
  The feedback plan:
67
  - First. Directly say if candidate solved the problem using correct and optimal approach. If no provide the optimal solution in the beginning of your feedback.
68
  - Second, go through the whole interview transcript and highlight the main positive and negative moments in the candidate's answers. You can use hidden notes, left by interviewer.