ahuang11 commited on
Commit
066b023
1 Parent(s): 14c98b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -84,7 +84,7 @@ async def critique(state: AgentState):
84
  instructions = f"""
85
  You are a resume reviewer, optimizing for ATS.
86
  Review the job description and first list out
87
- at least `{keywords_slider}` critical
88
  ATS keywords from the `Job Description`.
89
 
90
  If previously `Critique`d, verify if the changes were accurately made;
@@ -97,16 +97,13 @@ async def critique(state: AgentState):
97
  e.g. explicitly telling what keywords to bold from `Job Description` or
98
  what to rephrase to include reflecting the `Job Description`.
99
 
100
- Finally, if all changes are made properly, then
101
- output "Looks good!".
102
 
103
  Here's the `Job Description`:
104
  '''
105
  {job_description}
106
  '''
107
-
108
- If no changes are needed, simply output "Looks good!";
109
- else output the critique starting with `Critique`: and keywords.
110
  """
111
  messages = [SystemMessage(instructions)] + state["messages"][-2:]
112
  response = await model.ainvoke(messages)
 
84
  instructions = f"""
85
  You are a resume reviewer, optimizing for ATS.
86
  Review the job description and first list out
87
+ at least `{keywords_slider}` unique, critical
88
  ATS keywords from the `Job Description`.
89
 
90
  If previously `Critique`d, verify if the changes were accurately made;
 
97
  e.g. explicitly telling what keywords to bold from `Job Description` or
98
  what to rephrase to include reflecting the `Job Description`.
99
 
100
+ If no changes are needed, simply output "Looks good!";
101
+ else output the critique starting with `Critique`: and keywords.
102
 
103
  Here's the `Job Description`:
104
  '''
105
  {job_description}
106
  '''
 
 
 
107
  """
108
  messages = [SystemMessage(instructions)] + state["messages"][-2:]
109
  response = await model.ainvoke(messages)