Spaces:
Build error
Build error
2025-04-14 22:13:56 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpq7o86ysz/1.pdf_page_0.png | |
2025-04-14 22:14:01 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'File Name': '1.pdf_page_0.png', 'Directory': 'tmpq7o86ysz', 'File Size': '943.88 KB', 'Last Modified': '2025-04-14 22:13:56', 'Created': '2025-04-14 22:13:56', 'File Extension': '.png', 'Full Path': '/tmp/tmpq7o86ysz/1.pdf_page_0.png', 'Image Size': '1700x2200', 'Image Mode': 'RGB', 'Image Format': 'PNG'} | |
2025-04-14 22:14:01 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpq7o86ysz/1.pdf: None | |
2025-04-14 22:14:01 - utils.document_display - INFO - [document_display.py:245] - Exception for processing analysis results of {'File Name': '1.pdf_page_0.png', 'Directory': 'tmpq7o86ysz', 'File Size': '943.88 KB', 'Last Modified': '2025-04-14 22:13:56', 'Created': '2025-04-14 22:13:56', 'File Extension': '.png', 'Full Path': '/tmp/tmpq7o86ysz/1.pdf_page_0.png', 'Image Size': '1700x2200', 'Image Mode': 'RGB', 'Image Format': 'PNG'}: 'NoneType' object has no attribute 'lower' | |
2025-04-14 22:14:01 - utils.document_display - INFO - [document_display.py:249] - analysis_results_for_id_updated : {'File Name': '1.pdf_page_0.png', 'Directory': 'tmpq7o86ysz', 'File Size': '943.88 KB', 'Last Modified': '2025-04-14 22:13:56', 'Created': '2025-04-14 22:13:56', 'File Extension': '.png', 'Full Path': '/tmp/tmpq7o86ysz/1.pdf_page_0.png', 'Image Size': '1700x2200', 'Image Mode': 'RGB', 'Image Format': 'PNG'} | |
2025-04-14 22:14:01 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpq7o86ysz/1.pdf_page_0.png'] | |
2025-04-14 22:18:51 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpqmaed05g/1.pdf_page_0.png | |
2025-04-14 22:18:51 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpqmaed05g/1.pdf_page_0.png | |
2025-04-14 22:18:55 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'File Name': '1.pdf_page_0.png', 'Directory': 'tmpqmaed05g', 'File Size': '943.88 KB', 'Last Modified': '2025-04-14 22:18:51', 'Created': '2025-04-14 22:18:51', 'File Extension': '.png', 'Full Path': '/tmp/tmpqmaed05g/1.pdf_page_0.png', 'Image Size': '1700x2200', 'Image Mode': 'RGB', 'Image Format': 'PNG'} | |
2025-04-14 22:18:55 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpqmaed05g/1.pdf: None | |
2025-04-14 22:18:55 - utils.document_display - INFO - [document_display.py:249] - analysis_results_for_id_updated : {'document_type': None} | |
2025-04-14 22:18:55 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpqmaed05g/1.pdf_page_0.png'] | |
2025-04-14 22:37:29 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmp5dfq1etu/1.pdf_page_0.png | |
2025-04-14 22:37:29 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmp5dfq1etu/1.pdf_page_0.png | |
2025-04-14 22:37:35 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmp5dfq1etu/1.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'passport'} | |
2025-04-14 22:37:40 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:37:40 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmp5dfq1etu/1.pdf_page_0.png: {'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'surname': 'UNITED-KINGDOM-FIVE', 'given_names': 'JODIE PIPPA', 'passport_number': '107185703', 'nationality': 'BRITISH CITIZEN', 'date_of_birth': '1985-01-17', 'place_of_birth': 'LONDON', 'sex': 'F', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'issuing_authority': 'UKPA', 'passport_type': 'P', 'country_code': 'GBR', 'mrz_line_1': 'P<GBRUNITED<KINGDOM<FIVE<<JODIE<PIPPA<<<<<<<', 'mrz_line_2': '1071857032GBR8501178F1601312<<<<<<<<<<<<<<02'} | |
2025-04-14 22:37:40 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'passport', 'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'surname': 'UNITED-KINGDOM-FIVE', 'given_names': 'JODIE PIPPA', 'passport_number': '107185703', 'nationality': 'BRITISH CITIZEN', 'date_of_birth': '1985-01-17', 'place_of_birth': 'LONDON', 'sex': 'F', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'issuing_authority': 'UKPA', 'passport_type': 'P', 'country_code': 'GBR', 'mrz_line_1': 'P<GBRUNITED<KINGDOM<FIVE<<JODIE<PIPPA<<<<<<<', 'mrz_line_2': '1071857032GBR8501178F1601312<<<<<<<<<<<<<<02'} | |
2025-04-14 22:37:40 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmp5dfq1etu/1.pdf: passport | |
2025-04-14 22:37:40 - utils.document_display - INFO - [document_display.py:249] - analysis_results_for_id_updated : {'document_category': 'identity_verification_document', 'document_type': 'passport', 'passport_number': '107185703', 'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'date_of_birth': '1985-01-17', 'nationality': 'BRITISH CITIZEN', 'date_of_issue': '2006-01-31', 'gender': None, 'address': None} | |
2025-04-14 22:37:40 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmp5dfq1etu/1.pdf_page_0.png'] | |
2025-04-14 22:37:40 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmp5dfq1etu/1.pdf_page_0.png'] | |
2025-04-14 22:48:54 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf_page_0.png | |
2025-04-14 22:48:54 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf_page_0.png | |
2025-04-14 22:48:59 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:48:59 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf_page_0.png, Results: {'document_category': 'bank_statement', 'document_type': 'bank_statement'} | |
2025-04-14 22:49:03 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:03 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf_page_0.png: {'account_holder_name': 'Jodie Pippa', 'account_holder_address': '', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-02-28', 'salary_credits': [{'date': '2025-01-06', 'amount': '2213.83', 'from': 'ABC Ltd', 'description': 'Salary - ABC Ltd (Pro-rated Jan)'}, {'date': '2025-02-06', 'amount': '2566.66', 'from': 'ABC Ltd', 'description': 'Salary - ABC Ltd (Full Feb Salary)'}]} | |
2025-04-14 22:49:03 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf_page_0.png | |
2025-04-14 22:49:03 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf_page_0.png | |
2025-04-14 22:49:08 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:08 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} | |
2025-04-14 22:49:12 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:12 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf_page_0.png: {'employee_name': 'Jodie Pippa', 'employer_name': 'ABC Ltd', 'payslip_date': '2025-01-31', 'pay_period_start': '2025-01-06', 'pay_period_end': '2025-01-31', 'payment_frequency': 'monthly', 'basic_pay': '3333.33', 'net_pay': '2566.66', 'gross_pay': '3333.33', 'salary_components': [], 'ni_contribution': '266.67', 'tax_deduction': '333.33', 'other_deductions': [{'name': 'Pension Contribution', 'amount': '166.67'}]} | |
2025-04-14 22:49:12 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf_page_0.png | |
2025-04-14 22:49:12 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf_page_0.png | |
2025-04-14 22:49:17 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:17 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} | |
2025-04-14 22:49:22 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:22 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf_page_0.png: {'employee_name': 'Jodie Pippa', 'employer_name': '', 'payslip_date': '', 'pay_period_start': '', 'pay_period_end': '', 'payment_frequency': '', 'basic_pay': '', 'net_pay': '', 'gross_pay': '9545.45', 'salary_components': [], 'ni_contribution': '377.93', 'tax_deduction': '0', 'other_deductions': [{'name': 'Student Loan deductions', 'amount': '0'}]} | |
2025-04-14 22:49:22 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_0.png | |
2025-04-14 22:49:22 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_0.png | |
2025-04-14 22:49:26 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:26 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_0.png, Results: {'document_category': 'unknown', 'document_type': 'unknown'} | |
2025-04-14 22:49:32 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:32 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_0.png: {'Contract of Employment': {'Employee Name': 'Jodie Pippa', 'Job Title': 'Sales Manager', 'Start Date': '6th January 2025', 'Employer': 'ABC Ltd', 'Address': '456 Business Street, London, UK, SW1A 2BB', 'Employee Address': '123 Maple Street, London, UK, SW1A 1AA', 'Job Title and Duties': {'Job Title': 'Sales Manager', 'Reporting To': 'Managing Director', 'Main Duties and Responsibilities': ['Manage the sales team to achieve monthly and annual sales targets.', 'Develop and implement sales strategies to grow the business.', 'Build and maintain relationships with key clients.', 'Prepare sales reports and forecasts for senior management.']}, 'Place of Work': "The normal place of work is the company's office at 456 Business Street, London, UK, SW1A 2BB. However, the employee may be required to work at other locations as necessary.", 'Hours of Work': 'The normal working hours are 40 hours per week, Monday to Friday, 9:00 AM to 5:30 PM, with a one-hour unpaid lunch break.', 'Salary and Benefits': {'Basic Salary': '£40,000 per annum, payable monthly in arrears on the last working day of each month.', 'Bonus Scheme': 'Eligible for a performance-based bonus of up to 10% of annual salary.', 'Pension': 'Auto-enrolment into the company pension scheme in line with UK legislation.', 'Holiday Entitlement': '25 days per annum plus UK public holidays.'}, 'Probationary Period': "The first 3 months of employment will be a probationary period. During this time, the employee's suitability for the role will be assessed.", 'Termination of Employment': {'Notice Periods': ["During probationary period: 1 week's notice by either party.", "After probationary period: 1 month's notice by the employee, 2 months' notice by the employer.Summary Dismissal: The employer reserves the right to terminate employment without notice in cases of gross misconduct."]}}} | |
2025-04-14 22:49:32 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_1.png | |
2025-04-14 22:49:32 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_1.png | |
2025-04-14 22:49:36 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:36 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_1.png, Results: {'document_category': 'unknown', 'document_type': 'unknown'} | |
2025-04-14 22:49:42 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:42 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_1.png: {'clauses': [{'clause_number': '7', 'title': 'Confidentiality and Data Protection', 'content': 'The employee agrees to maintain the confidentiality of all company information and comply with the UK Data Protection Act 2018 and GDPR.'}, {'clause_number': '8', 'title': 'Intellectual Property', 'content': 'Any intellectual property created by the employee during the course of employment shall belong to the company.'}, {'clause_number': '9', 'title': 'Grievance and Disciplinary Procedures', 'content': "The company's grievance and disciplinary procedures will apply, as outlined in the employee handbook."}, {'clause_number': '10', 'title': 'Health and Safety', 'content': "The employee agrees to comply with the company's health and safety policies and procedures."}, {'clause_number': '11', 'title': 'Mobility Clause', 'content': 'The employee may be required to work at other locations within the UK or travel as necessary for business purposes.'}, {'clause_number': '12', 'title': 'Entire Agreement', 'content': 'This contract constitutes the entire agreement between the parties and supersedes any previous agreements or understandings.'}], 'signatures': {'employer': {'name': None, 'position': None, 'date': None}, 'employee': {'name': 'Jodie Pippa', 'date': None}}} | |
2025-04-14 22:49:42 - llm.document_analyzer - INFO - [document_analyzer.py:26] - file_name : /tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf_page_0.png | |
2025-04-14 22:49:42 - llm.document_analyzer - INFO - [document_analyzer.py:32] - Starting analysis for /tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf_page_0.png | |
2025-04-14 22:49:46 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:46 - llm.document_analyzer - INFO - [document_analyzer.py:51] - File name: /tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'passport'} | |
2025-04-14 22:49:52 - llm.llm - INFO - [llm.py:40] - Json is being formatted | |
2025-04-14 22:49:52 - llm.document_analyzer - INFO - [document_analyzer.py:76] - /tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf_page_0.png: {'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'surname': 'UNITED-KINGDOM-FIVE', 'given_names': 'JODIE PIPPA', 'passport_number': '107185703', 'nationality': 'BRITISH CITIZEN', 'date_of_birth': '1985-01-17', 'place_of_birth': 'LONDON', 'sex': 'F', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'issuing_authority': 'UKPA', 'passport_type': 'P', 'country_code': 'GBR', 'mrz_line_1': 'P<GBRUNITED<KINGDOM<FIVE<<JODIE<PIPPA<<<<<<<', 'mrz_line_2': '1071857032GBR8501178F1601312<<<<<<<<<<<<<<02'} | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Jodie Pippa', 'account_holder_address': '', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-02-28', 'salary_credits': [{'date': '2025-01-06', 'amount': '2213.83', 'from': 'ABC Ltd', 'description': 'Salary - ABC Ltd (Pro-rated Jan)'}, {'date': '2025-02-06', 'amount': '2566.66', 'from': 'ABC Ltd', 'description': 'Salary - ABC Ltd (Full Feb Salary)'}]} | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf: bank_statement | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:251] - analysis_results_for_id_updated : {'document_type': 'bank_statement'} | |
2025-04-14 22:49:52 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpfmxw59lw/sample_documents/sample_documents/3.pdf_page_0.png'] | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Jodie Pippa', 'employer_name': 'ABC Ltd', 'payslip_date': '2025-01-31', 'pay_period_start': '2025-01-06', 'pay_period_end': '2025-01-31', 'payment_frequency': 'monthly', 'basic_pay': '3333.33', 'net_pay': '2566.66', 'gross_pay': '3333.33', 'salary_components': [], 'ni_contribution': '266.67', 'tax_deduction': '333.33', 'other_deductions': [{'name': 'Pension Contribution', 'amount': '166.67'}]} | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf: payslip | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:251] - analysis_results_for_id_updated : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Jodie Pippa', 'employer_name': 'ABC Ltd', 'payslip_date': '2025-01-31', 'pay_period_start': '2025-01-06', 'pay_period_end': '2025-01-31', 'payment_frequency': 'monthly', 'basic_pay': '3333.33', 'net_pay': '2566.66', 'gross_pay': '3333.33', 'salary_components': [], 'ni_contribution': '266.67', 'tax_deduction': '333.33', 'other_deductions': [{'name': 'Pension Contribution', 'amount': '166.67'}]} | |
2025-04-14 22:49:52 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpfmxw59lw/sample_documents/sample_documents/5.pdf_page_0.png'] | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Jodie Pippa', 'employer_name': '', 'payslip_date': '', 'pay_period_start': '', 'pay_period_end': '', 'payment_frequency': '', 'basic_pay': '', 'net_pay': '', 'gross_pay': '9545.45', 'salary_components': [], 'ni_contribution': '377.93', 'tax_deduction': '0', 'other_deductions': [{'name': 'Student Loan deductions', 'amount': '0'}]} | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf: payslip | |
2025-04-14 22:49:52 - utils.document_display - INFO - [document_display.py:251] - analysis_results_for_id_updated : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Jodie Pippa', 'employer_name': '', 'payslip_date': '', 'pay_period_start': '', 'pay_period_end': '', 'payment_frequency': '', 'basic_pay': '', 'net_pay': '', 'gross_pay': '9545.45', 'salary_components': [], 'ni_contribution': '377.93', 'tax_deduction': '0', 'other_deductions': [{'name': 'Student Loan deductions', 'amount': '0'}]} | |
2025-04-14 22:49:52 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpfmxw59lw/sample_documents/sample_documents/2.pdf_page_0.png'] | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'unknown', 'Contract of Employment': {'Employee Name': 'Jodie Pippa', 'Job Title': 'Sales Manager', 'Start Date': '6th January 2025', 'Employer': 'ABC Ltd', 'Address': '456 Business Street, London, UK, SW1A 2BB', 'Employee Address': '123 Maple Street, London, UK, SW1A 1AA', 'Job Title and Duties': {'Job Title': 'Sales Manager', 'Reporting To': 'Managing Director', 'Main Duties and Responsibilities': ['Manage the sales team to achieve monthly and annual sales targets.', 'Develop and implement sales strategies to grow the business.', 'Build and maintain relationships with key clients.', 'Prepare sales reports and forecasts for senior management.']}, 'Place of Work': "The normal place of work is the company's office at 456 Business Street, London, UK, SW1A 2BB. However, the employee may be required to work at other locations as necessary.", 'Hours of Work': 'The normal working hours are 40 hours per week, Monday to Friday, 9:00 AM to 5:30 PM, with a one-hour unpaid lunch break.', 'Salary and Benefits': {'Basic Salary': '£40,000 per annum, payable monthly in arrears on the last working day of each month.', 'Bonus Scheme': 'Eligible for a performance-based bonus of up to 10% of annual salary.', 'Pension': 'Auto-enrolment into the company pension scheme in line with UK legislation.', 'Holiday Entitlement': '25 days per annum plus UK public holidays.'}, 'Probationary Period': "The first 3 months of employment will be a probationary period. During this time, the employee's suitability for the role will be assessed.", 'Termination of Employment': {'Notice Periods': ["During probationary period: 1 week's notice by either party.", "After probationary period: 1 month's notice by the employee, 2 months' notice by the employer.Summary Dismissal: The employer reserves the right to terminate employment without notice in cases of gross misconduct."]}}, 'document_type': 'unknown', 'signatures': {'employer': {'name': None, 'position': None, 'date': None}, 'employee': {'name': 'Jodie Pippa', 'date': None}}, 'clauses': [{'clause_number': '7', 'title': 'Confidentiality and Data Protection', 'content': 'The employee agrees to maintain the confidentiality of all company information and comply with the UK Data Protection Act 2018 and GDPR.'}, {'clause_number': '8', 'title': 'Intellectual Property', 'content': 'Any intellectual property created by the employee during the course of employment shall belong to the company.'}, {'clause_number': '9', 'title': 'Grievance and Disciplinary Procedures', 'content': "The company's grievance and disciplinary procedures will apply, as outlined in the employee handbook."}, {'clause_number': '10', 'title': 'Health and Safety', 'content': "The employee agrees to comply with the company's health and safety policies and procedures."}, {'clause_number': '11', 'title': 'Mobility Clause', 'content': 'The employee may be required to work at other locations within the UK or travel as necessary for business purposes.'}, {'clause_number': '12', 'title': 'Entire Agreement', 'content': 'This contract constitutes the entire agreement between the parties and supersedes any previous agreements or understandings.'}]} | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf: unknown | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:251] - analysis_results_for_id_updated : {'document_type': 'unknown'} | |
2025-04-14 22:49:53 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_0.png', '/tmp/tmpfmxw59lw/sample_documents/sample_documents/4.pdf_page_1.png'] | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:148] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'passport', 'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'surname': 'UNITED-KINGDOM-FIVE', 'given_names': 'JODIE PIPPA', 'passport_number': '107185703', 'nationality': 'BRITISH CITIZEN', 'date_of_birth': '1985-01-17', 'place_of_birth': 'LONDON', 'sex': 'F', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'issuing_authority': 'UKPA', 'passport_type': 'P', 'country_code': 'GBR', 'mrz_line_1': 'P<GBRUNITED<KINGDOM<FIVE<<JODIE<PIPPA<<<<<<<', 'mrz_line_2': '1071857032GBR8501178F1601312<<<<<<<<<<<<<<02'} | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:167] - document_type for /tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf: passport | |
2025-04-14 22:49:53 - utils.document_display - INFO - [document_display.py:251] - analysis_results_for_id_updated : {'document_category': 'identity_verification_document', 'document_type': 'passport', 'passport_number': '107185703', 'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'date_of_birth': '1985-01-17', 'nationality': 'BRITISH CITIZEN', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'sex': 'F', 'address': None} | |
2025-04-14 22:49:53 - __main__ - INFO - [app_streamlit.py:40] - file_path while displaying: ['/tmp/tmpfmxw59lw/sample_documents/sample_documents/1.pdf_page_0.png'] | |