Commit
·
2a38076
1
Parent(s):
0426e30
Added more parameters to company research.
Browse files
app.py
CHANGED
|
@@ -161,6 +161,10 @@ Remediation Strategies: Briefly explain significant gaps in the cover letter, fr
|
|
| 161 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 162 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 163 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
|
| 166 |
## This is the candidate's resume:
|
|
@@ -191,7 +195,10 @@ def get_key_accomplishments_prompt(job_and_company_info, resume):
|
|
| 191 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 192 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 193 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
| 194 |
-
|
|
|
|
|
|
|
|
|
|
| 195 |
|
| 196 |
## This is the candidate's resume:
|
| 197 |
|
|
@@ -223,6 +230,10 @@ Company Name: {job_and_company_info['Company Name']}
|
|
| 223 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 224 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 225 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
|
| 227 |
## This is the candidate's resume:
|
| 228 |
|
|
@@ -347,7 +358,11 @@ def process_job_description(company_name, company_url, job_description, resume):
|
|
| 347 |
"corporate_culture": f"{role.company_name} corporate culture",
|
| 348 |
"leadership_team": f"{role.company_name} leadership team members relevant to the role {role.job_title} role",
|
| 349 |
"recent_news": f"{role.company_name} recent news relevant to the role {role.job_title} role",
|
| 350 |
-
"competitive_advantages": f"{role.company_name} competitive advantages relevant to the role {role.job_title}"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 351 |
}
|
| 352 |
search_client = DDGSSearchClient()
|
| 353 |
search_results = {}
|
|
@@ -386,6 +401,14 @@ def process_job_description(company_name, company_url, job_description, resume):
|
|
| 386 |
"Recent News Summary": summaries['recent_news'],
|
| 387 |
"Competitive Advantages Search Results": search_results['competitive_advantages'],
|
| 388 |
"Competitive Advantages Summary": summaries['competitive_advantages'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 389 |
}
|
| 390 |
}
|
| 391 |
|
|
@@ -467,6 +490,11 @@ with demo:
|
|
| 467 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 468 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 469 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 470 |
|
| 471 |
5. Closing: Express reasonable enthusiasm and request discussion. Don't overdo it and make the enthusiasm not sound feigned or disingenuous.
|
| 472 |
|
|
|
|
| 161 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 162 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 163 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
| 164 |
+
Company History: {job_and_company_info['Company Research']['Company History Summary']}
|
| 165 |
+
Company Mission Statement: {job_and_company_info['Company Research']['Mission Statement Summary']}
|
| 166 |
+
Company Investor Relations Info: {job_and_company_info['Company Research']['Investor Relations Summary']}
|
| 167 |
+
Summary of Info Gathered From Company Social Media: {job_and_company_info['Company Research']["Social Media Summary"]}
|
| 168 |
|
| 169 |
|
| 170 |
## This is the candidate's resume:
|
|
|
|
| 195 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 196 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 197 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
| 198 |
+
Company History: {job_and_company_info['Company Research']['Company History Summary']}
|
| 199 |
+
Company Mission Statement: {job_and_company_info['Company Research']['Mission Statement Summary']}
|
| 200 |
+
Company Investor Relations Info: {job_and_company_info['Company Research']['Investor Relations Summary']}
|
| 201 |
+
Summary of Info Gathered From Company Social Media: {job_and_company_info['Company Research']["Social Media Summary"]}
|
| 202 |
|
| 203 |
## This is the candidate's resume:
|
| 204 |
|
|
|
|
| 230 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 231 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 232 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
| 233 |
+
Company History: {job_and_company_info['Company Research']['Company History Summary']}
|
| 234 |
+
Company Mission Statement: {job_and_company_info['Company Research']['Mission Statement Summary']}
|
| 235 |
+
Company Investor Relations Info: {job_and_company_info['Company Research']['Investor Relations Summary']}
|
| 236 |
+
Summary of Info Gathered From Company Social Media: {job_and_company_info['Company Research']["Social Media Summary"]}
|
| 237 |
|
| 238 |
## This is the candidate's resume:
|
| 239 |
|
|
|
|
| 358 |
"corporate_culture": f"{role.company_name} corporate culture",
|
| 359 |
"leadership_team": f"{role.company_name} leadership team members relevant to the role {role.job_title} role",
|
| 360 |
"recent_news": f"{role.company_name} recent news relevant to the role {role.job_title} role",
|
| 361 |
+
"competitive_advantages": f"{role.company_name} competitive advantages relevant to the role {role.job_title}",
|
| 362 |
+
"company_history":f"History of {role.company_name}",
|
| 363 |
+
"mission_statement":f"{role.company_name} mission statement",
|
| 364 |
+
"investor_relations":f"{role.company_name} investor relations info",
|
| 365 |
+
"social_media":f"{role.company_name} social media"
|
| 366 |
}
|
| 367 |
search_client = DDGSSearchClient()
|
| 368 |
search_results = {}
|
|
|
|
| 401 |
"Recent News Summary": summaries['recent_news'],
|
| 402 |
"Competitive Advantages Search Results": search_results['competitive_advantages'],
|
| 403 |
"Competitive Advantages Summary": summaries['competitive_advantages'],
|
| 404 |
+
"Company History Search Results":search_results['company_history'],
|
| 405 |
+
"Company History Summary":summaries['company_history'],
|
| 406 |
+
"Mission Statement Search Results":search_results['mission_statement'],
|
| 407 |
+
"Mission Statement Summary":summaries['mission_statement'],
|
| 408 |
+
"Investor Relations Search Results": search_results['investor_relations'],
|
| 409 |
+
"Investor Relations Summary":summaries['investor_relations'],
|
| 410 |
+
"Social Media Search Results":search_results['social_media'],
|
| 411 |
+
"Social Media Summary":summaries['social_media']
|
| 412 |
}
|
| 413 |
}
|
| 414 |
|
|
|
|
| 490 |
Leadership Team and Possible Key Opinion Leaders: {job_and_company_info['Company Research']['Leadership Team Summary']}
|
| 491 |
Recent Company News: {job_and_company_info['Company Research']['Recent News Summary']}
|
| 492 |
Company Competitive Advantages: {job_and_company_info['Company Research']['Competitive Advantages Summary']}
|
| 493 |
+
Company History: {job_and_company_info['Company Research']['Company History Summary']}
|
| 494 |
+
Company Mission Statement: {job_and_company_info['Company Research']['Mission Statement Summary']}
|
| 495 |
+
Company Investor Relations Info: {job_and_company_info['Company Research']['Investor Relations Summary']}
|
| 496 |
+
Summary of Info Gathered From Company Social Media: {job_and_company_info['Company Research']["Social Media Summary"]}
|
| 497 |
+
|
| 498 |
|
| 499 |
5. Closing: Express reasonable enthusiasm and request discussion. Don't overdo it and make the enthusiasm not sound feigned or disingenuous.
|
| 500 |
|