numind 0.4.1__tar.gz → 0.4.3__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.1 → numind-0.4.3}/PKG-INFO +15 -1
- {numind-0.4.1 → numind-0.4.3}/README.md +14 -0
- numind-0.4.3/docs/BoundingBox.md +30 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ContentExtractionApi.md +14 -7
- {numind-0.4.1 → numind-0.4.3}/docs/ContentExtractionProjectManagementApi.md +8 -6
- {numind-0.4.1 → numind-0.4.3}/docs/ContentExtractionResponse.md +1 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ContentProjectSettingsResponse.md +3 -2
- numind-0.4.3/docs/ContentProjectSettingsResponseImageWidth.md +39 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ContentSettingsPatch.md +3 -2
- {numind-0.4.1 → numind-0.4.3}/docs/ConvertRequest.md +1 -0
- numind-0.4.3/docs/DiscardedLocalization.md +33 -0
- {numind-0.4.1 → numind-0.4.3}/docs/DocumentInfo.md +1 -1
- {numind-0.4.1 → numind-0.4.3}/docs/FilesApi.md +7 -2
- {numind-0.4.1 → numind-0.4.3}/docs/ImageInfo.md +1 -1
- {numind-0.4.1 → numind-0.4.3}/docs/InferenceApi.md +30 -14
- numind-0.4.1/docs/ProjectImportExportApi.md → numind-0.4.3/docs/LocalizationApi.md +69 -36
- numind-0.4.3/docs/LocalizationResponse.md +37 -0
- numind-0.4.3/docs/LocalizationValue.md +28 -0
- numind-0.4.3/docs/ProjectImportExportApi.md +457 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredDataExtractionApi.md +236 -23
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredExtractionProjectManagementApi.md +12 -7
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredExtractionResponse.md +1 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredProjectSettingsResponse.md +4 -3
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredSettingsPatch.md +4 -3
- {numind-0.4.1 → numind-0.4.3}/docs/TemplateGenerationApi.md +20 -8
- {numind-0.4.1 → numind-0.4.3}/pyproject.toml +1 -1
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/pyproject_base.toml +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/exceptions.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/__init__.py +8 -1
- numind-0.4.3/src/numind/models/bounding_box.py +93 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content_extraction_response.py +16 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content_project_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content_project_settings_response.py +19 -6
- numind-0.4.3/src/numind/models/content_project_settings_response_image_width.py +162 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/content_settings_patch.py +21 -6
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/convert_request.py +18 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/create_content_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/create_or_update_structured_example_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/create_structured_project_request.py +1 -1
- numind-0.4.3/src/numind/models/discarded_localization.py +93 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/document_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/document_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/file_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/health_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/image_info.py +2 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/import_project_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/inference_status.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/inference_status_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/inference_validation_error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/information_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/invalid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/job_id_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/job_report_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/job_status_response.py +1 -1
- numind-0.4.3/src/numind/models/localization_response.py +161 -0
- numind-0.4.3/src/numind/models/localization_value.py +211 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/paginated_response_t.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/post_processing_error_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/post_processing_repair_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/post_processing_report_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/reference_project_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/service_status.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_example_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_extraction_response.py +16 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_inference_example.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_project_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_project_settings_response.py +21 -8
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/structured_settings_patch.py +23 -8
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/template_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/template_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/text_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/text_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/update_content_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/update_structured_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/valid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/models/version_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/__init__.py +11 -4
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/base.py +2 -2
- numind-0.4.3/src/numind/nuextract_utils/data_validation/types/bbox.py +73 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/country.py +5 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/currency.py +3 -4
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/date_time.py +6 -6
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/duration.py +2 -2
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/email_address.py +2 -6
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/language_tag.py +7 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/phone_number.py +6 -12
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/region.py +66 -47
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/url.py +6 -8
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/verbatim_string.py +4 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/template_conversion/json_schema.py +9 -6
- {numind-0.4.1 → numind-0.4.3}/src/numind/numind.py +18 -13
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/__init__.py +21 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/__init__.py +1 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/content_extraction_api.py +93 -31
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/content_extraction_project_management_api.py +7 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/default_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/documents_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/files_api.py +4 -4
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/inference_api.py +208 -50
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/jobs_api.py +1 -1
- numind-0.4.1/src/numind/openapi_client/api/project_import_export_api.py → numind-0.4.3/src/numind/openapi_client/api/localization_api.py +145 -138
- numind-0.4.3/src/numind/openapi_client/api/project_import_export_api.py +1546 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/structured_data_extraction_api.py +881 -111
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/structured_extraction_examples_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/structured_extraction_project_management_api.py +7 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api/template_generation_api.py +149 -25
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/api_client.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/configuration.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/rest.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/__init__.py +21 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/__init__.py +1 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/content_extraction_api.py +93 -31
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +7 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/default_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/documents_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/files_api.py +4 -4
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/inference_api.py +208 -50
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/jobs_api.py +1 -1
- numind-0.4.1/src/numind/openapi_client_async/api/project_import_export_api.py → numind-0.4.3/src/numind/openapi_client_async/api/localization_api.py +145 -138
- numind-0.4.3/src/numind/openapi_client_async/api/project_import_export_api.py +1546 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/structured_data_extraction_api.py +881 -111
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +7 -7
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api/template_generation_api.py +149 -25
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/api_client.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/configuration.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/rest.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/conftest.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/nuextract_utils/test_error_detection.py +3 -3
- numind-0.4.3/tests/openapi_client/test_bounding_box.py +59 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content.py +9 -7
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content_extraction_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content_extraction_project_management_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content_extraction_response.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content_project_response.py +9 -7
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_content_project_settings_response.py +8 -6
- numind-0.4.3/tests/openapi_client/test_content_project_settings_response_image_width.py +55 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_content_settings_patch.py +5 -4
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_convert_request.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_create_content_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_create_or_update_structured_example_request.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_create_structured_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_default_api.py +1 -1
- numind-0.4.3/tests/openapi_client/test_discarded_localization.py +56 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_document_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_document_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_documents_api.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_file_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_files_api.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_health_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_image_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_import_project_response.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_inference_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_inference_status.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_inference_status_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_inference_validation_error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_information_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_invalid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_job_id_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_job_report_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_job_status_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_jobs_api.py +1 -1
- numind-0.4.3/tests/openapi_client/test_localization_api.py +34 -0
- numind-0.4.3/tests/openapi_client/test_localization_response.py +72 -0
- numind-0.4.3/tests/openapi_client/test_localization_value.py +51 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_paginated_response_t.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_post_processing_error_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_post_processing_repair_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_post_processing_report_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_project_import_export_api.py +10 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_reference_project_response.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_service_status.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_structured.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_data_extraction_api.py +7 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_example_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_extraction_examples_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_extraction_project_management_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_extraction_response.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_inference_example.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_structured_project_response.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_project_settings_response.py +10 -8
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_structured_settings_patch.py +6 -5
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_template_generation_api.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_template_request.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_template_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_text_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_text_request.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_update_content_project_request.py +1 -1
- {numind-0.4.1/tests/openapi_client_async → numind-0.4.3/tests/openapi_client}/test_update_structured_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_valid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/test_version_response.py +1 -1
- numind-0.4.3/tests/openapi_client_async/test_bounding_box.py +59 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content.py +9 -7
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content_extraction_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content_extraction_project_management_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content_extraction_response.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content_project_response.py +9 -7
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_content_project_settings_response.py +8 -6
- numind-0.4.3/tests/openapi_client_async/test_content_project_settings_response_image_width.py +55 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_content_project_settings_response_rasterization_dpi.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_content_settings_patch.py +5 -4
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_convert_request.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_create_content_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_create_or_update_structured_example_request.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_create_structured_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_default_api.py +1 -1
- numind-0.4.3/tests/openapi_client_async/test_discarded_localization.py +56 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_document_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_document_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_documents_api.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_file_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_files_api.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_health_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_image_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_import_project_response.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_inference_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_inference_status.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_inference_status_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_inference_validation_error.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_information_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_invalid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_job_id_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_job_report_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_job_status_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_jobs_api.py +1 -1
- numind-0.4.3/tests/openapi_client_async/test_localization_api.py +34 -0
- numind-0.4.3/tests/openapi_client_async/test_localization_response.py +72 -0
- numind-0.4.3/tests/openapi_client_async/test_localization_value.py +51 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_paginated_response_t.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_post_processing_error_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_post_processing_repair_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_post_processing_report_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_project_import_export_api.py +10 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_reference_project_response.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_service_status.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_structured.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_data_extraction_api.py +7 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_example_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_extraction_examples_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_extraction_project_management_api.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_extraction_response.py +4 -2
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_inference_example.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_structured_project_response.py +11 -9
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_project_settings_response.py +10 -8
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_structured_settings_patch.py +6 -5
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_template_generation_api.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_template_request.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_template_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_text_info.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_text_request.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_update_content_project_request.py +1 -1
- {numind-0.4.1/tests/openapi_client → numind-0.4.3/tests/openapi_client_async}/test_update_structured_project_request.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_valid_information.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/test_version_response.py +1 -1
- {numind-0.4.1 → numind-0.4.3}/tests/test_conversion_json_schema.py +87 -24
- {numind-0.4.1 → numind-0.4.3}/tests/test_extract_structured_data.py +35 -12
- {numind-0.4.1 → numind-0.4.3}/tests/test_project.py +10 -3
- {numind-0.4.1 → numind-0.4.3}/.github/codecov.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/dependabot.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/workflows/lint.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/workflows/publish-pypi.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/workflows/sdk-auto-update.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/workflows/tests.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
- {numind-0.4.1 → numind-0.4.3}/.gitignore +0 -0
- {numind-0.4.1 → numind-0.4.3}/LICENSE +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/Content.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ContentProjectResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ContentProjectSettingsResponseRasterizationDPI.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/CreateContentProjectRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/CreateOrUpdateStructuredExampleRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/CreateStructuredProjectRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/DefaultApi.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/DocumentResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/DocumentsApi.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/Error.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/FileResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/HealthResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ImportProjectResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/InferenceStatus.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/InferenceStatusResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/InferenceValidationError.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/InformationResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/InvalidInformation.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/JobIdResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/JobReportResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/JobStatusResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/JobsApi.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/PaginatedResponseT.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/PostProcessingErrorResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/PostProcessingRepairResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/PostProcessingReportResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ReferenceProjectResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ServiceStatus.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/Structured.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredExampleResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredExtractionExamplesApi.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredInferenceExample.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/StructuredProjectResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/TemplateRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/TemplateResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/TextInfo.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/TextRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/UpdateContentProjectRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/UpdateStructuredProjectRequest.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/ValidInformation.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/docs/VersionResponse.md +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/.openapi-generator-ignore +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/adapt_openapi_client_init.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/adapt_pyproject.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/collate_documentation_readme.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/config.json +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/gen_sdk.sh +0 -0
- {numind-0.4.1 → numind-0.4.3}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/api_response.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/constants.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/CLDR likelySubtags.xml +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/CLDR supplementalData.xml +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/IANA language subtag registry.txt +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/IANA tlds.txt +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ISO 15924.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ISO 3166-1.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ISO 3166-2.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-one.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-three.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/iso-639-3.tab +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/iso-639-3_Retirements.tab +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/_iso_data/ucum-essence.xml +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/constants.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/data_correction.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/data_validation.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/models.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/_utils.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/bic.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/geolocation.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/iban.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/integer.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/language.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/number.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/rfc3987.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/script.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/string_.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/types/unit_code.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/data_validation/utils.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/template_conversion/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/template_conversion/constants.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/template_conversion/pydantic.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/nuextract_utils/template_conversion/validation.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client/py.typed +0 -0
- {numind-0.4.1 → numind-0.4.3}/src/numind/openapi_client_async/py.typed +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/json_schema_test_cases/1.json +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/nuextract_utils/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/nuextract_utils/test_optional_dependencies.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/openapi_client_async/__init__.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_cases/vacation/examples.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_cases/vacation/files/tahiti.docx +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_cases/vacation/schema.json +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_cases/vacation/texts.csv +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_conversion_pydantic.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_json_schema_descriptions.py +0 -0
- {numind-0.4.1 → numind-0.4.3}/tests/test_numarkdown.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.3
|
|
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,16 +446,19 @@ 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)
|
|
443
453
|
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
454
|
+
- [ContentProjectSettingsResponseImageWidth](docs/ContentProjectSettingsResponseImageWidth.md)
|
|
444
455
|
- [ContentProjectSettingsResponseRasterizationDPI](docs/ContentProjectSettingsResponseRasterizationDPI.md)
|
|
445
456
|
- [ContentSettingsPatch](docs/ContentSettingsPatch.md)
|
|
446
457
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
447
458
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
448
459
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
449
460
|
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
461
|
+
- [DiscardedLocalization](docs/DiscardedLocalization.md)
|
|
450
462
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
451
463
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
452
464
|
- [Error](docs/Error.md)
|
|
@@ -462,6 +474,8 @@ Class | Method | HTTP request | Description
|
|
|
462
474
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
463
475
|
- [JobReportResponse](docs/JobReportResponse.md)
|
|
464
476
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
477
|
+
- [LocalizationResponse](docs/LocalizationResponse.md)
|
|
478
|
+
- [LocalizationValue](docs/LocalizationValue.md)
|
|
465
479
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
466
480
|
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
467
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,16 +370,19 @@ 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)
|
|
367
377
|
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
378
|
+
- [ContentProjectSettingsResponseImageWidth](docs/ContentProjectSettingsResponseImageWidth.md)
|
|
368
379
|
- [ContentProjectSettingsResponseRasterizationDPI](docs/ContentProjectSettingsResponseRasterizationDPI.md)
|
|
369
380
|
- [ContentSettingsPatch](docs/ContentSettingsPatch.md)
|
|
370
381
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
371
382
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
372
383
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
373
384
|
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
385
|
+
- [DiscardedLocalization](docs/DiscardedLocalization.md)
|
|
374
386
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
375
387
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
376
388
|
- [Error](docs/Error.md)
|
|
@@ -386,6 +398,8 @@ Class | Method | HTTP request | Description
|
|
|
386
398
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
387
399
|
- [JobReportResponse](docs/JobReportResponse.md)
|
|
388
400
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
401
|
+
- [LocalizationResponse](docs/LocalizationResponse.md)
|
|
402
|
+
- [LocalizationValue](docs/LocalizationValue.md)
|
|
389
403
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
390
404
|
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
391
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
|
+
|
|
@@ -16,6 +16,7 @@ Method | HTTP request | Description
|
|
|
16
16
|
|
|
17
17
|
#### Response:
|
|
18
18
|
Returns a markdown string representing the extracted content.
|
|
19
|
+
`isTruncated` is true when at least one document part stops at a token limit; the combined result may be incomplete.
|
|
19
20
|
|
|
20
21
|
#### Error Responses:
|
|
21
22
|
`404 Not Found` - If a content extraction job with the specified ID does not exist.
|
|
@@ -101,7 +102,7 @@ Name | Type | Description | Notes
|
|
|
101
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)
|
|
102
103
|
|
|
103
104
|
# **post_api_content_extraction_jobs**
|
|
104
|
-
> 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, 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)
|
|
105
106
|
|
|
106
107
|
|
|
107
108
|
Extract content from the provided file in markdown format as an async job.
|
|
@@ -121,7 +122,7 @@ Name | Type | Description | Notes
|
|
|
121
122
|
#### Settings:
|
|
122
123
|
Request settings override the project settings when `projectId` is provided; otherwise omitted settings use platform defaults.
|
|
123
124
|
Platform defaults: temperature 0.8, rasterization DPI `automatic`,
|
|
124
|
-
output token budget
|
|
125
|
+
output token budget 20000, thinking enabled, thinking token budget 15000,
|
|
125
126
|
loop detection enabled, and random seed `2022`.
|
|
126
127
|
|
|
127
128
|
|
|
@@ -155,14 +156,16 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
155
156
|
project_id = "project_id_example" # str | Optional content project identifier. When provided, project settings are used as fallback for inference parameters; this identifier is also attached to usage and billing events. (optional)
|
|
156
157
|
temperature = 3.4 # float | Model temperature. Controls output diversity. Ranges between 0 and 2. (optional)
|
|
157
158
|
rasterization_dpi = "rasterization_dpi_example" # str | Resolution used to convert formatted documents (PDFs, etc.) to images, in dots per inch. Use 'automatic' or an integer between 1 and 600. Numeric strings are also accepted. Ignored for files that are already images or text. (optional)
|
|
158
|
-
max_output_tokens =
|
|
159
|
+
max_output_tokens = "max_output_tokens_example" # str | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. (optional)
|
|
159
160
|
enable_thinking = True # bool | Enable thinking/reasoning. (optional)
|
|
160
|
-
thinking_token_budget =
|
|
161
|
+
thinking_token_budget = "thinking_token_budget_example" # str | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. (optional)
|
|
161
162
|
loop_detection = (
|
|
162
163
|
True # bool | Stop the generation when the model repeats itself. (optional)
|
|
163
164
|
)
|
|
164
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
|
+
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)
|
|
165
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)
|
|
166
169
|
|
|
167
170
|
try:
|
|
168
171
|
api_response = api_instance.post_api_content_extraction_jobs(
|
|
@@ -176,7 +179,9 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
176
179
|
thinking_token_budget=thinking_token_budget,
|
|
177
180
|
loop_detection=loop_detection,
|
|
178
181
|
random_seed=random_seed,
|
|
182
|
+
image_width=image_width,
|
|
179
183
|
timeout=timeout,
|
|
184
|
+
low_priority=low_priority,
|
|
180
185
|
)
|
|
181
186
|
print(
|
|
182
187
|
"The response of ContentExtractionApi->post_api_content_extraction_jobs:\n"
|
|
@@ -201,12 +206,14 @@ Name | Type | Description | Notes
|
|
|
201
206
|
**project_id** | **str**| Optional content project identifier. When provided, project settings are used as fallback for inference parameters; this identifier is also attached to usage and billing events. | [optional]
|
|
202
207
|
**temperature** | **float**| Model temperature. Controls output diversity. Ranges between 0 and 2. | [optional]
|
|
203
208
|
**rasterization_dpi** | **str**| Resolution used to convert formatted documents (PDFs, etc.) to images, in dots per inch. Use 'automatic' or an integer between 1 and 600. Numeric strings are also accepted. Ignored for files that are already images or text. | [optional]
|
|
204
|
-
**max_output_tokens** | **
|
|
209
|
+
**max_output_tokens** | **str**| Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
205
210
|
**enable_thinking** | **bool**| Enable thinking/reasoning. | [optional]
|
|
206
|
-
**thinking_token_budget** | **
|
|
211
|
+
**thinking_token_budget** | **str**| Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
207
212
|
**loop_detection** | **bool**| Stop the generation when the model repeats itself. | [optional]
|
|
208
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]
|
|
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]
|
|
209
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]
|
|
210
217
|
|
|
211
218
|
### Return type
|
|
212
219
|
|
|
@@ -226,7 +233,7 @@ Name | Type | Description | Notes
|
|
|
226
233
|
| Status code | Description | Response headers |
|
|
227
234
|
|-------------|-------------|------------------|
|
|
228
235
|
**200** | | - |
|
|
229
|
-
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter
|
|
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 | - |
|
|
230
237
|
**0** | | - |
|
|
231
238
|
|
|
232
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)
|
|
@@ -315,11 +315,12 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
315
315
|
content_settings_patch = {
|
|
316
316
|
"temperature": 0.8,
|
|
317
317
|
"rasterizationDPI": "automatic",
|
|
318
|
-
"maxOutputTokens":
|
|
318
|
+
"maxOutputTokens": "20000",
|
|
319
319
|
"enableThinking": true,
|
|
320
|
-
"thinkingTokenBudget": 15000,
|
|
320
|
+
"thinkingTokenBudget": "15000",
|
|
321
321
|
"loopDetection": true,
|
|
322
322
|
"randomSeed": "2022",
|
|
323
|
+
"imageWidth": "automatic",
|
|
323
324
|
} # ContentSettingsPatch |
|
|
324
325
|
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)
|
|
325
326
|
|
|
@@ -396,9 +397,10 @@ A **Project** is created with default settings:
|
|
|
396
397
|
---------|---------|
|
|
397
398
|
`temperature` | 0.8 |
|
|
398
399
|
`rasterizationDPI` | `automatic` |
|
|
399
|
-
`
|
|
400
|
+
`imageWidth` | `automatic` |
|
|
401
|
+
`maxOutputTokens` | 20000 |
|
|
400
402
|
`enableThinking` | true |
|
|
401
|
-
`thinkingTokenBudget` | 15000 (
|
|
403
|
+
`thinkingTokenBudget` | 15000 (`Unlimited` for no limit) |
|
|
402
404
|
`loopDetection` | true |
|
|
403
405
|
`randomSeed` | 2022 (-9223372036854775808 to 9223372036854775807, or `random`) |
|
|
404
406
|
|
|
@@ -503,9 +505,9 @@ Default values are:
|
|
|
503
505
|
-----------|--------|
|
|
504
506
|
`temperature` | 0.8 |
|
|
505
507
|
`rasterizationDPI` | `automatic` |
|
|
506
|
-
`maxOutputTokens` |
|
|
508
|
+
`maxOutputTokens` | 20000 |
|
|
507
509
|
`enableThinking` | true |
|
|
508
|
-
`thinkingTokenBudget` | 15000 (
|
|
510
|
+
`thinkingTokenBudget` | 15000 (`Unlimited` for no limit) |
|
|
509
511
|
`loopDetection` | true |
|
|
510
512
|
`randomSeed` | 2022 (-9223372036854775808 to 9223372036854775807, or `random`) |
|
|
511
513
|
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**logprobs** | **float** | Logprob of the inference result (sum of logprobs of all tokens). |
|
|
15
15
|
**output_token_probability** | **float** | Geometric mean of the output token probabilities. |
|
|
16
16
|
**random_seed** | **int** | Random seed used for this inference. |
|
|
17
|
+
**is_truncated** | **bool** | True when at least one document part stopped at a token limit. The result may be incomplete. |
|
|
17
18
|
|
|
18
19
|
## Example
|
|
19
20
|
|
|
@@ -8,11 +8,12 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**temperature** | **float** | Model temperature. Controls output diversity. Ranges between 0 and 2. |
|
|
10
10
|
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | |
|
|
11
|
-
**max_output_tokens** | **
|
|
11
|
+
**max_output_tokens** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. |
|
|
12
12
|
**enable_thinking** | **bool** | Enable thinking/reasoning. |
|
|
13
|
-
**thinking_token_budget** | **
|
|
13
|
+
**thinking_token_budget** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. |
|
|
14
14
|
**loop_detection** | **bool** | Stop the generation when the model repeats itself. |
|
|
15
15
|
**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. |
|
|
16
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | |
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# ContentProjectSettingsResponseImageWidth
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```python
|
|
13
|
+
from numind.models.content_project_settings_response_image_width import (
|
|
14
|
+
ContentProjectSettingsResponseImageWidth,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of ContentProjectSettingsResponseImageWidth from a JSON string
|
|
20
|
+
content_project_settings_response_image_width_instance = (
|
|
21
|
+
ContentProjectSettingsResponseImageWidth.from_json(json)
|
|
22
|
+
)
|
|
23
|
+
# print the JSON string representation of the object
|
|
24
|
+
print(ContentProjectSettingsResponseImageWidth.to_json())
|
|
25
|
+
|
|
26
|
+
# convert the object into a dict
|
|
27
|
+
content_project_settings_response_image_width_dict = (
|
|
28
|
+
content_project_settings_response_image_width_instance.to_dict()
|
|
29
|
+
)
|
|
30
|
+
# create an instance of ContentProjectSettingsResponseImageWidth from a dict
|
|
31
|
+
content_project_settings_response_image_width_from_dict = (
|
|
32
|
+
ContentProjectSettingsResponseImageWidth.from_dict(
|
|
33
|
+
content_project_settings_response_image_width_dict
|
|
34
|
+
)
|
|
35
|
+
)
|
|
36
|
+
```
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
38
|
+
|
|
39
|
+
|
|
@@ -7,11 +7,12 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**temperature** | **float** | Model temperature. Controls output diversity. Ranges between 0 and 2. | [optional]
|
|
9
9
|
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | | [optional]
|
|
10
|
-
**max_output_tokens** | **
|
|
10
|
+
**max_output_tokens** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
11
11
|
**enable_thinking** | **bool** | Enable thinking/reasoning. | [optional]
|
|
12
|
-
**thinking_token_budget** | **
|
|
12
|
+
**thinking_token_budget** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
13
13
|
**loop_detection** | **bool** | Stop the generation when the model repeats itself. | [optional]
|
|
14
14
|
**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]
|
|
15
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | | [optional]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | |
|
|
9
9
|
**token_budget_type** | **str** | Token budget allocation used while converting the document: `per-page` applies a separate budget to each page, while `all-pages` shares one budget across the entire document. |
|
|
10
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# DiscardedLocalization
|
|
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 import DiscardedLocalization
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of DiscardedLocalization from a JSON string
|
|
20
|
+
discarded_localization_instance = DiscardedLocalization.from_json(json)
|
|
21
|
+
# print the JSON string representation of the object
|
|
22
|
+
print(DiscardedLocalization.to_json())
|
|
23
|
+
|
|
24
|
+
# convert the object into a dict
|
|
25
|
+
discarded_localization_dict = discarded_localization_instance.to_dict()
|
|
26
|
+
# create an instance of DiscardedLocalization from a dict
|
|
27
|
+
discarded_localization_from_dict = DiscardedLocalization.from_dict(
|
|
28
|
+
discarded_localization_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
|
|
|
@@ -260,7 +260,12 @@ Name | Type | Description | Notes
|
|
|
260
260
|
|
|
261
261
|
Convert the **File** into a **Document**
|
|
262
262
|
|
|
263
|
-
- For ***text
|
|
263
|
+
- For ***text files***, the content is used as-is.
|
|
264
|
+
- For ***original standalone raster images***, optional `imageWidth` controls resizing:
|
|
265
|
+
`"automatic"` sets the short side to 1280 pixels, a positive integer sets horizontal width,
|
|
266
|
+
and `"original"` bypasses processing. Omission defaults to `"original"`.
|
|
267
|
+
Aspect ratio is preserved and upscaling is allowed. Original upload bytes are retained.
|
|
268
|
+
This setting never applies to images produced from PDF, TIFF, or other document conversions.
|
|
264
269
|
- For ***other supported file types*** (e.g., PDFs, WORD, PPTX, Excel),
|
|
265
270
|
the file is ***converted to an image*** in the background,
|
|
266
271
|
using the **conversion parameters** provided in the request body (e.g., `rasterizationDPI`).
|
|
@@ -269,7 +274,7 @@ Example request bodies: `{"rasterizationDPI":"automatic","tokenBudgetType":"all-
|
|
|
269
274
|
`{"rasterizationDPI":155,"tokenBudgetType":"per-page"}` for fixed resolution, or `{"rasterizationDPI":"200","tokenBudgetType":"all-pages"}` for a numeric string.
|
|
270
275
|
The `automatic` keyword is case-insensitive. Fixed DPI must be a whole number from 1 to 600, inclusive;
|
|
271
276
|
responses encode fixed DPI as a number. Unlike a partial project settings update, this body requires
|
|
272
|
-
`rasterizationDPI` and `tokenBudgetType` (`all-pages` or `per-page`)
|
|
277
|
+
`rasterizationDPI` and `tokenBudgetType` (`all-pages` or `per-page`) are required; omitted or `null` values are rejected,
|
|
273
278
|
as are `0`, `601`, and `155.5` for `rasterizationDPI`.
|
|
274
279
|
|
|
275
280
|
The resulting image is then saved as a **Document** and can be used for inference or further processing.
|
|
@@ -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
|