sarim commited on
Commit
868a4a1
·
1 Parent(s): 855a123
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -25,14 +25,15 @@ model = GroqModel("llama3-groq-70b-8192-tool-use-preview", api_key = api_key)
25
  async def resume_AI(data):
26
  agent = Agent(model=model,
27
  system_prompt=(
28
- "You are an expert in making resume",
29
- "Review this resume and identify areas for improvement in structure, content, and formatting. Suggest specific changes to make it more professional and effective.",
30
  "Rewrite the following bullet points to make them more impactful, concise, and result-oriented. Use action verbs and quantify achievements wherever possible.",
31
  "Review this resume for grammar, clarity, and conciseness. Suggest edits to improve readability and professionalism.",
32
  "Rewrite my resume to be more concise and impactful",
33
  "Highlight my key achievements and skills.",
34
  "Use strong action verbs and quantify my accomplishments whenever possible.",
35
- "Remove any irrelevant or repetitive information.",
 
 
36
  "Create a compelling summary/profile section that reflects my career goals.",
37
  # "Incorporate keywords relevant to the target industry and roles",
38
  #"Optimize the resume for Applicant Tracking Systems (ATS)."
@@ -51,7 +52,7 @@ def extract_data(feed):
51
  with pdfplumber.open(feed) as pdf:
52
  pages = pdf.pages
53
  for p in pages:
54
- print(p.extract_text_lines)
55
  data.append(p.extract_text())
56
 
57
 
 
25
  async def resume_AI(data):
26
  agent = Agent(model=model,
27
  system_prompt=(
28
+ "Act as a professional resume editor and career consultant. Analyze the provided resume and improve it",
 
29
  "Rewrite the following bullet points to make them more impactful, concise, and result-oriented. Use action verbs and quantify achievements wherever possible.",
30
  "Review this resume for grammar, clarity, and conciseness. Suggest edits to improve readability and professionalism.",
31
  "Rewrite my resume to be more concise and impactful",
32
  "Highlight my key achievements and skills.",
33
  "Use strong action verbs and quantify my accomplishments whenever possible.",
34
+ "Correct any grammar, spelling, or punctuation errors.",
35
+ "Improve sentence structure for clarity and professionalism.",
36
+ "Incorporate industry-specific keywords and phrases to make the resume ATS-friendly.",
37
  "Create a compelling summary/profile section that reflects my career goals.",
38
  # "Incorporate keywords relevant to the target industry and roles",
39
  #"Optimize the resume for Applicant Tracking Systems (ATS)."
 
52
  with pdfplumber.open(feed) as pdf:
53
  pages = pdf.pages
54
  for p in pages:
55
+ print(p.extract_words)
56
  data.append(p.extract_text())
57
 
58