numind 0.4.2__tar.gz → 0.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {numind-0.4.2 → numind-0.4.4}/PKG-INFO +14 -1
- {numind-0.4.2 → numind-0.4.4}/README.md +13 -0
- numind-0.4.4/docs/BoundingBox.md +30 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionApi.md +5 -2
- numind-0.4.4/docs/DiscardedLocalizationItem.md +33 -0
- {numind-0.4.2 → numind-0.4.4}/docs/DocumentInfo.md +1 -1
- {numind-0.4.2 → numind-0.4.4}/docs/ImageInfo.md +1 -1
- {numind-0.4.2 → numind-0.4.4}/docs/InferenceApi.md +16 -6
- numind-0.4.2/docs/ProjectImportExportApi.md → numind-0.4.4/docs/LocalizationApi.md +69 -36
- numind-0.4.4/docs/LocalizationResponse.md +37 -0
- numind-0.4.4/docs/LocalizationValue.md +28 -0
- numind-0.4.4/docs/ProjectImportExportApi.md +457 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredDataExtractionApi.md +211 -7
- {numind-0.4.2 → numind-0.4.4}/docs/TemplateGenerationApi.md +10 -4
- {numind-0.4.2 → numind-0.4.4}/pyproject.toml +1 -1
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/pyproject_base.toml +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/exceptions.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/__init__.py +5 -1
- numind-0.4.4/src/numind/models/bounding_box.py +93 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_extraction_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response_image_width.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/convert_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_content_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_or_update_structured_example_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_structured_project_request.py +1 -1
- numind-0.4.4/src/numind/models/discarded_localization_item.py +93 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/document_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/document_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/file_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/health_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/image_info.py +2 -2
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/import_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_status.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_status_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_validation_error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/information_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/invalid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_id_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_report_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_status_response.py +1 -1
- numind-0.4.4/src/numind/models/localization_response.py +163 -0
- numind-0.4.4/src/numind/models/localization_value.py +211 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/paginated_response_t.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_error_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_repair_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_report_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/reference_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/service_status.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_example_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_extraction_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_inference_example.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_project_settings_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/template_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/template_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/text_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/text_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/update_content_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/update_structured_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/valid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/models/version_response.py +1 -1
- numind-0.4.4/src/numind/nuextract_utils/_iso_data/ISO 3166-3.csv +32 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/__init__.py +11 -4
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/base.py +2 -2
- numind-0.4.4/src/numind/nuextract_utils/data_validation/types/bbox.py +73 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/country.py +31 -6
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/currency.py +3 -4
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/date_time.py +6 -6
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/duration.py +2 -2
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/email_address.py +2 -6
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/language_tag.py +7 -7
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/phone_number.py +17 -15
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/region.py +66 -47
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/url.py +6 -8
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/verbatim_string.py +18 -16
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/constants.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/json_schema.py +9 -6
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/__init__.py +17 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/__init__.py +1 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/content_extraction_api.py +32 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/content_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/default_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/documents_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/files_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/inference_api.py +98 -2
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/jobs_api.py +1 -1
- numind-0.4.2/src/numind/openapi_client/api/project_import_export_api.py → numind-0.4.4/src/numind/openapi_client/api/localization_api.py +145 -138
- numind-0.4.4/src/numind/openapi_client/api/project_import_export_api.py +1546 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_data_extraction_api.py +743 -35
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_extraction_examples_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/template_generation_api.py +63 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api_client.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/configuration.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/rest.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/__init__.py +17 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/__init__.py +1 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/content_extraction_api.py +32 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/default_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/documents_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/files_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/inference_api.py +98 -2
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/jobs_api.py +1 -1
- numind-0.4.2/src/numind/openapi_client_async/api/project_import_export_api.py → numind-0.4.4/src/numind/openapi_client_async/api/localization_api.py +145 -138
- numind-0.4.4/src/numind/openapi_client_async/api/project_import_export_api.py +1546 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_data_extraction_api.py +743 -35
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/template_generation_api.py +63 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api_client.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/configuration.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/rest.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/test_error_detection.py +154 -3
- numind-0.4.4/tests/openapi_client/test_bounding_box.py +59 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_extraction_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_extraction_project_management_api.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_extraction_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_settings_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_settings_response_image_width.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_convert_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_create_content_project_request.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_create_or_update_structured_example_request.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_create_structured_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_default_api.py +1 -1
- numind-0.4.4/tests/openapi_client/test_discarded_localization_item.py +56 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_document_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_document_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_documents_api.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_file_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_files_api.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_health_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_image_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_import_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_status.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_status_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_inference_validation_error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_information_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_invalid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_job_id_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_job_report_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_job_status_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_jobs_api.py +1 -1
- numind-0.4.4/tests/openapi_client/test_localization_api.py +34 -0
- numind-0.4.4/tests/openapi_client/test_localization_response.py +72 -0
- numind-0.4.4/tests/openapi_client/test_localization_value.py +51 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_paginated_response_t.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_post_processing_error_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_post_processing_repair_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_post_processing_report_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_project_import_export_api.py +10 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_reference_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_service_status.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_data_extraction_api.py +7 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_example_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_examples_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_inference_example.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_project_settings_response.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_template_generation_api.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_template_request.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_template_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_text_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_text_request.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_update_content_project_request.py +1 -1
- {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_update_structured_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_valid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_version_response.py +1 -1
- numind-0.4.4/tests/openapi_client_async/test_bounding_box.py +59 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_extraction_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_extraction_project_management_api.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_extraction_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_settings_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_settings_response_image_width.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_convert_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_create_content_project_request.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_create_or_update_structured_example_request.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_create_structured_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_default_api.py +1 -1
- numind-0.4.4/tests/openapi_client_async/test_discarded_localization_item.py +56 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_document_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_document_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_documents_api.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_file_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_files_api.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_health_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_image_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_import_project_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_status.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_status_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_inference_validation_error.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_information_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_invalid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_job_id_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_job_report_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_job_status_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_jobs_api.py +1 -1
- numind-0.4.4/tests/openapi_client_async/test_localization_api.py +34 -0
- numind-0.4.4/tests/openapi_client_async/test_localization_response.py +72 -0
- numind-0.4.4/tests/openapi_client_async/test_localization_value.py +51 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_paginated_response_t.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_post_processing_error_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_post_processing_repair_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_post_processing_report_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_project_import_export_api.py +10 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_reference_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_service_status.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_data_extraction_api.py +7 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_example_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_examples_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_project_management_api.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_inference_example.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_project_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_project_settings_response.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_settings_patch.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_template_generation_api.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_template_request.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_template_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_text_info.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_text_request.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_update_content_project_request.py +1 -1
- {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_update_structured_project_request.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_valid_information.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_version_response.py +1 -1
- {numind-0.4.2 → numind-0.4.4}/tests/test_conversion_json_schema.py +88 -25
- {numind-0.4.2 → numind-0.4.4}/.github/codecov.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/dependabot.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/workflows/lint.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/workflows/publish-pypi.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/workflows/sdk-auto-update.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/workflows/tests.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
- {numind-0.4.2 → numind-0.4.4}/.gitignore +0 -0
- {numind-0.4.2 → numind-0.4.4}/LICENSE +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/Content.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionProjectManagementApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponseImageWidth.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponseRasterizationDPI.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ContentSettingsPatch.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ConvertRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/CreateContentProjectRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/CreateOrUpdateStructuredExampleRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/CreateStructuredProjectRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/DefaultApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/DocumentResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/DocumentsApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/Error.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/FileResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/FilesApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/HealthResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ImportProjectResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/InferenceStatus.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/InferenceStatusResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/InferenceValidationError.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/InformationResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/InvalidInformation.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/JobIdResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/JobReportResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/JobStatusResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/JobsApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/PaginatedResponseT.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingErrorResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingRepairResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingReportResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ReferenceProjectResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ServiceStatus.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/Structured.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredExampleResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionExamplesApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionProjectManagementApi.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredInferenceExample.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredProjectResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredProjectSettingsResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/StructuredSettingsPatch.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/TemplateRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/TemplateResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/TextInfo.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/TextRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/UpdateContentProjectRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/UpdateStructuredProjectRequest.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/ValidInformation.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/docs/VersionResponse.md +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/.openapi-generator-ignore +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/adapt_openapi_client_init.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/adapt_pyproject.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/collate_documentation_readme.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/config.json +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/gen_sdk.sh +0 -0
- {numind-0.4.2 → numind-0.4.4}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/api_response.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/constants.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/CLDR likelySubtags.xml +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/CLDR supplementalData.xml +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/IANA language subtag registry.txt +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/IANA tlds.txt +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 15924.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 3166-1.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 3166-2.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-one.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-three.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/iso-639-3.tab +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/iso-639-3_Retirements.tab +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ucum-essence.xml +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/constants.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/data_correction.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/data_validation.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/models.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/_utils.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/bic.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/geolocation.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/iban.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/integer.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/language.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/number.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/rfc3987.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/script.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/string_.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/unit_code.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/utils.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/pydantic.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/validation.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/numind.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/py.typed +0 -0
- {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/py.typed +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/conftest.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/json_schema_test_cases/1.json +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/test_optional_dependencies.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/__init__.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/examples.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/files/tahiti.docx +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/schema.json +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/texts.csv +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_conversion_pydantic.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_extract_structured_data.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_json_schema_descriptions.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_numarkdown.py +0 -0
- {numind-0.4.2 → numind-0.4.4}/tests/test_project.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: numind
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: SDK to interact with the NuMind models API.
|
|
5
5
|
Project-URL: Homepage, https://github.com/numindai/nuextract-platform-sdk
|
|
6
6
|
Project-URL: Repository, https://github.com/numindai/nuextract-platform-sdk.git
|
|
@@ -353,6 +353,8 @@ Everything you can do on the web platform can be done via API -
|
|
|
353
353
|
- Uploading a file to a **File** via `POST /api/files` (up to 2 weeks storage)
|
|
354
354
|
- Starting a structured extraction **Job** via `POST /api/structured-extraction/{structuredProjectId}/jobs`
|
|
355
355
|
- Reading a structured extraction **Job** result via `GET /api/structured-extraction/jobs/{structuredExtractionJobId}`
|
|
356
|
+
- Starting a localization **Job** from a completed structured extraction via `POST /api/localization/jobs/from-extraction/{sourceJobId}`
|
|
357
|
+
- Reading localization via `GET /api/localization/jobs/{localizationJobId}` (check progress with `GET /api/jobs/{localizationJobId}/status`)
|
|
356
358
|
- Adding an **Example** to a **Structured Extraction Project** via `POST /api/structured-extraction/{structuredProjectId}/examples`
|
|
357
359
|
|
|
358
360
|
##### Content extraction
|
|
@@ -405,9 +407,16 @@ Class | Method | HTTP request | Description
|
|
|
405
407
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
406
408
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
407
409
|
*JobsApi* | [**post_api_jobs_jobid_cancel**](docs/JobsApi.md#post_api_jobs_jobid_cancel) | **POST** /api/jobs/{jobId}/cancel |
|
|
410
|
+
*LocalizationApi* | [**get_api_localization_jobs_localizationjobid**](docs/LocalizationApi.md#get_api_localization_jobs_localizationjobid) | **GET** /api/localization/jobs/{localizationJobId} |
|
|
411
|
+
*LocalizationApi* | [**post_api_localization_jobs_from_extraction_sourcejobid**](docs/LocalizationApi.md#post_api_localization_jobs_from_extraction_sourcejobid) | **POST** /api/localization/jobs/from-extraction/{sourceJobId} |
|
|
412
|
+
*ProjectImportExportApi* | [**get_api_extraction_export_jobs_jobid_download**](docs/ProjectImportExportApi.md#get_api_extraction_export_jobs_jobid_download) | **GET** /api/extraction/export/jobs/{jobId}/download |
|
|
408
413
|
*ProjectImportExportApi* | [**get_api_extraction_projectkind_projectid_export**](docs/ProjectImportExportApi.md#get_api_extraction_projectkind_projectid_export) | **GET** /api/extraction/{projectKind}/{projectId}/export |
|
|
409
414
|
*ProjectImportExportApi* | [**post_api_extraction_import**](docs/ProjectImportExportApi.md#post_api_extraction_import) | **POST** /api/extraction/import |
|
|
415
|
+
*ProjectImportExportApi* | [**post_api_extraction_import_jobs**](docs/ProjectImportExportApi.md#post_api_extraction_import_jobs) | **POST** /api/extraction/import/jobs |
|
|
416
|
+
*ProjectImportExportApi* | [**post_api_extraction_projectkind_projectid_export_jobs**](docs/ProjectImportExportApi.md#post_api_extraction_projectkind_projectid_export_jobs) | **POST** /api/extraction/{projectKind}/{projectId}/export/jobs |
|
|
417
|
+
*StructuredDataExtractionApi* | [**get_api_localization_jobs_localizationjobid**](docs/StructuredDataExtractionApi.md#get_api_localization_jobs_localizationjobid) | **GET** /api/localization/jobs/{localizationJobId} |
|
|
410
418
|
*StructuredDataExtractionApi* | [**get_api_structured_extraction_jobs_structuredextractionjobid**](docs/StructuredDataExtractionApi.md#get_api_structured_extraction_jobs_structuredextractionjobid) | **GET** /api/structured-extraction/jobs/{structuredExtractionJobId} |
|
|
419
|
+
*StructuredDataExtractionApi* | [**post_api_localization_jobs_from_extraction_sourcejobid**](docs/StructuredDataExtractionApi.md#post_api_localization_jobs_from_extraction_sourcejobid) | **POST** /api/localization/jobs/from-extraction/{sourceJobId} |
|
|
411
420
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_jobs) | **POST** /api/structured-extraction/jobs |
|
|
412
421
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs) | **POST** /api/structured-extraction/{structuredProjectId}/jobs |
|
|
413
422
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs_text**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs_text) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/text |
|
|
@@ -437,6 +446,7 @@ Class | Method | HTTP request | Description
|
|
|
437
446
|
|
|
438
447
|
### Documentation For Models
|
|
439
448
|
|
|
449
|
+
- [BoundingBox](docs/BoundingBox.md)
|
|
440
450
|
- [Content](docs/Content.md)
|
|
441
451
|
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
442
452
|
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
@@ -448,6 +458,7 @@ Class | Method | HTTP request | Description
|
|
|
448
458
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
449
459
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
450
460
|
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
461
|
+
- [DiscardedLocalizationItem](docs/DiscardedLocalizationItem.md)
|
|
451
462
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
452
463
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
453
464
|
- [Error](docs/Error.md)
|
|
@@ -463,6 +474,8 @@ Class | Method | HTTP request | Description
|
|
|
463
474
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
464
475
|
- [JobReportResponse](docs/JobReportResponse.md)
|
|
465
476
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
477
|
+
- [LocalizationResponse](docs/LocalizationResponse.md)
|
|
478
|
+
- [LocalizationValue](docs/LocalizationValue.md)
|
|
466
479
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
467
480
|
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
468
481
|
- [PostProcessingRepairResponse](docs/PostProcessingRepairResponse.md)
|
|
@@ -277,6 +277,8 @@ Everything you can do on the web platform can be done via API -
|
|
|
277
277
|
- Uploading a file to a **File** via `POST /api/files` (up to 2 weeks storage)
|
|
278
278
|
- Starting a structured extraction **Job** via `POST /api/structured-extraction/{structuredProjectId}/jobs`
|
|
279
279
|
- Reading a structured extraction **Job** result via `GET /api/structured-extraction/jobs/{structuredExtractionJobId}`
|
|
280
|
+
- Starting a localization **Job** from a completed structured extraction via `POST /api/localization/jobs/from-extraction/{sourceJobId}`
|
|
281
|
+
- Reading localization via `GET /api/localization/jobs/{localizationJobId}` (check progress with `GET /api/jobs/{localizationJobId}/status`)
|
|
280
282
|
- Adding an **Example** to a **Structured Extraction Project** via `POST /api/structured-extraction/{structuredProjectId}/examples`
|
|
281
283
|
|
|
282
284
|
##### Content extraction
|
|
@@ -329,9 +331,16 @@ Class | Method | HTTP request | Description
|
|
|
329
331
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
330
332
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
331
333
|
*JobsApi* | [**post_api_jobs_jobid_cancel**](docs/JobsApi.md#post_api_jobs_jobid_cancel) | **POST** /api/jobs/{jobId}/cancel |
|
|
334
|
+
*LocalizationApi* | [**get_api_localization_jobs_localizationjobid**](docs/LocalizationApi.md#get_api_localization_jobs_localizationjobid) | **GET** /api/localization/jobs/{localizationJobId} |
|
|
335
|
+
*LocalizationApi* | [**post_api_localization_jobs_from_extraction_sourcejobid**](docs/LocalizationApi.md#post_api_localization_jobs_from_extraction_sourcejobid) | **POST** /api/localization/jobs/from-extraction/{sourceJobId} |
|
|
336
|
+
*ProjectImportExportApi* | [**get_api_extraction_export_jobs_jobid_download**](docs/ProjectImportExportApi.md#get_api_extraction_export_jobs_jobid_download) | **GET** /api/extraction/export/jobs/{jobId}/download |
|
|
332
337
|
*ProjectImportExportApi* | [**get_api_extraction_projectkind_projectid_export**](docs/ProjectImportExportApi.md#get_api_extraction_projectkind_projectid_export) | **GET** /api/extraction/{projectKind}/{projectId}/export |
|
|
333
338
|
*ProjectImportExportApi* | [**post_api_extraction_import**](docs/ProjectImportExportApi.md#post_api_extraction_import) | **POST** /api/extraction/import |
|
|
339
|
+
*ProjectImportExportApi* | [**post_api_extraction_import_jobs**](docs/ProjectImportExportApi.md#post_api_extraction_import_jobs) | **POST** /api/extraction/import/jobs |
|
|
340
|
+
*ProjectImportExportApi* | [**post_api_extraction_projectkind_projectid_export_jobs**](docs/ProjectImportExportApi.md#post_api_extraction_projectkind_projectid_export_jobs) | **POST** /api/extraction/{projectKind}/{projectId}/export/jobs |
|
|
341
|
+
*StructuredDataExtractionApi* | [**get_api_localization_jobs_localizationjobid**](docs/StructuredDataExtractionApi.md#get_api_localization_jobs_localizationjobid) | **GET** /api/localization/jobs/{localizationJobId} |
|
|
334
342
|
*StructuredDataExtractionApi* | [**get_api_structured_extraction_jobs_structuredextractionjobid**](docs/StructuredDataExtractionApi.md#get_api_structured_extraction_jobs_structuredextractionjobid) | **GET** /api/structured-extraction/jobs/{structuredExtractionJobId} |
|
|
343
|
+
*StructuredDataExtractionApi* | [**post_api_localization_jobs_from_extraction_sourcejobid**](docs/StructuredDataExtractionApi.md#post_api_localization_jobs_from_extraction_sourcejobid) | **POST** /api/localization/jobs/from-extraction/{sourceJobId} |
|
|
335
344
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_jobs) | **POST** /api/structured-extraction/jobs |
|
|
336
345
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs) | **POST** /api/structured-extraction/{structuredProjectId}/jobs |
|
|
337
346
|
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs_text**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs_text) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/text |
|
|
@@ -361,6 +370,7 @@ Class | Method | HTTP request | Description
|
|
|
361
370
|
|
|
362
371
|
### Documentation For Models
|
|
363
372
|
|
|
373
|
+
- [BoundingBox](docs/BoundingBox.md)
|
|
364
374
|
- [Content](docs/Content.md)
|
|
365
375
|
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
366
376
|
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
@@ -372,6 +382,7 @@ Class | Method | HTTP request | Description
|
|
|
372
382
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
373
383
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
374
384
|
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
385
|
+
- [DiscardedLocalizationItem](docs/DiscardedLocalizationItem.md)
|
|
375
386
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
376
387
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
377
388
|
- [Error](docs/Error.md)
|
|
@@ -387,6 +398,8 @@ Class | Method | HTTP request | Description
|
|
|
387
398
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
388
399
|
- [JobReportResponse](docs/JobReportResponse.md)
|
|
389
400
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
401
|
+
- [LocalizationResponse](docs/LocalizationResponse.md)
|
|
402
|
+
- [LocalizationValue](docs/LocalizationValue.md)
|
|
390
403
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
391
404
|
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
392
405
|
- [PostProcessingRepairResponse](docs/PostProcessingRepairResponse.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# BoundingBox
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **int** | One-based document page number. |
|
|
9
|
+
**bbox** | **List[float]** | Normalized [x1, y1, x2, y2] coordinates (0–1). |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from numind.models.bounding_box import BoundingBox
|
|
15
|
+
|
|
16
|
+
# TODO update the JSON string below
|
|
17
|
+
json = "{}"
|
|
18
|
+
# create an instance of BoundingBox from a JSON string
|
|
19
|
+
bounding_box_instance = BoundingBox.from_json(json)
|
|
20
|
+
# print the JSON string representation of the object
|
|
21
|
+
print(BoundingBox.to_json())
|
|
22
|
+
|
|
23
|
+
# convert the object into a dict
|
|
24
|
+
bounding_box_dict = bounding_box_instance.to_dict()
|
|
25
|
+
# create an instance of BoundingBox from a dict
|
|
26
|
+
bounding_box_from_dict = BoundingBox.from_dict(bounding_box_dict)
|
|
27
|
+
```
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
29
|
+
|
|
30
|
+
|
|
@@ -102,7 +102,7 @@ Name | Type | Description | Notes
|
|
|
102
102
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
103
103
|
|
|
104
104
|
# **post_api_content_extraction_jobs**
|
|
105
|
-
> JobIdResponse post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, project_id=project_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, random_seed=random_seed, image_width=image_width, timeout=timeout)
|
|
105
|
+
> JobIdResponse post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, project_id=project_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, random_seed=random_seed, image_width=image_width, timeout=timeout, low_priority=low_priority)
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
Extract content from the provided file in markdown format as an async job.
|
|
@@ -165,6 +165,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
165
165
|
random_seed = "random_seed_example" # str | Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. (optional)
|
|
166
166
|
image_width = "image_width_example" # str | Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. (optional)
|
|
167
167
|
timeout = "timeout_example" # str | Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h (optional)
|
|
168
|
+
low_priority = False # bool | Submit this job with lower scheduling priority in the job queue and inference engine. (optional) (default to False)
|
|
168
169
|
|
|
169
170
|
try:
|
|
170
171
|
api_response = api_instance.post_api_content_extraction_jobs(
|
|
@@ -180,6 +181,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
180
181
|
random_seed=random_seed,
|
|
181
182
|
image_width=image_width,
|
|
182
183
|
timeout=timeout,
|
|
184
|
+
low_priority=low_priority,
|
|
183
185
|
)
|
|
184
186
|
print(
|
|
185
187
|
"The response of ContentExtractionApi->post_api_content_extraction_jobs:\n"
|
|
@@ -211,6 +213,7 @@ Name | Type | Description | Notes
|
|
|
211
213
|
**random_seed** | **str**| Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. | [optional]
|
|
212
214
|
**image_width** | **str**| Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. | [optional]
|
|
213
215
|
**timeout** | **str**| Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h | [optional]
|
|
216
|
+
**low_priority** | **bool**| Submit this job with lower scheduling priority in the job queue and inference engine. | [optional] [default to False]
|
|
214
217
|
|
|
215
218
|
### Return type
|
|
216
219
|
|
|
@@ -230,7 +233,7 @@ Name | Type | Description | Notes
|
|
|
230
233
|
| Status code | Description | Response headers |
|
|
231
234
|
|-------------|-------------|------------------|
|
|
232
235
|
**200** | | - |
|
|
233
|
-
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection, Invalid value for: body | - |
|
|
236
|
+
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection, Invalid value for: body, Invalid value for: query parameter lowPriority | - |
|
|
234
237
|
**0** | | - |
|
|
235
238
|
|
|
236
239
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# DiscardedLocalizationItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**path** | **str** | |
|
|
9
|
+
**reason** | **str** | |
|
|
10
|
+
**value** | **str** | JSON preview of the rejected value, capped at 80 characters; absent for missing fields. Parsed boxes use {page, bbox} with a one-based document page number and normalized coordinates. For invalid_page, the page is outside the document and retains the one-based model page number. Other rejected values, including unexpected fields, retain raw model JSON. | [optional]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```python
|
|
15
|
+
from numind.models.discarded_localization_item import DiscardedLocalizationItem
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of DiscardedLocalizationItem from a JSON string
|
|
20
|
+
discarded_localization_item_instance = DiscardedLocalizationItem.from_json(json)
|
|
21
|
+
# print the JSON string representation of the object
|
|
22
|
+
print(DiscardedLocalizationItem.to_json())
|
|
23
|
+
|
|
24
|
+
# convert the object into a dict
|
|
25
|
+
discarded_localization_item_dict = discarded_localization_item_instance.to_dict()
|
|
26
|
+
# create an instance of DiscardedLocalizationItem from a dict
|
|
27
|
+
discarded_localization_item_from_dict = DiscardedLocalizationItem.from_dict(
|
|
28
|
+
discarded_localization_item_dict
|
|
29
|
+
)
|
|
30
|
+
```
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
32
|
+
|
|
33
|
+
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**file_name** | **str** | Filename of the initial file if any. **None** for text input. |
|
|
11
11
|
**possible_transformations** | **List[str]** | Possible transformations that can be done with this document. | [optional]
|
|
12
12
|
**dpi** | **int** | Resolution used to convert formatted documents (PDFs, etc.) to images, in dot per inch. | [optional]
|
|
13
|
-
**part_count** | **int** | Number of
|
|
13
|
+
**part_count** | **int** | Number of pages in this document. |
|
|
14
14
|
**type** | **str** | |
|
|
15
15
|
**text** | **str** | The text content of the document. |
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**file_name** | **str** | Filename of the initial file. |
|
|
11
11
|
**possible_transformations** | **List[str]** | Possible transformations that can be done with this document. | [optional]
|
|
12
12
|
**dpi** | **int** | Resolution used to convert formatted documents (PDFs, etc.) to images, in dot per inch. | [optional]
|
|
13
|
-
**part_count** | **int** | Number of
|
|
13
|
+
**part_count** | **int** | Number of pages in this document. |
|
|
14
14
|
**type** | **str** | |
|
|
15
15
|
|
|
16
16
|
## Example
|
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
# **post_api_content_extraction_contentprojectid_jobs_document_documentid**
|
|
13
|
-
> JobIdResponse post_api_content_extraction_contentprojectid_jobs_document_documentid(content_project_id, document_id, x_organization_id=x_organization_id, timeout=timeout)
|
|
13
|
+
> JobIdResponse post_api_content_extraction_contentprojectid_jobs_document_documentid(content_project_id, document_id, x_organization_id=x_organization_id, timeout=timeout, low_priority=low_priority)
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Extract content from the provided document in markdown format as an async job.
|
|
@@ -67,6 +67,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
67
67
|
document_id = "document_id_example" # str | Unique document identifier.
|
|
68
68
|
x_organization_id = "x_organization_id_example" # str | Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. (optional)
|
|
69
69
|
timeout = "timeout_example" # str | Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h (optional)
|
|
70
|
+
low_priority = False # bool | Submit this job with lower scheduling priority in the job queue and inference engine. (optional) (default to False)
|
|
70
71
|
|
|
71
72
|
try:
|
|
72
73
|
api_response = api_instance.post_api_content_extraction_contentprojectid_jobs_document_documentid(
|
|
@@ -74,6 +75,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
74
75
|
document_id,
|
|
75
76
|
x_organization_id=x_organization_id,
|
|
76
77
|
timeout=timeout,
|
|
78
|
+
low_priority=low_priority,
|
|
77
79
|
)
|
|
78
80
|
print(
|
|
79
81
|
"The response of InferenceApi->post_api_content_extraction_contentprojectid_jobs_document_documentid:\n"
|
|
@@ -97,6 +99,7 @@ Name | Type | Description | Notes
|
|
|
97
99
|
**document_id** | **str**| Unique document identifier. |
|
|
98
100
|
**x_organization_id** | **str**| Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. | [optional]
|
|
99
101
|
**timeout** | **str**| Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h | [optional]
|
|
102
|
+
**low_priority** | **bool**| Submit this job with lower scheduling priority in the job queue and inference engine. | [optional] [default to False]
|
|
100
103
|
|
|
101
104
|
### Return type
|
|
102
105
|
|
|
@@ -109,19 +112,20 @@ Name | Type | Description | Notes
|
|
|
109
112
|
### HTTP request headers
|
|
110
113
|
|
|
111
114
|
- **Content-Type**: Not defined
|
|
112
|
-
- **Accept**: application/json
|
|
115
|
+
- **Accept**: application/json, text/plain
|
|
113
116
|
|
|
114
117
|
### HTTP response details
|
|
115
118
|
|
|
116
119
|
| Status code | Description | Response headers |
|
|
117
120
|
|-------------|-------------|------------------|
|
|
118
121
|
**200** | | - |
|
|
122
|
+
**400** | Invalid value for: query parameter lowPriority | - |
|
|
119
123
|
**0** | | - |
|
|
120
124
|
|
|
121
125
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
122
126
|
|
|
123
127
|
# **post_api_structured_extraction_structuredprojectid_jobs_document_documentid**
|
|
124
|
-
> JobIdResponse post_api_structured_extraction_structuredprojectid_jobs_document_documentid(structured_project_id, document_id, x_organization_id=x_organization_id, temperature=temperature, max_output_tokens=max_output_tokens, max_example_token_number=max_example_token_number, max_example_number=max_example_number, min_example_similarity=min_example_similarity, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, random_seed=random_seed, image_width=image_width, timeout=timeout)
|
|
128
|
+
> JobIdResponse post_api_structured_extraction_structuredprojectid_jobs_document_documentid(structured_project_id, document_id, x_organization_id=x_organization_id, temperature=temperature, max_output_tokens=max_output_tokens, max_example_token_number=max_example_token_number, max_example_number=max_example_number, min_example_similarity=min_example_similarity, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, random_seed=random_seed, image_width=image_width, timeout=timeout, low_priority=low_priority)
|
|
125
129
|
|
|
126
130
|
|
|
127
131
|
Performs structured information extraction inference on the provided document as an async job.
|
|
@@ -191,6 +195,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
191
195
|
random_seed = "random_seed_example" # str | Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. (optional)
|
|
192
196
|
image_width = "image_width_example" # str | Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. (optional)
|
|
193
197
|
timeout = "timeout_example" # str | Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h (optional)
|
|
198
|
+
low_priority = False # bool | Submit this job with lower scheduling priority in the job queue and inference engine. (optional) (default to False)
|
|
194
199
|
|
|
195
200
|
try:
|
|
196
201
|
api_response = api_instance.post_api_structured_extraction_structuredprojectid_jobs_document_documentid(
|
|
@@ -208,6 +213,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
208
213
|
random_seed=random_seed,
|
|
209
214
|
image_width=image_width,
|
|
210
215
|
timeout=timeout,
|
|
216
|
+
low_priority=low_priority,
|
|
211
217
|
)
|
|
212
218
|
print(
|
|
213
219
|
"The response of InferenceApi->post_api_structured_extraction_structuredprojectid_jobs_document_documentid:\n"
|
|
@@ -241,6 +247,7 @@ Name | Type | Description | Notes
|
|
|
241
247
|
**random_seed** | **str**| Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. | [optional]
|
|
242
248
|
**image_width** | **str**| Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. | [optional]
|
|
243
249
|
**timeout** | **str**| Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h | [optional]
|
|
250
|
+
**low_priority** | **bool**| Submit this job with lower scheduling priority in the job queue and inference engine. | [optional] [default to False]
|
|
244
251
|
|
|
245
252
|
### Return type
|
|
246
253
|
|
|
@@ -260,13 +267,13 @@ Name | Type | Description | Notes
|
|
|
260
267
|
| Status code | Description | Response headers |
|
|
261
268
|
|-------------|-------------|------------------|
|
|
262
269
|
**200** | | - |
|
|
263
|
-
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter maxExampleTokenNumber, Invalid value for: query parameter minExampleSimilarity, Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection | - |
|
|
270
|
+
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter maxExampleTokenNumber, Invalid value for: query parameter minExampleSimilarity, Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection, Invalid value for: query parameter lowPriority | - |
|
|
264
271
|
**0** | | - |
|
|
265
272
|
|
|
266
273
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
267
274
|
|
|
268
275
|
# **post_api_template_generation_jobs_document_documentid**
|
|
269
|
-
> JobIdResponse post_api_template_generation_jobs_document_documentid(document_id, x_organization_id=x_organization_id, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, image_width=image_width, timeout=timeout)
|
|
276
|
+
> JobIdResponse post_api_template_generation_jobs_document_documentid(document_id, x_organization_id=x_organization_id, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, image_width=image_width, timeout=timeout, low_priority=low_priority)
|
|
270
277
|
|
|
271
278
|
|
|
272
279
|
Derive a template from the provided **Document** as an async job.
|
|
@@ -323,6 +330,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
323
330
|
)
|
|
324
331
|
image_width = "image_width_example" # str | Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. (optional)
|
|
325
332
|
timeout = "timeout_example" # str | Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h (optional)
|
|
333
|
+
low_priority = False # bool | Submit this job with lower scheduling priority in the job queue and inference engine. (optional) (default to False)
|
|
326
334
|
|
|
327
335
|
try:
|
|
328
336
|
api_response = (
|
|
@@ -334,6 +342,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
334
342
|
loop_detection=loop_detection,
|
|
335
343
|
image_width=image_width,
|
|
336
344
|
timeout=timeout,
|
|
345
|
+
low_priority=low_priority,
|
|
337
346
|
)
|
|
338
347
|
)
|
|
339
348
|
print(
|
|
@@ -361,6 +370,7 @@ Name | Type | Description | Notes
|
|
|
361
370
|
**loop_detection** | **bool**| Stop the generation when the model repeats itself. | [optional]
|
|
362
371
|
**image_width** | **str**| Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. | [optional]
|
|
363
372
|
**timeout** | **str**| Execution timeout for the async inference job. If omitted, the server default of 60m is used. If provided below the server-configured minimum (5m by default), the effective timeout is clamped to that minimum. Format examples: 1000ms, 10s, 1m, 1h | [optional]
|
|
373
|
+
**low_priority** | **bool**| Submit this job with lower scheduling priority in the job queue and inference engine. | [optional] [default to False]
|
|
364
374
|
|
|
365
375
|
### Return type
|
|
366
376
|
|
|
@@ -380,7 +390,7 @@ Name | Type | Description | Notes
|
|
|
380
390
|
| Status code | Description | Response headers |
|
|
381
391
|
|-------------|-------------|------------------|
|
|
382
392
|
**200** | | - |
|
|
383
|
-
**400** | Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection | - |
|
|
393
|
+
**400** | Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection, Invalid value for: query parameter lowPriority | - |
|
|
384
394
|
**0** | | - |
|
|
385
395
|
|
|
386
396
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
# numind.openapi_client.
|
|
1
|
+
# numind.openapi_client.LocalizationApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://nuextract.ai*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
7
|
+
[**get_api_localization_jobs_localizationjobid**](LocalizationApi.md#get_api_localization_jobs_localizationjobid) | **GET** /api/localization/jobs/{localizationJobId} |
|
|
8
|
+
[**post_api_localization_jobs_from_extraction_sourcejobid**](LocalizationApi.md#post_api_localization_jobs_from_extraction_sourcejobid) | **POST** /api/localization/jobs/from-extraction/{sourceJobId} |
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
# **
|
|
12
|
-
>
|
|
11
|
+
# **get_api_localization_jobs_localizationjobid**
|
|
12
|
+
> LocalizationResponse get_api_localization_jobs_localizationjobid(localization_job_id, x_organization_id=x_organization_id)
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
Retrieve the result of a completed localization job.
|
|
16
|
+
|
|
17
|
+
The result follows the extraction's structure, with lists of `{page, bbox}` objects at leaves.
|
|
18
|
+
`page` is a one-based document page number.
|
|
19
|
+
`bbox` contains normalized `[x1, y1, x2, y2]` coordinates (0–1).
|
|
20
|
+
|
|
21
|
+
Returns `200 OK` for a complete result or `206 Partial Content` with all available boxes,
|
|
22
|
+
`discardedLocalizationItems` and `diagnostics` explaining any partial result.
|
|
23
|
+
`400 JobNotCompleted` if pending or running; `403 QuotaExceeded` if the job failed its quota check.
|
|
24
|
+
|
|
15
25
|
|
|
16
26
|
### Example
|
|
17
27
|
|
|
@@ -19,6 +29,7 @@ Exports a project as a zip archive.
|
|
|
19
29
|
|
|
20
30
|
```python
|
|
21
31
|
import numind.openapi_client
|
|
32
|
+
from numind.models.localization_response import LocalizationResponse
|
|
22
33
|
from numind.openapi_client.rest import ApiException
|
|
23
34
|
from pprint import pprint
|
|
24
35
|
|
|
@@ -36,22 +47,21 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
36
47
|
# Enter a context with an instance of the API client
|
|
37
48
|
with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
38
49
|
# Create an instance of the API class
|
|
39
|
-
api_instance = numind.openapi_client.
|
|
40
|
-
|
|
41
|
-
project_id = "project_id_example" # str | Unique project identifier.
|
|
50
|
+
api_instance = numind.openapi_client.LocalizationApi(api_client)
|
|
51
|
+
localization_job_id = "localization_job_id_example" # str |
|
|
42
52
|
x_organization_id = "x_organization_id_example" # str | Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. (optional)
|
|
43
53
|
|
|
44
54
|
try:
|
|
45
|
-
api_response = api_instance.
|
|
46
|
-
|
|
55
|
+
api_response = api_instance.get_api_localization_jobs_localizationjobid(
|
|
56
|
+
localization_job_id, x_organization_id=x_organization_id
|
|
47
57
|
)
|
|
48
58
|
print(
|
|
49
|
-
"The response of
|
|
59
|
+
"The response of LocalizationApi->get_api_localization_jobs_localizationjobid:\n"
|
|
50
60
|
)
|
|
51
61
|
pprint(api_response)
|
|
52
62
|
except Exception as e:
|
|
53
63
|
print(
|
|
54
|
-
"Exception when calling
|
|
64
|
+
"Exception when calling LocalizationApi->get_api_localization_jobs_localizationjobid: %s\n"
|
|
55
65
|
% e
|
|
56
66
|
)
|
|
57
67
|
```
|
|
@@ -63,13 +73,12 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
63
73
|
|
|
64
74
|
Name | Type | Description | Notes
|
|
65
75
|
------------- | ------------- | ------------- | -------------
|
|
66
|
-
**
|
|
67
|
-
**project_id** | **str**| Unique project identifier. |
|
|
76
|
+
**localization_job_id** | **str**| |
|
|
68
77
|
**x_organization_id** | **str**| Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. | [optional]
|
|
69
78
|
|
|
70
79
|
### Return type
|
|
71
80
|
|
|
72
|
-
**
|
|
81
|
+
[**LocalizationResponse**](LocalizationResponse.md)
|
|
73
82
|
|
|
74
83
|
### Authorization
|
|
75
84
|
|
|
@@ -78,22 +87,35 @@ Name | Type | Description | Notes
|
|
|
78
87
|
### HTTP request headers
|
|
79
88
|
|
|
80
89
|
- **Content-Type**: Not defined
|
|
81
|
-
- **Accept**: application/
|
|
90
|
+
- **Accept**: application/json
|
|
82
91
|
|
|
83
92
|
### HTTP response details
|
|
84
93
|
|
|
85
94
|
| Status code | Description | Response headers |
|
|
86
95
|
|-------------|-------------|------------------|
|
|
87
|
-
**200** |
|
|
88
|
-
**
|
|
89
|
-
**
|
|
96
|
+
**200** | Job completed successfully. | - |
|
|
97
|
+
**206** | Job completed with a partial result. | - |
|
|
98
|
+
**400** | Invalid request or job not completed (JobNotCompleted). | - |
|
|
99
|
+
**401** | Missing or invalid authentication. | - |
|
|
100
|
+
**403** | Localization is disabled, access is denied, or quota is exceeded (QuotaExceeded). | - |
|
|
101
|
+
**404** | Job, project or document not found in the active scope. | - |
|
|
102
|
+
**409** | Localization job canceled (JobCanceled). | - |
|
|
103
|
+
**429** | Localization job failed with a rate-limit error. | - |
|
|
104
|
+
**500** | Localization job failed or timed out (JobTimeout), or its stored result is unreadable. | - |
|
|
90
105
|
|
|
91
106
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
92
107
|
|
|
93
|
-
# **
|
|
94
|
-
>
|
|
108
|
+
# **post_api_localization_jobs_from_extraction_sourcejobid**
|
|
109
|
+
> JobIdResponse post_api_localization_jobs_from_extraction_sourcejobid(source_job_id, x_organization_id=x_organization_id, low_priority=low_priority)
|
|
110
|
+
|
|
95
111
|
|
|
96
|
-
|
|
112
|
+
Start localization inference from a completed structured extraction job, with or without a project.
|
|
113
|
+
The extraction must have no partial error, and its document must contain image pages.
|
|
114
|
+
Uses the source job's temperature, maxOutputTokens, loopDetection and randomSeed settings.
|
|
115
|
+
|
|
116
|
+
Returns a `jobId`. Poll GET `/api/jobs/{jobId}/status`, then retrieve the completed result
|
|
117
|
+
with GET `/api/localization/jobs/{jobId}`.
|
|
118
|
+
|
|
97
119
|
|
|
98
120
|
### Example
|
|
99
121
|
|
|
@@ -101,7 +123,7 @@ Imports a project from a zip archive.
|
|
|
101
123
|
|
|
102
124
|
```python
|
|
103
125
|
import numind.openapi_client
|
|
104
|
-
from numind.models.
|
|
126
|
+
from numind.models.job_id_response import JobIdResponse
|
|
105
127
|
from numind.openapi_client.rest import ApiException
|
|
106
128
|
from pprint import pprint
|
|
107
129
|
|
|
@@ -119,19 +141,26 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
119
141
|
# Enter a context with an instance of the API client
|
|
120
142
|
with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
121
143
|
# Create an instance of the API class
|
|
122
|
-
api_instance = numind.openapi_client.
|
|
123
|
-
|
|
144
|
+
api_instance = numind.openapi_client.LocalizationApi(api_client)
|
|
145
|
+
source_job_id = "source_job_id_example" # str |
|
|
124
146
|
x_organization_id = "x_organization_id_example" # str | Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. (optional)
|
|
147
|
+
low_priority = False # bool | Submit this job with lower scheduling priority in the job queue and inference engine. (optional) (default to False)
|
|
125
148
|
|
|
126
149
|
try:
|
|
127
|
-
api_response =
|
|
128
|
-
|
|
150
|
+
api_response = (
|
|
151
|
+
api_instance.post_api_localization_jobs_from_extraction_sourcejobid(
|
|
152
|
+
source_job_id,
|
|
153
|
+
x_organization_id=x_organization_id,
|
|
154
|
+
low_priority=low_priority,
|
|
155
|
+
)
|
|
156
|
+
)
|
|
157
|
+
print(
|
|
158
|
+
"The response of LocalizationApi->post_api_localization_jobs_from_extraction_sourcejobid:\n"
|
|
129
159
|
)
|
|
130
|
-
print("The response of ProjectImportExportApi->post_api_extraction_import:\n")
|
|
131
160
|
pprint(api_response)
|
|
132
161
|
except Exception as e:
|
|
133
162
|
print(
|
|
134
|
-
"Exception when calling
|
|
163
|
+
"Exception when calling LocalizationApi->post_api_localization_jobs_from_extraction_sourcejobid: %s\n"
|
|
135
164
|
% e
|
|
136
165
|
)
|
|
137
166
|
```
|
|
@@ -143,12 +172,13 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
143
172
|
|
|
144
173
|
Name | Type | Description | Notes
|
|
145
174
|
------------- | ------------- | ------------- | -------------
|
|
146
|
-
**
|
|
175
|
+
**source_job_id** | **str**| |
|
|
147
176
|
**x_organization_id** | **str**| Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. | [optional]
|
|
177
|
+
**low_priority** | **bool**| Submit this job with lower scheduling priority in the job queue and inference engine. | [optional] [default to False]
|
|
148
178
|
|
|
149
179
|
### Return type
|
|
150
180
|
|
|
151
|
-
[**
|
|
181
|
+
[**JobIdResponse**](JobIdResponse.md)
|
|
152
182
|
|
|
153
183
|
### Authorization
|
|
154
184
|
|
|
@@ -156,16 +186,19 @@ Name | Type | Description | Notes
|
|
|
156
186
|
|
|
157
187
|
### HTTP request headers
|
|
158
188
|
|
|
159
|
-
- **Content-Type**:
|
|
160
|
-
- **Accept**: application/json
|
|
189
|
+
- **Content-Type**: Not defined
|
|
190
|
+
- **Accept**: application/json
|
|
161
191
|
|
|
162
192
|
### HTTP response details
|
|
163
193
|
|
|
164
194
|
| Status code | Description | Response headers |
|
|
165
195
|
|-------------|-------------|------------------|
|
|
166
196
|
**200** | | - |
|
|
167
|
-
**400** | Invalid
|
|
168
|
-
**
|
|
197
|
+
**400** | Invalid request or job not completed (JobNotCompleted). | - |
|
|
198
|
+
**401** | Missing or invalid authentication. | - |
|
|
199
|
+
**403** | Localization is disabled or access is denied. | - |
|
|
200
|
+
**404** | Job, project or document not found in the active scope. | - |
|
|
201
|
+
**500** | Invalid stored job data or internal error. | - |
|
|
169
202
|
|
|
170
203
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
171
204
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# LocalizationResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**localization** | [**Dict[str, Optional[LocalizationValue]]**](LocalizationValue.md) | Localization groups. Each field contains a list of boxes with a one-based document page number and a bbox array of normalized [x1, y1, x2, y2] coordinates (0–1). |
|
|
9
|
+
**discarded_localization_items_count** | **int** | Number of localization validation errors. |
|
|
10
|
+
**discarded_localization_items** | [**List[DiscardedLocalizationItem]**](DiscardedLocalizationItem.md) | Localization validation errors, including invalid boxes and missing or unexpected fields. | [optional]
|
|
11
|
+
**diagnostics** | **List[str]** | Diagnostics explaining why results are partial. | [optional]
|
|
12
|
+
**input_tokens** | **int** | Input tokens used for localization inference, when available. | [optional]
|
|
13
|
+
**output_tokens** | **int** | Output tokens used for localization inference, when available. | [optional]
|
|
14
|
+
**raw_model_output** | **str** | Exact model content before localization post-processing. |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from numind.models.localization_response import LocalizationResponse
|
|
20
|
+
|
|
21
|
+
# TODO update the JSON string below
|
|
22
|
+
json = "{}"
|
|
23
|
+
# create an instance of LocalizationResponse from a JSON string
|
|
24
|
+
localization_response_instance = LocalizationResponse.from_json(json)
|
|
25
|
+
# print the JSON string representation of the object
|
|
26
|
+
print(LocalizationResponse.to_json())
|
|
27
|
+
|
|
28
|
+
# convert the object into a dict
|
|
29
|
+
localization_response_dict = localization_response_instance.to_dict()
|
|
30
|
+
# create an instance of LocalizationResponse from a dict
|
|
31
|
+
localization_response_from_dict = LocalizationResponse.from_dict(
|
|
32
|
+
localization_response_dict
|
|
33
|
+
)
|
|
34
|
+
```
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
36
|
+
|
|
37
|
+
|