mbosse99 commited on
Commit
54a31a9
·
1 Parent(s): 6306fe3

Summary prompt fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -265,7 +265,7 @@ def send_evaluation(history, job, resume, job_params):
265
  print(receiver_email)
266
 
267
  ai_summary = "TEST Summary"
268
- prompt = "You are a professional recruiter who has been given a CV and a job description and has created 10 questions based on that. The eventual applicant has entered his answers to the questions. Now you have to evaluate on the basis of the answers if the applicant fits the job in principle. This is the case when about 70 percent of all questions have been answered satisfactorily and positively. Keep in mind that an answer must always be fact-based, so if, for example, the question asks for examples, the potential applicant must also give such examples. Please also provide details of which questions were answered positively and why."
269
 
270
  res = openai.ChatCompletion.create(
271
  model="gpt-4",
 
265
  print(receiver_email)
266
 
267
  ai_summary = "TEST Summary"
268
+ prompt = "You are a professional recruiter who has been given a CV and a job description and has created questions based on that. The eventual applicant has entered his answers to the questions. Now you have to evaluate on the basis of the answers if the applicant fits the job in principle. This is the case when about 70 percent of all questions have been answered satisfactorily and positively. Keep in mind that an answer must always be fact-based, so if, for example, the question asks for examples, the potential applicant must also give such examples. Please also provide details of which questions were answered positively and why."
269
 
270
  res = openai.ChatCompletion.create(
271
  model="gpt-4",