diff --git "a/logs_directory/app_20250417.log" "b/logs_directory/app_20250417.log" new file mode 100644--- /dev/null +++ "b/logs_directory/app_20250417.log" @@ -0,0 +1,4994 @@ +2025-04-17 00:40:11 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmptqahen90/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 00:40:12 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': None, 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 00:43:04 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmptqahen90/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 00:43:05 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': None, 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 00:48:36 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmptqahen90/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 00:48:37 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': None, 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 00:50:26 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpj720cwf6/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 00:50:27 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 00:57:00 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpj720cwf6/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 00:57:00 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 01:04:23 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpz6dacqjj/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 01:04:24 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 01:05:21 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpz6dacqjj/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 01:05:21 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 01:06:38 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpvfek5zl1/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 01:06:38 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 01:07:35 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmpvfek5zl1/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-17 01:07:35 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 13:50:27 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:29] - full_data : None +2025-04-17 13:50:37 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/3.pdf_page_0.png +2025-04-17 13:50:37 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/3.pdf_page_0.png +2025-04-17 13:50:43 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/3.pdf_page_0.png, Results: {'document_category': 'bank_statement', 'document_type': 'bank_statement'} +2025-04-17 13:50:47 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:50:47 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/3.pdf_page_0.png: {'account_holder_name': 'Jodie Pippa', 'account_holder_address': '', 'bank_name': 'HSBC', 'account_number': '12345678', 'sort_code': '20-00-00', '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-17 13:50:47 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/5.pdf_page_0.png +2025-04-17 13:50:47 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/5.pdf_page_0.png +2025-04-17 13:50:51 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:50:51 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/5.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-17 13:50:56 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:50:56 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/5.pdf_page_0.png: {'employee_name': 'Jodie Pippa', 'employer_name': 'ABC Ltd', 'employee_id': 'JP12345', 'employee_address': '123 Maple Street, London, UK, SW1A 1AA', 'employer_address': '456 Business Street, London, UK, SW1A 2BB', 'tax_code': '1257L', '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-17 13:50:56 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/2.pdf_page_0.png +2025-04-17 13:50:56 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/2.pdf_page_0.png +2025-04-17 13:51:01 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:01 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/2.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'p60'} +2025-04-17 13:51:07 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:07 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/2.pdf_page_0.png: {'employee_details': {'surname': 'Pippa', 'forenames_or_initials': 'Jodie', 'national_insurance_number': 'AB123456C', 'works_payroll_number': '5342'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 9545.45, 'tax_deducted': 0.0}, 'total_for_year': {'pay': 9545.45, 'tax_deducted': 0.0}, 'final_tax_code': '1257'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 6396.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 3149.45}, 'employee_contributions_above_pt': 377.93}], 'statutory_payments': {'maternity_pay': 0.0, 'paternity_pay': 0.0, 'adoption_pay': 0.0, 'shared_parental_pay': 0.0}, 'other_details': {'student_loan_deductions': 0.0}, 'employer_details': {'employer_name_and_address': None, 'paye_reference': '123/AB456'}} +2025-04-17 13:51:07 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/UK_DL_ID_Proof_11.pdf_page_0.png +2025-04-17 13:51:07 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/UK_DL_ID_Proof_11.pdf_page_0.png +2025-04-17 13:51:11 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:11 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/UK_DL_ID_Proof_11.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'driving_license'} +2025-04-17 13:51:16 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:16 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/UK_DL_ID_Proof_11.pdf_page_0.png: {'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ 35', 'signature': 'A. Sample', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-17 13:51:16 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_0.png +2025-04-17 13:51:16 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_0.png +2025-04-17 13:51:52 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:52 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-17 13:51:57 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 13:51:57 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_0.png: {'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}} +2025-04-17 13:51:57 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_1.png +2025-04-17 13:51:57 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_1.png +2025-04-17 14:00:09 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:09 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_1.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-17 14:00:13 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:13 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/Contract_of_Employment_11.pdf_page_1.png: {'Pension': {'content': 'You will be automatically enrolled into the company pension scheme as per applicable\nlegislation. You may opt out in accordance with the rules of the pension scheme.'}, 'Notice Period': {'content': "Following the probationary period, either party may terminate this contract by giving 1\nmonth's written notice."}, 'Confidentiality': {'content': 'During and after your employment, you shall not disclose any confidential information\nrelating to the employer or its operations.'}, 'Governing Law': {'content': 'This contract is governed by the laws of England and Wales.'}, 'Employer': {'Signed for and on behalf of the Employer:': {'Name': None, 'Title': None, 'Signature': None, 'Date': None}}, 'Employee': {'Signed by the Employee:': {'Name': 'Morgan Sarah Meregyth', 'Signature': None, 'Date': None}}} +2025-04-17 14:00:13 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_0.png +2025-04-17 14:00:13 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_0.png +2025-04-17 14:00:18 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:18 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-17 14:00:23 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:23 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_0.png: {'Contract': {'Employee Name': 'Jodie Pippa', 'Job Title': 'Sales Manager', 'Start Date': '6th January 2025', 'Employer': 'ABC Ltd', 'Employer 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-17 14:00:23 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_1.png +2025-04-17 14:00:23 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_1.png +2025-04-17 14:00:27 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:27 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_1.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-17 14:00:32 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:32 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/4.pdf_page_1.png: {'clauses': [{'clause_number': '7', 'clause_title': 'Confidentiality and Data Protection', 'clause_text': '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', 'clause_title': 'Intellectual Property', 'clause_text': 'Any intellectual property created by the employee during the course of employment shall belong to the company.'}, {'clause_number': '9', 'clause_title': 'Grievance and Disciplinary Procedures', 'clause_text': "The company's grievance and disciplinary procedures will apply, as outlined in the employee handbook."}, {'clause_number': '10', 'clause_title': 'Health and Safety', 'clause_text': "The employee agrees to comply with the company's health and safety policies and procedures."}, {'clause_number': '11', 'clause_title': 'Mobility Clause', 'clause_text': 'The employee may be required to work at other locations within the UK or travel as necessary for business purposes.'}, {'clause_number': '12', 'clause_title': 'Entire Agreement', 'clause_text': '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-17 14:00:32 - llm.document_analyzer - INFO - [document_analyzer.py:27] - file_name : /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/1.pdf_page_0.png +2025-04-17 14:00:32 - llm.document_analyzer - INFO - [document_analyzer.py:33] - Starting analysis for /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/1.pdf_page_0.png +2025-04-17 14:00:37 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:37 - llm.document_analyzer - INFO - [document_analyzer.py:52] - File name: /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/1.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'passport'} +2025-04-17 14:00:43 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-17 14:00:43 - llm.document_analyzer - INFO - [document_analyzer.py:81] - /tmp/tmpogy2rvbe/sample_documents_all_2/sample_documents_all_2/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