ejqs commited on
Commit
65e65ac
·
1 Parent(s): f22274b

Fix requirement extraction logic and update sample payload for Accounting Specialist role

Browse files
Files changed (1) hide show
  1. handler.py +37 -36
handler.py CHANGED
@@ -123,11 +123,11 @@ class EndpointHandler():
123
 
124
  requirements = []
125
  for i, pred in enumerate(predictions):
126
- if self.Job_labels[pred]['value'] == "RQC":
127
  requirements.append(lines[i])
128
 
129
  return requirements
130
-
131
  def label_job_post(self, text):
132
  lines = self.extract_job_requirements(text)
133
  response = {
@@ -217,40 +217,41 @@ if __name__ == "__main__":
217
 
218
  # prepare sample payload
219
  payload = {"inputs": """
220
- About the job
221
- Job Title: Frontend Developer
222
- Job Type: Full-time or Part-Time
223
- Location: Remote
224
-
225
- About Us:
226
- Our mission at micro1 is to match the most talented people in the world with their dream jobs. If you are looking to be at the forefront of AI innovation and work with some of the fastest growing companies in Silicon Valley, we invite you to apply for a role. By joining the micro1 community, your resume will become visible to top industry leaders, unlocking access to the best career opportunities on the market.
227
-
228
- Job Summary:
229
- Join our dynamic team at micro1 as a Frontend Developer where you will be instrumental in creating engaging and dynamic user experiences for web applications. At micro1, we provide opportunities to work with leading companies in Silicon Valley, ensuring a stable and competitive income in a flexible remote setting. Embrace the opportunity to grow your career, access top industry opportunities, and enjoy a range of great benefits.
230
-
231
- Key Responsibilities:
232
- Develop high-quality frontend components for web applications.
233
- Optimize user interfaces to enhance user experiences.
234
- Collaborate with cross-functional teams to define and design new features.
235
- Ensure cross-browser compatibility and implement responsive designs.
236
- Maintain code quality and ensure responsiveness of applications.
237
- Utilize industry best practices and design patterns.
238
- Participate in code reviews to maintain high code quality standards.
239
-
240
- Required Skills and Qualifications:
241
- Proficiency in HTML, CSS, and JavaScript.
242
- Strong experience with React and Angular frameworks.
243
- Excellent written and verbal communication skills.
244
- Ability to work effectively in a remote setting.
245
- Demonstrated ability to develop and optimize user interfaces.
246
- Experience with ensuring cross-browser compatibility of applications.
247
- Strong problem-solving skills and attention to detail.
248
-
249
- Preferred Qualifications:
250
- Experience with responsive design and mobile-first development.
251
- Familiarity with version control systems, such as Git.
252
- Understanding of Agile methodologies.
253
- It's okay if you don't. Having a Native to C2/C1 level in another language such as German, French, or Spanish is nice to have.
 
254
  """}
255
  # holiday_payload = {"inputs": "Today is a though day"}
256
 
 
123
 
124
  requirements = []
125
  for i, pred in enumerate(predictions):
126
+ if self.Job_labels[pred]['value'] == "RQC" and i < len(lines):
127
  requirements.append(lines[i])
128
 
129
  return requirements
130
+
131
  def label_job_post(self, text):
132
  lines = self.extract_job_requirements(text)
133
  response = {
 
217
 
218
  # prepare sample payload
219
  payload = {"inputs": """
220
+ We are seeking an experienced Accounting Specialist to join our team.
221
+ The Accounting Specialist will be responsible for various financial tasks, including reconciling accounts, assist with accounts payable,
222
+ preparing financial reports, and assisting the Controller.
223
+ The ideal candidate will have a strong background in accounting principles and practices, as well as proficiency in Quickbooks accounting
224
+ software, Excel and financial concepts.
225
+ Responsibilities:
226
+ - Perform general ledger reconciliation to ensure accuracy of financial data
227
+ - Prepare and analyze financial reports, bank reconciliations and analysis.
228
+ - Collaborate with internal teams to ensure compliance with accounting policies and procedures
229
+ - Support financial audits by providing necessary documentation and information
230
+ - Accounts Payable - Multiple Companies
231
+ - GL Reconciliations
232
+ - Prepare Weekly, Monthly and Quarterly Commission Reports
233
+ - Daily Bank Deposits
234
+ Skills:
235
+ - Proficiency in accounting software QuickBooks Online
236
+ - Strong knowledge of corporate finance principles and practices
237
+ - Experience with general ledger reconciliation
238
+ - Ability to understand concise financial reports
239
+ - Strong analytical skills for financial analysis
240
+ - Knowledge of financial auditing processes
241
+ - Understanding of cash flow analysis
242
+ - Solid grasp of financial concepts such as revenue recognition, depreciation, and accruals
243
+ - Ability to manage multiple priorities and time effectively.
244
+ Pay:
245
+ $50,000 - $60,000 per year
246
+ Benefits:
247
+ 401(k) matching
248
+ Dental insurance
249
+ Health insurance
250
+ Paid time off
251
+ Vision insurance
252
+ Experience:
253
+ Microsoft Excel: 3 years (Required)
254
+ QuickBooks Online: 3 years (Required)
255
  """}
256
  # holiday_payload = {"inputs": "Today is a though day"}
257