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.
Files changed (376) hide show
  1. {numind-0.4.2 → numind-0.4.4}/PKG-INFO +14 -1
  2. {numind-0.4.2 → numind-0.4.4}/README.md +13 -0
  3. numind-0.4.4/docs/BoundingBox.md +30 -0
  4. {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionApi.md +5 -2
  5. numind-0.4.4/docs/DiscardedLocalizationItem.md +33 -0
  6. {numind-0.4.2 → numind-0.4.4}/docs/DocumentInfo.md +1 -1
  7. {numind-0.4.2 → numind-0.4.4}/docs/ImageInfo.md +1 -1
  8. {numind-0.4.2 → numind-0.4.4}/docs/InferenceApi.md +16 -6
  9. numind-0.4.2/docs/ProjectImportExportApi.md → numind-0.4.4/docs/LocalizationApi.md +69 -36
  10. numind-0.4.4/docs/LocalizationResponse.md +37 -0
  11. numind-0.4.4/docs/LocalizationValue.md +28 -0
  12. numind-0.4.4/docs/ProjectImportExportApi.md +457 -0
  13. {numind-0.4.2 → numind-0.4.4}/docs/StructuredDataExtractionApi.md +211 -7
  14. {numind-0.4.2 → numind-0.4.4}/docs/TemplateGenerationApi.md +10 -4
  15. {numind-0.4.2 → numind-0.4.4}/pyproject.toml +1 -1
  16. {numind-0.4.2 → numind-0.4.4}/sdk_generation/pyproject_base.toml +1 -1
  17. {numind-0.4.2 → numind-0.4.4}/src/numind/exceptions.py +1 -1
  18. {numind-0.4.2 → numind-0.4.4}/src/numind/models/__init__.py +5 -1
  19. numind-0.4.4/src/numind/models/bounding_box.py +93 -0
  20. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content.py +1 -1
  21. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_extraction_response.py +1 -1
  22. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_response.py +1 -1
  23. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response.py +1 -1
  24. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response_image_width.py +1 -1
  25. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_project_settings_response_rasterization_dpi.py +1 -1
  26. {numind-0.4.2 → numind-0.4.4}/src/numind/models/content_settings_patch.py +1 -1
  27. {numind-0.4.2 → numind-0.4.4}/src/numind/models/convert_request.py +1 -1
  28. {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_content_project_request.py +1 -1
  29. {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_or_update_structured_example_request.py +1 -1
  30. {numind-0.4.2 → numind-0.4.4}/src/numind/models/create_structured_project_request.py +1 -1
  31. numind-0.4.4/src/numind/models/discarded_localization_item.py +93 -0
  32. {numind-0.4.2 → numind-0.4.4}/src/numind/models/document_info.py +1 -1
  33. {numind-0.4.2 → numind-0.4.4}/src/numind/models/document_response.py +1 -1
  34. {numind-0.4.2 → numind-0.4.4}/src/numind/models/error.py +1 -1
  35. {numind-0.4.2 → numind-0.4.4}/src/numind/models/file_response.py +1 -1
  36. {numind-0.4.2 → numind-0.4.4}/src/numind/models/health_response.py +1 -1
  37. {numind-0.4.2 → numind-0.4.4}/src/numind/models/image_info.py +2 -2
  38. {numind-0.4.2 → numind-0.4.4}/src/numind/models/import_project_response.py +1 -1
  39. {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_status.py +1 -1
  40. {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_status_response.py +1 -1
  41. {numind-0.4.2 → numind-0.4.4}/src/numind/models/inference_validation_error.py +1 -1
  42. {numind-0.4.2 → numind-0.4.4}/src/numind/models/information_response.py +1 -1
  43. {numind-0.4.2 → numind-0.4.4}/src/numind/models/invalid_information.py +1 -1
  44. {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_id_response.py +1 -1
  45. {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_report_response.py +1 -1
  46. {numind-0.4.2 → numind-0.4.4}/src/numind/models/job_status_response.py +1 -1
  47. numind-0.4.4/src/numind/models/localization_response.py +163 -0
  48. numind-0.4.4/src/numind/models/localization_value.py +211 -0
  49. {numind-0.4.2 → numind-0.4.4}/src/numind/models/paginated_response_t.py +1 -1
  50. {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_error_response.py +1 -1
  51. {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_repair_response.py +1 -1
  52. {numind-0.4.2 → numind-0.4.4}/src/numind/models/post_processing_report_response.py +1 -1
  53. {numind-0.4.2 → numind-0.4.4}/src/numind/models/reference_project_response.py +1 -1
  54. {numind-0.4.2 → numind-0.4.4}/src/numind/models/service_status.py +1 -1
  55. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured.py +1 -1
  56. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_example_response.py +1 -1
  57. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_extraction_response.py +1 -1
  58. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_inference_example.py +1 -1
  59. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_project_response.py +1 -1
  60. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_project_settings_response.py +1 -1
  61. {numind-0.4.2 → numind-0.4.4}/src/numind/models/structured_settings_patch.py +1 -1
  62. {numind-0.4.2 → numind-0.4.4}/src/numind/models/template_request.py +1 -1
  63. {numind-0.4.2 → numind-0.4.4}/src/numind/models/template_response.py +1 -1
  64. {numind-0.4.2 → numind-0.4.4}/src/numind/models/text_info.py +1 -1
  65. {numind-0.4.2 → numind-0.4.4}/src/numind/models/text_request.py +1 -1
  66. {numind-0.4.2 → numind-0.4.4}/src/numind/models/update_content_project_request.py +1 -1
  67. {numind-0.4.2 → numind-0.4.4}/src/numind/models/update_structured_project_request.py +1 -1
  68. {numind-0.4.2 → numind-0.4.4}/src/numind/models/valid_information.py +1 -1
  69. {numind-0.4.2 → numind-0.4.4}/src/numind/models/version_response.py +1 -1
  70. numind-0.4.4/src/numind/nuextract_utils/_iso_data/ISO 3166-3.csv +32 -0
  71. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/__init__.py +11 -4
  72. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/base.py +2 -2
  73. numind-0.4.4/src/numind/nuextract_utils/data_validation/types/bbox.py +73 -0
  74. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/country.py +31 -6
  75. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/currency.py +3 -4
  76. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/date_time.py +6 -6
  77. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/duration.py +2 -2
  78. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/email_address.py +2 -6
  79. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/language_tag.py +7 -7
  80. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/phone_number.py +17 -15
  81. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/region.py +66 -47
  82. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/url.py +6 -8
  83. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/verbatim_string.py +18 -16
  84. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/constants.py +1 -1
  85. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/json_schema.py +9 -6
  86. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/__init__.py +17 -1
  87. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/__init__.py +1 -0
  88. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/content_extraction_api.py +32 -1
  89. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/content_extraction_project_management_api.py +1 -1
  90. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/default_api.py +1 -1
  91. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/documents_api.py +1 -1
  92. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/files_api.py +1 -1
  93. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/inference_api.py +98 -2
  94. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/jobs_api.py +1 -1
  95. 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
  96. numind-0.4.4/src/numind/openapi_client/api/project_import_export_api.py +1546 -0
  97. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_data_extraction_api.py +743 -35
  98. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_extraction_examples_api.py +1 -1
  99. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/structured_extraction_project_management_api.py +1 -1
  100. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api/template_generation_api.py +63 -1
  101. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/api_client.py +1 -1
  102. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/configuration.py +1 -1
  103. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/rest.py +1 -1
  104. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/__init__.py +17 -1
  105. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/__init__.py +1 -0
  106. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/content_extraction_api.py +32 -1
  107. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +1 -1
  108. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/default_api.py +1 -1
  109. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/documents_api.py +1 -1
  110. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/files_api.py +1 -1
  111. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/inference_api.py +98 -2
  112. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/jobs_api.py +1 -1
  113. 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
  114. numind-0.4.4/src/numind/openapi_client_async/api/project_import_export_api.py +1546 -0
  115. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_data_extraction_api.py +743 -35
  116. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +1 -1
  117. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +1 -1
  118. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api/template_generation_api.py +63 -1
  119. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/api_client.py +1 -1
  120. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/configuration.py +1 -1
  121. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/rest.py +1 -1
  122. {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/test_error_detection.py +154 -3
  123. numind-0.4.4/tests/openapi_client/test_bounding_box.py +59 -0
  124. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content.py +1 -1
  125. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_extraction_api.py +1 -1
  126. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_extraction_project_management_api.py +1 -1
  127. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_extraction_response.py +1 -1
  128. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_response.py +1 -1
  129. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_content_project_settings_response.py +1 -1
  130. {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
  131. {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
  132. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_content_settings_patch.py +1 -1
  133. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_convert_request.py +1 -1
  134. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_create_content_project_request.py +1 -1
  135. {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
  136. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_create_structured_project_request.py +1 -1
  137. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_default_api.py +1 -1
  138. numind-0.4.4/tests/openapi_client/test_discarded_localization_item.py +56 -0
  139. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_document_info.py +1 -1
  140. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_document_response.py +1 -1
  141. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_documents_api.py +1 -1
  142. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_error.py +1 -1
  143. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_file_response.py +1 -1
  144. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_files_api.py +1 -1
  145. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_health_response.py +1 -1
  146. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_image_info.py +1 -1
  147. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_import_project_response.py +1 -1
  148. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_api.py +1 -1
  149. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_status.py +1 -1
  150. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_inference_status_response.py +1 -1
  151. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_inference_validation_error.py +1 -1
  152. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_information_response.py +1 -1
  153. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_invalid_information.py +1 -1
  154. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_job_id_response.py +1 -1
  155. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_job_report_response.py +1 -1
  156. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_job_status_response.py +1 -1
  157. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_jobs_api.py +1 -1
  158. numind-0.4.4/tests/openapi_client/test_localization_api.py +34 -0
  159. numind-0.4.4/tests/openapi_client/test_localization_response.py +72 -0
  160. numind-0.4.4/tests/openapi_client/test_localization_value.py +51 -0
  161. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_paginated_response_t.py +1 -1
  162. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_post_processing_error_response.py +1 -1
  163. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_post_processing_repair_response.py +1 -1
  164. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_post_processing_report_response.py +1 -1
  165. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_project_import_export_api.py +10 -1
  166. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_reference_project_response.py +1 -1
  167. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_service_status.py +1 -1
  168. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured.py +1 -1
  169. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_data_extraction_api.py +7 -1
  170. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_example_response.py +1 -1
  171. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_examples_api.py +1 -1
  172. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_project_management_api.py +1 -1
  173. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_extraction_response.py +1 -1
  174. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_structured_inference_example.py +1 -1
  175. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_project_response.py +1 -1
  176. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_project_settings_response.py +1 -1
  177. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_structured_settings_patch.py +1 -1
  178. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_template_generation_api.py +1 -1
  179. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_template_request.py +1 -1
  180. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_template_response.py +1 -1
  181. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_text_info.py +1 -1
  182. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_text_request.py +1 -1
  183. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_update_content_project_request.py +1 -1
  184. {numind-0.4.2/tests/openapi_client_async → numind-0.4.4/tests/openapi_client}/test_update_structured_project_request.py +1 -1
  185. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_valid_information.py +1 -1
  186. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/test_version_response.py +1 -1
  187. numind-0.4.4/tests/openapi_client_async/test_bounding_box.py +59 -0
  188. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content.py +1 -1
  189. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_extraction_api.py +1 -1
  190. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_extraction_project_management_api.py +1 -1
  191. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_extraction_response.py +1 -1
  192. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_response.py +1 -1
  193. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_content_project_settings_response.py +1 -1
  194. {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
  195. {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
  196. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_content_settings_patch.py +1 -1
  197. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_convert_request.py +1 -1
  198. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_create_content_project_request.py +1 -1
  199. {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
  200. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_create_structured_project_request.py +1 -1
  201. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_default_api.py +1 -1
  202. numind-0.4.4/tests/openapi_client_async/test_discarded_localization_item.py +56 -0
  203. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_document_info.py +1 -1
  204. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_document_response.py +1 -1
  205. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_documents_api.py +1 -1
  206. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_error.py +1 -1
  207. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_file_response.py +1 -1
  208. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_files_api.py +1 -1
  209. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_health_response.py +1 -1
  210. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_image_info.py +1 -1
  211. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_import_project_response.py +1 -1
  212. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_api.py +1 -1
  213. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_status.py +1 -1
  214. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_inference_status_response.py +1 -1
  215. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_inference_validation_error.py +1 -1
  216. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_information_response.py +1 -1
  217. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_invalid_information.py +1 -1
  218. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_job_id_response.py +1 -1
  219. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_job_report_response.py +1 -1
  220. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_job_status_response.py +1 -1
  221. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_jobs_api.py +1 -1
  222. numind-0.4.4/tests/openapi_client_async/test_localization_api.py +34 -0
  223. numind-0.4.4/tests/openapi_client_async/test_localization_response.py +72 -0
  224. numind-0.4.4/tests/openapi_client_async/test_localization_value.py +51 -0
  225. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_paginated_response_t.py +1 -1
  226. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_post_processing_error_response.py +1 -1
  227. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_post_processing_repair_response.py +1 -1
  228. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_post_processing_report_response.py +1 -1
  229. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_project_import_export_api.py +10 -1
  230. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_reference_project_response.py +1 -1
  231. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_service_status.py +1 -1
  232. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured.py +1 -1
  233. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_data_extraction_api.py +7 -1
  234. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_example_response.py +1 -1
  235. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_examples_api.py +1 -1
  236. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_project_management_api.py +1 -1
  237. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_extraction_response.py +1 -1
  238. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_structured_inference_example.py +1 -1
  239. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_project_response.py +1 -1
  240. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_project_settings_response.py +1 -1
  241. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_structured_settings_patch.py +1 -1
  242. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_template_generation_api.py +1 -1
  243. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_template_request.py +1 -1
  244. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_template_response.py +1 -1
  245. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_text_info.py +1 -1
  246. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_text_request.py +1 -1
  247. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_update_content_project_request.py +1 -1
  248. {numind-0.4.2/tests/openapi_client → numind-0.4.4/tests/openapi_client_async}/test_update_structured_project_request.py +1 -1
  249. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_valid_information.py +1 -1
  250. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/test_version_response.py +1 -1
  251. {numind-0.4.2 → numind-0.4.4}/tests/test_conversion_json_schema.py +88 -25
  252. {numind-0.4.2 → numind-0.4.4}/.github/codecov.yml +0 -0
  253. {numind-0.4.2 → numind-0.4.4}/.github/dependabot.yml +0 -0
  254. {numind-0.4.2 → numind-0.4.4}/.github/workflows/lint.yml +0 -0
  255. {numind-0.4.2 → numind-0.4.4}/.github/workflows/publish-pypi.yml +0 -0
  256. {numind-0.4.2 → numind-0.4.4}/.github/workflows/sdk-auto-update.yml +0 -0
  257. {numind-0.4.2 → numind-0.4.4}/.github/workflows/tests.yml +0 -0
  258. {numind-0.4.2 → numind-0.4.4}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
  259. {numind-0.4.2 → numind-0.4.4}/.gitignore +0 -0
  260. {numind-0.4.2 → numind-0.4.4}/LICENSE +0 -0
  261. {numind-0.4.2 → numind-0.4.4}/docs/Content.md +0 -0
  262. {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionProjectManagementApi.md +0 -0
  263. {numind-0.4.2 → numind-0.4.4}/docs/ContentExtractionResponse.md +0 -0
  264. {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectResponse.md +0 -0
  265. {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponse.md +0 -0
  266. {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponseImageWidth.md +0 -0
  267. {numind-0.4.2 → numind-0.4.4}/docs/ContentProjectSettingsResponseRasterizationDPI.md +0 -0
  268. {numind-0.4.2 → numind-0.4.4}/docs/ContentSettingsPatch.md +0 -0
  269. {numind-0.4.2 → numind-0.4.4}/docs/ConvertRequest.md +0 -0
  270. {numind-0.4.2 → numind-0.4.4}/docs/CreateContentProjectRequest.md +0 -0
  271. {numind-0.4.2 → numind-0.4.4}/docs/CreateOrUpdateStructuredExampleRequest.md +0 -0
  272. {numind-0.4.2 → numind-0.4.4}/docs/CreateStructuredProjectRequest.md +0 -0
  273. {numind-0.4.2 → numind-0.4.4}/docs/DefaultApi.md +0 -0
  274. {numind-0.4.2 → numind-0.4.4}/docs/DocumentResponse.md +0 -0
  275. {numind-0.4.2 → numind-0.4.4}/docs/DocumentsApi.md +0 -0
  276. {numind-0.4.2 → numind-0.4.4}/docs/Error.md +0 -0
  277. {numind-0.4.2 → numind-0.4.4}/docs/FileResponse.md +0 -0
  278. {numind-0.4.2 → numind-0.4.4}/docs/FilesApi.md +0 -0
  279. {numind-0.4.2 → numind-0.4.4}/docs/HealthResponse.md +0 -0
  280. {numind-0.4.2 → numind-0.4.4}/docs/ImportProjectResponse.md +0 -0
  281. {numind-0.4.2 → numind-0.4.4}/docs/InferenceStatus.md +0 -0
  282. {numind-0.4.2 → numind-0.4.4}/docs/InferenceStatusResponse.md +0 -0
  283. {numind-0.4.2 → numind-0.4.4}/docs/InferenceValidationError.md +0 -0
  284. {numind-0.4.2 → numind-0.4.4}/docs/InformationResponse.md +0 -0
  285. {numind-0.4.2 → numind-0.4.4}/docs/InvalidInformation.md +0 -0
  286. {numind-0.4.2 → numind-0.4.4}/docs/JobIdResponse.md +0 -0
  287. {numind-0.4.2 → numind-0.4.4}/docs/JobReportResponse.md +0 -0
  288. {numind-0.4.2 → numind-0.4.4}/docs/JobStatusResponse.md +0 -0
  289. {numind-0.4.2 → numind-0.4.4}/docs/JobsApi.md +0 -0
  290. {numind-0.4.2 → numind-0.4.4}/docs/PaginatedResponseT.md +0 -0
  291. {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingErrorResponse.md +0 -0
  292. {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingRepairResponse.md +0 -0
  293. {numind-0.4.2 → numind-0.4.4}/docs/PostProcessingReportResponse.md +0 -0
  294. {numind-0.4.2 → numind-0.4.4}/docs/ReferenceProjectResponse.md +0 -0
  295. {numind-0.4.2 → numind-0.4.4}/docs/ServiceStatus.md +0 -0
  296. {numind-0.4.2 → numind-0.4.4}/docs/Structured.md +0 -0
  297. {numind-0.4.2 → numind-0.4.4}/docs/StructuredExampleResponse.md +0 -0
  298. {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionExamplesApi.md +0 -0
  299. {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionProjectManagementApi.md +0 -0
  300. {numind-0.4.2 → numind-0.4.4}/docs/StructuredExtractionResponse.md +0 -0
  301. {numind-0.4.2 → numind-0.4.4}/docs/StructuredInferenceExample.md +0 -0
  302. {numind-0.4.2 → numind-0.4.4}/docs/StructuredProjectResponse.md +0 -0
  303. {numind-0.4.2 → numind-0.4.4}/docs/StructuredProjectSettingsResponse.md +0 -0
  304. {numind-0.4.2 → numind-0.4.4}/docs/StructuredSettingsPatch.md +0 -0
  305. {numind-0.4.2 → numind-0.4.4}/docs/TemplateRequest.md +0 -0
  306. {numind-0.4.2 → numind-0.4.4}/docs/TemplateResponse.md +0 -0
  307. {numind-0.4.2 → numind-0.4.4}/docs/TextInfo.md +0 -0
  308. {numind-0.4.2 → numind-0.4.4}/docs/TextRequest.md +0 -0
  309. {numind-0.4.2 → numind-0.4.4}/docs/UpdateContentProjectRequest.md +0 -0
  310. {numind-0.4.2 → numind-0.4.4}/docs/UpdateStructuredProjectRequest.md +0 -0
  311. {numind-0.4.2 → numind-0.4.4}/docs/ValidInformation.md +0 -0
  312. {numind-0.4.2 → numind-0.4.4}/docs/VersionResponse.md +0 -0
  313. {numind-0.4.2 → numind-0.4.4}/sdk_generation/.openapi-generator-ignore +0 -0
  314. {numind-0.4.2 → numind-0.4.4}/sdk_generation/adapt_openapi_client_init.py +0 -0
  315. {numind-0.4.2 → numind-0.4.4}/sdk_generation/adapt_pyproject.py +0 -0
  316. {numind-0.4.2 → numind-0.4.4}/sdk_generation/collate_documentation_readme.py +0 -0
  317. {numind-0.4.2 → numind-0.4.4}/sdk_generation/config.json +0 -0
  318. {numind-0.4.2 → numind-0.4.4}/sdk_generation/gen_sdk.sh +0 -0
  319. {numind-0.4.2 → numind-0.4.4}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
  320. {numind-0.4.2 → numind-0.4.4}/src/numind/__init__.py +0 -0
  321. {numind-0.4.2 → numind-0.4.4}/src/numind/api_response.py +0 -0
  322. {numind-0.4.2 → numind-0.4.4}/src/numind/constants.py +0 -0
  323. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/__init__.py +0 -0
  324. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/CLDR likelySubtags.xml +0 -0
  325. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/CLDR supplementalData.xml +0 -0
  326. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/IANA language subtag registry.txt +0 -0
  327. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/IANA tlds.txt +0 -0
  328. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 15924.csv +0 -0
  329. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 3166-1.csv +0 -0
  330. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 3166-2.csv +0 -0
  331. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-one.csv +0 -0
  332. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-three.csv +0 -0
  333. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/__init__.py +0 -0
  334. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/iso-639-3.tab +0 -0
  335. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/iso-639-3_Retirements.tab +0 -0
  336. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/_iso_data/ucum-essence.xml +0 -0
  337. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/__init__.py +0 -0
  338. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/constants.py +0 -0
  339. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/data_correction.py +0 -0
  340. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/data_validation.py +0 -0
  341. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/models.py +0 -0
  342. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/_utils.py +0 -0
  343. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/bic.py +0 -0
  344. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/geolocation.py +0 -0
  345. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/iban.py +0 -0
  346. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/integer.py +0 -0
  347. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/language.py +0 -0
  348. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/number.py +0 -0
  349. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/rfc3987.py +0 -0
  350. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/script.py +0 -0
  351. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/string_.py +0 -0
  352. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/types/unit_code.py +0 -0
  353. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/data_validation/utils.py +0 -0
  354. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/__init__.py +0 -0
  355. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/pydantic.py +0 -0
  356. {numind-0.4.2 → numind-0.4.4}/src/numind/nuextract_utils/template_conversion/validation.py +0 -0
  357. {numind-0.4.2 → numind-0.4.4}/src/numind/numind.py +0 -0
  358. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client/py.typed +0 -0
  359. {numind-0.4.2 → numind-0.4.4}/src/numind/openapi_client_async/py.typed +0 -0
  360. {numind-0.4.2 → numind-0.4.4}/tests/__init__.py +0 -0
  361. {numind-0.4.2 → numind-0.4.4}/tests/conftest.py +0 -0
  362. {numind-0.4.2 → numind-0.4.4}/tests/json_schema_test_cases/1.json +0 -0
  363. {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/__init__.py +0 -0
  364. {numind-0.4.2 → numind-0.4.4}/tests/nuextract_utils/test_optional_dependencies.py +0 -0
  365. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client/__init__.py +0 -0
  366. {numind-0.4.2 → numind-0.4.4}/tests/openapi_client_async/__init__.py +0 -0
  367. {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/examples.csv +0 -0
  368. {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/files/tahiti.docx +0 -0
  369. {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
  370. {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/schema.json +0 -0
  371. {numind-0.4.2 → numind-0.4.4}/tests/test_cases/vacation/texts.csv +0 -0
  372. {numind-0.4.2 → numind-0.4.4}/tests/test_conversion_pydantic.py +0 -0
  373. {numind-0.4.2 → numind-0.4.4}/tests/test_extract_structured_data.py +0 -0
  374. {numind-0.4.2 → numind-0.4.4}/tests/test_json_schema_descriptions.py +0 -0
  375. {numind-0.4.2 → numind-0.4.4}/tests/test_numarkdown.py +0 -0
  376. {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.2
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 image parts in this document. |
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 image parts in this document. |
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.ProjectImportExportApi
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
- [**get_api_extraction_projectkind_projectid_export**](ProjectImportExportApi.md#get_api_extraction_projectkind_projectid_export) | **GET** /api/extraction/{projectKind}/{projectId}/export |
8
- [**post_api_extraction_import**](ProjectImportExportApi.md#post_api_extraction_import) | **POST** /api/extraction/import |
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
- # **get_api_extraction_projectkind_projectid_export**
12
- > bytes get_api_extraction_projectkind_projectid_export(project_kind, project_id, x_organization_id=x_organization_id)
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
- Exports a project as a zip archive.
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.ProjectImportExportApi(api_client)
40
- project_kind = "project_kind_example" # str | Project kind to export.
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.get_api_extraction_projectkind_projectid_export(
46
- project_kind, project_id, x_organization_id=x_organization_id
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 ProjectImportExportApi->get_api_extraction_projectkind_projectid_export:\n"
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 ProjectImportExportApi->get_api_extraction_projectkind_projectid_export: %s\n"
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
- **project_kind** | **str**| Project kind to export. |
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
- **bytes**
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/zip, text/plain, application/json
90
+ - **Accept**: application/json
82
91
 
83
92
  ### HTTP response details
84
93
 
85
94
  | Status code | Description | Response headers |
86
95
  |-------------|-------------|------------------|
87
- **200** | | * Content-Type - <br> * Content-Disposition - <br> * X-Filename - <br> |
88
- **400** | Invalid value for: path parameter projectKind | - |
89
- **0** | | - |
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
- # **post_api_extraction_import**
94
- > ImportProjectResponse post_api_extraction_import(body, x_organization_id=x_organization_id)
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
- Imports a project from a zip archive.
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.import_project_response import ImportProjectResponse
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.ProjectImportExportApi(api_client)
123
- body = None # bytes |
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 = api_instance.post_api_extraction_import(
128
- body, x_organization_id=x_organization_id
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 ProjectImportExportApi->post_api_extraction_import: %s\n"
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
- **body** | **bytes**| |
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
- [**ImportProjectResponse**](ImportProjectResponse.md)
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**: application/octet-stream
160
- - **Accept**: application/json, text/plain
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 value for: body | - |
168
- **0** | | - |
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
+