avizard commited on
Commit
f91f19f
1 Parent(s): 3c1fa35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def get_openai_response(job_description, resume_text, prompt_type):
34
  Please calculate the percentage match between the resume and the job description, indicating the degree to which the candidate meets the job requirements. Begin your response with the percentage match, followed by any critical keywords or qualifications that are missing from the resume. Conclude with your final thoughts on the applicant's suitability for the position, considering the match analysis and any areas where the resume could be improved to better align with the job description.
35
  """
36
 
37
- response = openai.Completion.create(
38
- engine="gpt-3.5-turbo-instruct", # Adjust as necessary
39
  prompt=prompt,
40
  temperature=0.7,
41
  max_tokens=1024, # Adjusted to allow for more detailed responses
 
34
  Please calculate the percentage match between the resume and the job description, indicating the degree to which the candidate meets the job requirements. Begin your response with the percentage match, followed by any critical keywords or qualifications that are missing from the resume. Conclude with your final thoughts on the applicant's suitability for the position, considering the match analysis and any areas where the resume could be improved to better align with the job description.
35
  """
36
 
37
+ response = openai.completions.create(
38
+ model="gpt-3.5-turbo-instruct", # Adjust as necessary
39
  prompt=prompt,
40
  temperature=0.7,
41
  max_tokens=1024, # Adjusted to allow for more detailed responses