numind 0.1.2__tar.gz → 0.2.0__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 (401) hide show
  1. {numind-0.1.2 → numind-0.2.0}/.github/workflows/lint.yml +1 -1
  2. {numind-0.1.2 → numind-0.2.0}/.github/workflows/publish-pypi.yml +4 -4
  3. {numind-0.1.2 → numind-0.2.0}/.github/workflows/sdk-auto-update.yml +3 -3
  4. {numind-0.1.2 → numind-0.2.0}/.github/workflows/tests.yml +4 -4
  5. numind-0.2.0/PKG-INFO +533 -0
  6. numind-0.2.0/README.md +470 -0
  7. numind-0.2.0/docs/ContentExtractionApi.md +189 -0
  8. numind-0.2.0/docs/ContentExtractionPlaygroundApi.md +431 -0
  9. numind-0.2.0/docs/ContentExtractionProjectManagementApi.md +431 -0
  10. numind-0.2.0/docs/CreateMarkdownProjectRequest.md +31 -0
  11. numind-0.2.0/docs/CreateOrUpdateMarkdownPlaygroundItemRequest.md +35 -0
  12. {numind-0.1.2 → numind-0.2.0}/docs/CreateOrUpdatePlaygroundItemRequest.md +2 -2
  13. {numind-0.1.2 → numind-0.2.0}/docs/DefaultApi.md +61 -0
  14. numind-0.1.2/docs/ExamplesApi.md → numind-0.2.0/docs/ExamplesDeprecatedApi.md +32 -27
  15. {numind-0.1.2 → numind-0.2.0}/docs/ExtractionResponse.md +9 -6
  16. numind-0.2.0/docs/ExtractionResponseDeprecated.md +35 -0
  17. numind-0.2.0/docs/InferenceApi.md +505 -0
  18. numind-0.1.2/docs/InferenceApi.md → numind-0.2.0/docs/InferenceDeprecatedApi.md +133 -70
  19. numind-0.2.0/docs/InferenceExample.md +32 -0
  20. numind-0.2.0/docs/InferenceStatus.md +30 -0
  21. numind-0.2.0/docs/InferenceValidationError.md +30 -0
  22. {numind-0.1.2 → numind-0.2.0}/docs/JobResponse.md +1 -0
  23. numind-0.2.0/docs/JobStatusResponse.md +37 -0
  24. {numind-0.1.2 → numind-0.2.0}/docs/JobsApi.md +145 -8
  25. numind-0.2.0/docs/MarkdownPlaygroundItemResponse.md +39 -0
  26. numind-0.2.0/docs/MarkdownProjectResponse.md +36 -0
  27. numind-0.2.0/docs/MarkdownProjectSettingsResponse.md +32 -0
  28. numind-0.2.0/docs/MarkdownResponse.md +35 -0
  29. numind-0.1.2/docs/OrganizationsApi.md → numind-0.2.0/docs/OrganizationManagementApi.md +33 -33
  30. numind-0.2.0/docs/PaginatedResponseExampleResponse.md +32 -0
  31. numind-0.2.0/docs/PaginatedResponseJobResponse.md +32 -0
  32. numind-0.2.0/docs/PaginatedResponseMarkdownPlaygroundItemResponse.md +32 -0
  33. numind-0.2.0/docs/PaginatedResponsePlaygroundItemResponse.md +32 -0
  34. numind-0.1.2/docs/PlaygroundApi.md → numind-0.2.0/docs/PlaygroundDeprecatedApi.md +33 -28
  35. {numind-0.1.2 → numind-0.2.0}/docs/PlaygroundItemResponse.md +2 -2
  36. numind-0.1.2/docs/ProjectManagementApi.md → numind-0.2.0/docs/ProjectManagementDeprecatedApi.md +81 -81
  37. numind-0.2.0/docs/ProjectResponseDeprecated.md +39 -0
  38. {numind-0.1.2 → numind-0.2.0}/docs/ProjectSettingsResponse.md +3 -2
  39. numind-0.2.0/docs/ProjectSettingsResponseDeprecated.md +34 -0
  40. {numind-0.1.2 → numind-0.2.0}/docs/RawResult.md +3 -1
  41. numind-0.2.0/docs/StructuredDataExtractionApi.md +415 -0
  42. numind-0.2.0/docs/StructuredExtractionExamplesApi.md +447 -0
  43. numind-0.2.0/docs/StructuredExtractionPlaygroundApi.md +429 -0
  44. numind-0.2.0/docs/StructuredExtractionProjectManagementApi.md +1163 -0
  45. numind-0.2.0/docs/TemplateGenerationApi.md +186 -0
  46. numind-0.2.0/docs/TemplateResponse.md +35 -0
  47. numind-0.2.0/docs/UpdateMarkdownProjectRequest.md +30 -0
  48. numind-0.2.0/docs/UpdateMarkdownProjectSettingsRequest.md +31 -0
  49. {numind-0.1.2 → numind-0.2.0}/docs/UpdateProjectSettingsRequest.md +3 -1
  50. {numind-0.1.2 → numind-0.2.0}/pyproject.toml +2 -1
  51. {numind-0.1.2 → numind-0.2.0}/sdk_generation/gen_sdk.sh +9 -0
  52. {numind-0.1.2 → numind-0.2.0}/sdk_generation/pyproject_base.toml +2 -1
  53. {numind-0.1.2 → numind-0.2.0}/src/numind/models/__init__.py +36 -1
  54. numind-0.2.0/src/numind/models/create_markdown_project_request.py +95 -0
  55. numind-0.2.0/src/numind/models/create_or_update_markdown_playground_item_request.py +125 -0
  56. {numind-0.1.2 → numind-0.2.0}/src/numind/models/create_or_update_playground_item_request.py +10 -10
  57. numind-0.2.0/src/numind/models/extraction_response.py +162 -0
  58. numind-0.1.2/src/numind/models/inference_response.py → numind-0.2.0/src/numind/models/extraction_response_deprecated.py +14 -18
  59. numind-0.2.0/src/numind/models/inference_example.py +105 -0
  60. numind-0.2.0/src/numind/models/inference_status.py +84 -0
  61. numind-0.2.0/src/numind/models/inference_validation_error.py +88 -0
  62. {numind-0.1.2 → numind-0.2.0}/src/numind/models/job_response.py +5 -0
  63. numind-0.2.0/src/numind/models/job_status_response.py +121 -0
  64. numind-0.2.0/src/numind/models/markdown_playground_item_response.py +149 -0
  65. numind-0.2.0/src/numind/models/markdown_project_response.py +125 -0
  66. numind-0.2.0/src/numind/models/markdown_project_settings_response.py +102 -0
  67. numind-0.1.2/src/numind/models/extraction_response.py → numind-0.2.0/src/numind/models/markdown_response.py +27 -31
  68. numind-0.2.0/src/numind/models/paginated_response_example_response.py +108 -0
  69. numind-0.2.0/src/numind/models/paginated_response_job_response.py +108 -0
  70. numind-0.2.0/src/numind/models/paginated_response_markdown_playground_item_response.py +113 -0
  71. numind-0.2.0/src/numind/models/paginated_response_playground_item_response.py +110 -0
  72. {numind-0.1.2 → numind-0.2.0}/src/numind/models/playground_item_response.py +10 -10
  73. numind-0.2.0/src/numind/models/project_response_deprecated.py +140 -0
  74. numind-0.2.0/src/numind/models/project_settings_response.py +125 -0
  75. numind-0.1.2/src/numind/models/project_settings_response.py → numind-0.2.0/src/numind/models/project_settings_response_deprecated.py +4 -4
  76. {numind-0.1.2 → numind-0.2.0}/src/numind/models/raw_result.py +11 -4
  77. numind-0.2.0/src/numind/models/template_response.py +127 -0
  78. numind-0.2.0/src/numind/models/update_markdown_project_request.py +88 -0
  79. numind-0.2.0/src/numind/models/update_markdown_project_settings_request.py +106 -0
  80. {numind-0.1.2 → numind-0.2.0}/src/numind/models/update_project_settings_request.py +24 -5
  81. {numind-0.1.2 → numind-0.2.0}/src/numind/numind.py +115 -44
  82. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/__init__.py +129 -23
  83. numind-0.2.0/src/numind/openapi_client/api/__init__.py +37 -0
  84. numind-0.2.0/src/numind/openapi_client/api/content_extraction_api.py +681 -0
  85. numind-0.2.0/src/numind/openapi_client/api/content_extraction_playground_api.py +1490 -0
  86. numind-0.2.0/src/numind/openapi_client/api/content_extraction_project_management_api.py +1361 -0
  87. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/api/default_api.py +222 -1
  88. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/api/documents_api.py +1 -1
  89. numind-0.1.2/src/numind/openapi_client/api/examples_api.py → numind-0.2.0/src/numind/openapi_client/api/examples_deprecated_api.py +158 -26
  90. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/api/files_api.py +1 -1
  91. numind-0.2.0/src/numind/openapi_client/api/inference_api.py +1888 -0
  92. numind-0.1.2/src/numind/openapi_client/api/inference_api.py → numind-0.2.0/src/numind/openapi_client/api/inference_deprecated_api.py +248 -103
  93. numind-0.2.0/src/numind/openapi_client/api/jobs_api.py +1066 -0
  94. numind-0.1.2/src/numind/openapi_client/api/organizations_api.py → numind-0.2.0/src/numind/openapi_client/api/organization_management_api.py +2 -2
  95. numind-0.1.2/src/numind/openapi_client/api/playground_api.py → numind-0.2.0/src/numind/openapi_client/api/playground_deprecated_api.py +170 -26
  96. numind-0.1.2/src/numind/openapi_client/api/project_management_api.py → numind-0.2.0/src/numind/openapi_client/api/project_management_deprecated_api.py +242 -88
  97. numind-0.2.0/src/numind/openapi_client/api/structured_data_extraction_api.py +1789 -0
  98. numind-0.2.0/src/numind/openapi_client/api/structured_extraction_examples_api.py +1490 -0
  99. numind-0.2.0/src/numind/openapi_client/api/structured_extraction_playground_api.py +1516 -0
  100. numind-0.2.0/src/numind/openapi_client/api/structured_extraction_project_management_api.py +3469 -0
  101. numind-0.1.2/src/numind/openapi_client/api/jobs_api.py → numind-0.2.0/src/numind/openapi_client/api/template_generation_api.py +176 -321
  102. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/api_client.py +5 -5
  103. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/configuration.py +6 -2
  104. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/rest.py +1 -1
  105. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/__init__.py +127 -27
  106. numind-0.2.0/src/numind/openapi_client_async/api/__init__.py +45 -0
  107. numind-0.2.0/src/numind/openapi_client_async/api/content_extraction_api.py +681 -0
  108. numind-0.2.0/src/numind/openapi_client_async/api/content_extraction_playground_api.py +1490 -0
  109. numind-0.2.0/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +1361 -0
  110. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/api/default_api.py +222 -1
  111. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/api/documents_api.py +1 -1
  112. numind-0.1.2/src/numind/openapi_client_async/api/examples_api.py → numind-0.2.0/src/numind/openapi_client_async/api/examples_deprecated_api.py +158 -26
  113. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/api/files_api.py +1 -1
  114. numind-0.2.0/src/numind/openapi_client_async/api/inference_api.py +1888 -0
  115. numind-0.1.2/src/numind/openapi_client_async/api/inference_api.py → numind-0.2.0/src/numind/openapi_client_async/api/inference_deprecated_api.py +248 -103
  116. numind-0.2.0/src/numind/openapi_client_async/api/jobs_api.py +1066 -0
  117. numind-0.1.2/src/numind/openapi_client_async/api/organizations_api.py → numind-0.2.0/src/numind/openapi_client_async/api/organization_management_api.py +2 -2
  118. numind-0.1.2/src/numind/openapi_client_async/api/playground_api.py → numind-0.2.0/src/numind/openapi_client_async/api/playground_deprecated_api.py +170 -26
  119. numind-0.1.2/src/numind/openapi_client_async/api/project_management_api.py → numind-0.2.0/src/numind/openapi_client_async/api/project_management_deprecated_api.py +242 -88
  120. numind-0.2.0/src/numind/openapi_client_async/api/structured_data_extraction_api.py +1789 -0
  121. numind-0.2.0/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +1490 -0
  122. numind-0.2.0/src/numind/openapi_client_async/api/structured_extraction_playground_api.py +1516 -0
  123. numind-0.2.0/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +3469 -0
  124. numind-0.1.2/src/numind/openapi_client_async/api/jobs_api.py → numind-0.2.0/src/numind/openapi_client_async/api/template_generation_api.py +176 -321
  125. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/api_client.py +5 -5
  126. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/configuration.py +6 -2
  127. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/rest.py +1 -1
  128. {numind-0.1.2 → numind-0.2.0}/tests/conftest.py +36 -10
  129. numind-0.2.0/tests/openapi_client/test_content_extraction_api.py +34 -0
  130. numind-0.2.0/tests/openapi_client/test_content_extraction_playground_api.py +55 -0
  131. numind-0.2.0/tests/openapi_client/test_content_extraction_project_management_api.py +49 -0
  132. numind-0.2.0/tests/openapi_client/test_create_markdown_project_request.py +56 -0
  133. numind-0.2.0/tests/openapi_client/test_create_or_update_markdown_playground_item_request.py +65 -0
  134. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_create_or_update_playground_item_request.py +2 -2
  135. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_default_api.py +3 -0
  136. numind-0.1.2/tests/openapi_client/test_examples_api.py → numind-0.2.0/tests/openapi_client/test_examples_deprecated_api.py +4 -4
  137. {numind-0.1.2/tests/openapi_client_async → numind-0.2.0/tests/openapi_client}/test_extraction_response.py +18 -8
  138. numind-0.1.2/tests/openapi_client/test_inference_response.py → numind-0.2.0/tests/openapi_client/test_extraction_response_deprecated.py +17 -17
  139. numind-0.2.0/tests/openapi_client/test_inference_api.py +49 -0
  140. numind-0.1.2/tests/openapi_client/test_inference_api.py → numind-0.2.0/tests/openapi_client/test_inference_deprecated_api.py +4 -4
  141. numind-0.2.0/tests/openapi_client/test_inference_example.py +59 -0
  142. numind-0.2.0/tests/openapi_client/test_inference_status.py +55 -0
  143. numind-0.2.0/tests/openapi_client/test_inference_validation_error.py +55 -0
  144. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_job_response.py +1 -0
  145. numind-0.2.0/tests/openapi_client/test_job_status_response.py +67 -0
  146. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_jobs_api.py +3 -0
  147. numind-0.2.0/tests/openapi_client/test_markdown_playground_item_response.py +72 -0
  148. numind-0.2.0/tests/openapi_client/test_markdown_project_response.py +72 -0
  149. numind-0.2.0/tests/openapi_client/test_markdown_project_settings_response.py +59 -0
  150. numind-0.2.0/tests/openapi_client/test_markdown_response.py +63 -0
  151. numind-0.1.2/tests/openapi_client/test_organizations_api.py → numind-0.2.0/tests/openapi_client/test_organization_management_api.py +6 -4
  152. numind-0.2.0/tests/openapi_client/test_paginated_response_example_response.py +69 -0
  153. numind-0.2.0/tests/openapi_client/test_paginated_response_job_response.py +73 -0
  154. numind-0.2.0/tests/openapi_client/test_paginated_response_markdown_playground_item_response.py +75 -0
  155. numind-0.2.0/tests/openapi_client/test_paginated_response_playground_item_response.py +74 -0
  156. numind-0.1.2/tests/openapi_client/test_playground_api.py → numind-0.2.0/tests/openapi_client/test_playground_deprecated_api.py +4 -4
  157. {numind-0.1.2/tests/openapi_client_async → numind-0.2.0/tests/openapi_client}/test_playground_item_response.py +2 -2
  158. numind-0.1.2/tests/openapi_client/test_project_management_api.py → numind-0.2.0/tests/openapi_client/test_project_management_deprecated_api.py +6 -4
  159. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_project_response.py +6 -4
  160. numind-0.2.0/tests/openapi_client/test_project_response_deprecated.py +82 -0
  161. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_project_settings_response.py +6 -4
  162. numind-0.2.0/tests/openapi_client/test_project_settings_response_deprecated.py +63 -0
  163. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_raw_result.py +3 -1
  164. numind-0.2.0/tests/openapi_client/test_structured_data_extraction_api.py +44 -0
  165. numind-0.2.0/tests/openapi_client/test_structured_extraction_examples_api.py +55 -0
  166. numind-0.2.0/tests/openapi_client/test_structured_extraction_playground_api.py +55 -0
  167. numind-0.2.0/tests/openapi_client/test_structured_extraction_project_management_api.py +89 -0
  168. numind-0.1.2/tests/openapi_client/test_extraction_api.py → numind-0.2.0/tests/openapi_client/test_template_generation_api.py +8 -8
  169. numind-0.2.0/tests/openapi_client/test_template_response.py +66 -0
  170. numind-0.2.0/tests/openapi_client/test_update_markdown_project_request.py +53 -0
  171. numind-0.2.0/tests/openapi_client/test_update_markdown_project_settings_request.py +56 -0
  172. {numind-0.1.2/tests/openapi_client_async → numind-0.2.0/tests/openapi_client}/test_update_project_settings_request.py +3 -1
  173. numind-0.1.2/tests/openapi_client_async/test_extraction_api.py → numind-0.2.0/tests/openapi_client_async/test_content_extraction_api.py +8 -8
  174. numind-0.2.0/tests/openapi_client_async/test_content_extraction_playground_api.py +55 -0
  175. numind-0.2.0/tests/openapi_client_async/test_content_extraction_project_management_api.py +51 -0
  176. numind-0.2.0/tests/openapi_client_async/test_create_markdown_project_request.py +56 -0
  177. numind-0.2.0/tests/openapi_client_async/test_create_or_update_markdown_playground_item_request.py +65 -0
  178. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_create_or_update_playground_item_request.py +2 -2
  179. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_default_api.py +3 -0
  180. numind-0.1.2/tests/openapi_client_async/test_examples_api.py → numind-0.2.0/tests/openapi_client_async/test_examples_deprecated_api.py +6 -4
  181. {numind-0.1.2/tests/openapi_client → numind-0.2.0/tests/openapi_client_async}/test_extraction_response.py +18 -8
  182. numind-0.1.2/tests/openapi_client_async/test_inference_response.py → numind-0.2.0/tests/openapi_client_async/test_extraction_response_deprecated.py +17 -17
  183. numind-0.2.0/tests/openapi_client_async/test_inference_api.py +49 -0
  184. numind-0.1.2/tests/openapi_client_async/test_inference_api.py → numind-0.2.0/tests/openapi_client_async/test_inference_deprecated_api.py +6 -4
  185. numind-0.2.0/tests/openapi_client_async/test_inference_example.py +59 -0
  186. numind-0.2.0/tests/openapi_client_async/test_inference_status.py +55 -0
  187. numind-0.2.0/tests/openapi_client_async/test_inference_validation_error.py +55 -0
  188. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_job_response.py +1 -0
  189. numind-0.2.0/tests/openapi_client_async/test_job_status_response.py +67 -0
  190. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_jobs_api.py +3 -0
  191. numind-0.2.0/tests/openapi_client_async/test_markdown_playground_item_response.py +72 -0
  192. numind-0.2.0/tests/openapi_client_async/test_markdown_project_response.py +72 -0
  193. numind-0.2.0/tests/openapi_client_async/test_markdown_project_settings_response.py +59 -0
  194. numind-0.2.0/tests/openapi_client_async/test_markdown_response.py +63 -0
  195. numind-0.1.2/tests/openapi_client_async/test_organizations_api.py → numind-0.2.0/tests/openapi_client_async/test_organization_management_api.py +6 -4
  196. numind-0.2.0/tests/openapi_client_async/test_paginated_response_example_response.py +69 -0
  197. numind-0.2.0/tests/openapi_client_async/test_paginated_response_job_response.py +73 -0
  198. numind-0.2.0/tests/openapi_client_async/test_paginated_response_markdown_playground_item_response.py +75 -0
  199. numind-0.2.0/tests/openapi_client_async/test_paginated_response_playground_item_response.py +74 -0
  200. numind-0.1.2/tests/openapi_client_async/test_playground_api.py → numind-0.2.0/tests/openapi_client_async/test_playground_deprecated_api.py +6 -4
  201. {numind-0.1.2/tests/openapi_client → numind-0.2.0/tests/openapi_client_async}/test_playground_item_response.py +2 -2
  202. numind-0.1.2/tests/openapi_client_async/test_project_management_api.py → numind-0.2.0/tests/openapi_client_async/test_project_management_deprecated_api.py +6 -4
  203. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_project_response.py +6 -4
  204. numind-0.2.0/tests/openapi_client_async/test_project_response_deprecated.py +82 -0
  205. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_project_settings_response.py +6 -4
  206. numind-0.2.0/tests/openapi_client_async/test_project_settings_response_deprecated.py +63 -0
  207. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_raw_result.py +3 -1
  208. numind-0.2.0/tests/openapi_client_async/test_structured_data_extraction_api.py +46 -0
  209. numind-0.2.0/tests/openapi_client_async/test_structured_extraction_examples_api.py +55 -0
  210. numind-0.2.0/tests/openapi_client_async/test_structured_extraction_playground_api.py +55 -0
  211. numind-0.2.0/tests/openapi_client_async/test_structured_extraction_project_management_api.py +91 -0
  212. numind-0.2.0/tests/openapi_client_async/test_template_generation_api.py +36 -0
  213. numind-0.2.0/tests/openapi_client_async/test_template_response.py +66 -0
  214. numind-0.2.0/tests/openapi_client_async/test_update_markdown_project_request.py +53 -0
  215. numind-0.2.0/tests/openapi_client_async/test_update_markdown_project_settings_request.py +56 -0
  216. {numind-0.1.2/tests/openapi_client → numind-0.2.0/tests/openapi_client_async}/test_update_project_settings_request.py +3 -1
  217. numind-0.2.0/tests/test_numarkdown.py +27 -0
  218. {numind-0.1.2 → numind-0.2.0}/tests/test_project.py +19 -16
  219. numind-0.1.2/PKG-INFO +0 -456
  220. numind-0.1.2/README.md +0 -393
  221. numind-0.1.2/docs/ExtractionApi.md +0 -201
  222. numind-0.1.2/docs/InferenceResponse.md +0 -35
  223. numind-0.1.2/src/numind/openapi_client/api/__init__.py +0 -13
  224. numind-0.1.2/src/numind/openapi_client/api/extraction_api.py +0 -972
  225. numind-0.1.2/src/numind/openapi_client_async/api/__init__.py +0 -13
  226. numind-0.1.2/src/numind/openapi_client_async/api/extraction_api.py +0 -972
  227. numind-0.1.2/src/numind/openapi_client_async/api_response.py +0 -23
  228. numind-0.1.2/src/numind/openapi_client_async/exceptions.py +0 -218
  229. {numind-0.1.2 → numind-0.2.0}/.github/codecov.yml +0 -0
  230. {numind-0.1.2 → numind-0.2.0}/.github/dependabot.yml +0 -0
  231. {numind-0.1.2 → numind-0.2.0}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
  232. {numind-0.1.2 → numind-0.2.0}/.gitignore +0 -0
  233. {numind-0.1.2 → numind-0.2.0}/LICENSE +0 -0
  234. {numind-0.1.2 → numind-0.2.0}/docs/ApiKeyResponse.md +0 -0
  235. {numind-0.1.2 → numind-0.2.0}/docs/ConvertRequest.md +0 -0
  236. {numind-0.1.2 → numind-0.2.0}/docs/CreateApiKey.md +0 -0
  237. {numind-0.1.2 → numind-0.2.0}/docs/CreateOrUpdateExampleRequest.md +0 -0
  238. {numind-0.1.2 → numind-0.2.0}/docs/CreateOrganizationRequest.md +0 -0
  239. {numind-0.1.2 → numind-0.2.0}/docs/CreateProjectRequest.md +0 -0
  240. {numind-0.1.2 → numind-0.2.0}/docs/DocumentInfo.md +0 -0
  241. {numind-0.1.2 → numind-0.2.0}/docs/DocumentResponse.md +0 -0
  242. {numind-0.1.2 → numind-0.2.0}/docs/DocumentsApi.md +0 -0
  243. {numind-0.1.2 → numind-0.2.0}/docs/Error.md +0 -0
  244. {numind-0.1.2 → numind-0.2.0}/docs/ExampleResponse.md +0 -0
  245. {numind-0.1.2 → numind-0.2.0}/docs/FileResponse.md +0 -0
  246. {numind-0.1.2 → numind-0.2.0}/docs/FilesApi.md +0 -0
  247. {numind-0.1.2 → numind-0.2.0}/docs/HealthResponse.md +0 -0
  248. {numind-0.1.2 → numind-0.2.0}/docs/ImageInfo.md +0 -0
  249. {numind-0.1.2 → numind-0.2.0}/docs/InformationResponse.md +0 -0
  250. {numind-0.1.2 → numind-0.2.0}/docs/InvalidInformation.md +0 -0
  251. {numind-0.1.2 → numind-0.2.0}/docs/InvitationResponse.md +0 -0
  252. {numind-0.1.2 → numind-0.2.0}/docs/InviteMemberRequest.md +0 -0
  253. {numind-0.1.2 → numind-0.2.0}/docs/JobIdResponse.md +0 -0
  254. {numind-0.1.2 → numind-0.2.0}/docs/MemberResponse.md +0 -0
  255. {numind-0.1.2 → numind-0.2.0}/docs/OrganizationResponse.md +0 -0
  256. {numind-0.1.2 → numind-0.2.0}/docs/ProjectResponse.md +0 -0
  257. {numind-0.1.2 → numind-0.2.0}/docs/ServiceStatus.md +0 -0
  258. {numind-0.1.2 → numind-0.2.0}/docs/TemplateRequest.md +0 -0
  259. {numind-0.1.2 → numind-0.2.0}/docs/TextInfo.md +0 -0
  260. {numind-0.1.2 → numind-0.2.0}/docs/TextRequest.md +0 -0
  261. {numind-0.1.2 → numind-0.2.0}/docs/TokenCodeRequest.md +0 -0
  262. {numind-0.1.2 → numind-0.2.0}/docs/TokenRefreshRequest.md +0 -0
  263. {numind-0.1.2 → numind-0.2.0}/docs/TokenRequest.md +0 -0
  264. {numind-0.1.2 → numind-0.2.0}/docs/TokenResponse.md +0 -0
  265. {numind-0.1.2 → numind-0.2.0}/docs/UpdateApiKey.md +0 -0
  266. {numind-0.1.2 → numind-0.2.0}/docs/UpdateOrganizationRequest.md +0 -0
  267. {numind-0.1.2 → numind-0.2.0}/docs/UpdateProjectRequest.md +0 -0
  268. {numind-0.1.2 → numind-0.2.0}/docs/UpdateProjectTemplateRequest.md +0 -0
  269. {numind-0.1.2 → numind-0.2.0}/docs/User.md +0 -0
  270. {numind-0.1.2 → numind-0.2.0}/docs/ValidInformation.md +0 -0
  271. {numind-0.1.2 → numind-0.2.0}/docs/VersionResponse.md +0 -0
  272. {numind-0.1.2 → numind-0.2.0}/sdk_generation/.openapi-generator-ignore +0 -0
  273. {numind-0.1.2 → numind-0.2.0}/sdk_generation/adapt_openapi_client_init.py +0 -0
  274. {numind-0.1.2 → numind-0.2.0}/sdk_generation/adapt_pyproject.py +0 -0
  275. {numind-0.1.2 → numind-0.2.0}/sdk_generation/collate_documentation_readme.py +0 -0
  276. {numind-0.1.2 → numind-0.2.0}/sdk_generation/config.json +0 -0
  277. {numind-0.1.2 → numind-0.2.0}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
  278. {numind-0.1.2 → numind-0.2.0}/src/numind/__init__.py +0 -0
  279. {numind-0.1.2/src/numind/openapi_client → numind-0.2.0/src/numind}/api_response.py +0 -0
  280. {numind-0.1.2 → numind-0.2.0}/src/numind/constants.py +0 -0
  281. {numind-0.1.2/src/numind/openapi_client → numind-0.2.0/src/numind}/exceptions.py +0 -0
  282. {numind-0.1.2 → numind-0.2.0}/src/numind/models/api_key_response.py +0 -0
  283. {numind-0.1.2 → numind-0.2.0}/src/numind/models/convert_request.py +0 -0
  284. {numind-0.1.2 → numind-0.2.0}/src/numind/models/create_api_key.py +0 -0
  285. {numind-0.1.2 → numind-0.2.0}/src/numind/models/create_or_update_example_request.py +0 -0
  286. {numind-0.1.2 → numind-0.2.0}/src/numind/models/create_organization_request.py +0 -0
  287. {numind-0.1.2 → numind-0.2.0}/src/numind/models/create_project_request.py +0 -0
  288. {numind-0.1.2 → numind-0.2.0}/src/numind/models/document_info.py +0 -0
  289. {numind-0.1.2 → numind-0.2.0}/src/numind/models/document_response.py +0 -0
  290. {numind-0.1.2 → numind-0.2.0}/src/numind/models/error.py +0 -0
  291. {numind-0.1.2 → numind-0.2.0}/src/numind/models/example_response.py +0 -0
  292. {numind-0.1.2 → numind-0.2.0}/src/numind/models/file_response.py +0 -0
  293. {numind-0.1.2 → numind-0.2.0}/src/numind/models/health_response.py +0 -0
  294. {numind-0.1.2 → numind-0.2.0}/src/numind/models/image_info.py +0 -0
  295. {numind-0.1.2 → numind-0.2.0}/src/numind/models/information_response.py +0 -0
  296. {numind-0.1.2 → numind-0.2.0}/src/numind/models/invalid_information.py +0 -0
  297. {numind-0.1.2 → numind-0.2.0}/src/numind/models/invitation_response.py +0 -0
  298. {numind-0.1.2 → numind-0.2.0}/src/numind/models/invite_member_request.py +0 -0
  299. {numind-0.1.2 → numind-0.2.0}/src/numind/models/job_id_response.py +0 -0
  300. {numind-0.1.2 → numind-0.2.0}/src/numind/models/member_response.py +0 -0
  301. {numind-0.1.2 → numind-0.2.0}/src/numind/models/organization_response.py +0 -0
  302. {numind-0.1.2 → numind-0.2.0}/src/numind/models/project_response.py +0 -0
  303. {numind-0.1.2 → numind-0.2.0}/src/numind/models/service_status.py +0 -0
  304. {numind-0.1.2 → numind-0.2.0}/src/numind/models/template_request.py +0 -0
  305. {numind-0.1.2 → numind-0.2.0}/src/numind/models/text_info.py +0 -0
  306. {numind-0.1.2 → numind-0.2.0}/src/numind/models/text_request.py +0 -0
  307. {numind-0.1.2 → numind-0.2.0}/src/numind/models/token_code_request.py +0 -0
  308. {numind-0.1.2 → numind-0.2.0}/src/numind/models/token_refresh_request.py +0 -0
  309. {numind-0.1.2 → numind-0.2.0}/src/numind/models/token_request.py +0 -0
  310. {numind-0.1.2 → numind-0.2.0}/src/numind/models/token_response.py +0 -0
  311. {numind-0.1.2 → numind-0.2.0}/src/numind/models/update_api_key.py +0 -0
  312. {numind-0.1.2 → numind-0.2.0}/src/numind/models/update_organization_request.py +0 -0
  313. {numind-0.1.2 → numind-0.2.0}/src/numind/models/update_project_request.py +0 -0
  314. {numind-0.1.2 → numind-0.2.0}/src/numind/models/update_project_template_request.py +0 -0
  315. {numind-0.1.2 → numind-0.2.0}/src/numind/models/user.py +0 -0
  316. {numind-0.1.2 → numind-0.2.0}/src/numind/models/valid_information.py +0 -0
  317. {numind-0.1.2 → numind-0.2.0}/src/numind/models/version_response.py +0 -0
  318. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client/py.typed +0 -0
  319. {numind-0.1.2 → numind-0.2.0}/src/numind/openapi_client_async/py.typed +0 -0
  320. {numind-0.1.2 → numind-0.2.0}/tests/__init__.py +0 -0
  321. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/__init__.py +0 -0
  322. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_api_key_response.py +0 -0
  323. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_convert_request.py +0 -0
  324. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_create_api_key.py +0 -0
  325. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_create_or_update_example_request.py +0 -0
  326. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_create_organization_request.py +0 -0
  327. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_create_project_request.py +0 -0
  328. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_document_info.py +0 -0
  329. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_document_response.py +0 -0
  330. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_documents_api.py +0 -0
  331. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_error.py +0 -0
  332. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_example_response.py +0 -0
  333. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_file_response.py +0 -0
  334. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_files_api.py +0 -0
  335. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_health_response.py +0 -0
  336. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_image_info.py +0 -0
  337. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_information_response.py +0 -0
  338. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_invalid_information.py +0 -0
  339. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_invitation_response.py +0 -0
  340. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_invite_member_request.py +0 -0
  341. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_job_id_response.py +0 -0
  342. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_member_response.py +0 -0
  343. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_organization_response.py +0 -0
  344. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_service_status.py +0 -0
  345. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_template_request.py +0 -0
  346. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_text_info.py +0 -0
  347. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_text_request.py +0 -0
  348. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_token_code_request.py +0 -0
  349. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_token_refresh_request.py +0 -0
  350. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_token_request.py +0 -0
  351. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_token_response.py +0 -0
  352. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_update_api_key.py +0 -0
  353. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_update_organization_request.py +0 -0
  354. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_update_project_request.py +0 -0
  355. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_update_project_template_request.py +0 -0
  356. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_user.py +0 -0
  357. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_valid_information.py +0 -0
  358. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client/test_version_response.py +0 -0
  359. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/__init__.py +0 -0
  360. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_api_key_response.py +0 -0
  361. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_convert_request.py +0 -0
  362. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_create_api_key.py +0 -0
  363. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_create_or_update_example_request.py +0 -0
  364. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_create_organization_request.py +0 -0
  365. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_create_project_request.py +0 -0
  366. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_document_info.py +0 -0
  367. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_document_response.py +0 -0
  368. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_documents_api.py +0 -0
  369. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_error.py +0 -0
  370. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_example_response.py +0 -0
  371. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_file_response.py +0 -0
  372. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_files_api.py +0 -0
  373. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_health_response.py +0 -0
  374. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_image_info.py +0 -0
  375. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_information_response.py +0 -0
  376. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_invalid_information.py +0 -0
  377. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_invitation_response.py +0 -0
  378. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_invite_member_request.py +0 -0
  379. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_job_id_response.py +0 -0
  380. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_member_response.py +0 -0
  381. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_organization_response.py +0 -0
  382. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_service_status.py +0 -0
  383. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_template_request.py +0 -0
  384. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_text_info.py +0 -0
  385. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_text_request.py +0 -0
  386. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_token_code_request.py +0 -0
  387. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_token_refresh_request.py +0 -0
  388. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_token_request.py +0 -0
  389. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_token_response.py +0 -0
  390. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_update_api_key.py +0 -0
  391. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_update_organization_request.py +0 -0
  392. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_update_project_request.py +0 -0
  393. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_update_project_template_request.py +0 -0
  394. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_user.py +0 -0
  395. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_valid_information.py +0 -0
  396. {numind-0.1.2 → numind-0.2.0}/tests/openapi_client_async/test_version_response.py +0 -0
  397. {numind-0.1.2 → numind-0.2.0}/tests/test_cases/vacation/examples.csv +0 -0
  398. {numind-0.1.2 → numind-0.2.0}/tests/test_cases/vacation/files/tahiti.docx +0 -0
  399. {numind-0.1.2 → numind-0.2.0}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
  400. {numind-0.1.2 → numind-0.2.0}/tests/test_cases/vacation/schema.json +0 -0
  401. {numind-0.1.2 → numind-0.2.0}/tests/test_cases/vacation/texts.csv +0 -0
@@ -10,7 +10,7 @@ jobs:
10
10
  lint:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: actions/checkout@v5
13
+ - uses: actions/checkout@v6
14
14
  - uses: astral-sh/ruff-action@v3
15
15
  with:
16
16
  args: "--version" # added to not run the check command as done by default
@@ -17,9 +17,9 @@ jobs:
17
17
  name: Build distribution
18
18
  runs-on: ubuntu-latest
19
19
  steps:
20
- - uses: actions/checkout@v5
20
+ - uses: actions/checkout@v6
21
21
  - name: Set up Python
22
- uses: actions/setup-python@v5
22
+ uses: actions/setup-python@v6
23
23
  with:
24
24
  python-version: "3.x"
25
25
  - name: Install hatch
@@ -29,7 +29,7 @@ jobs:
29
29
  - name: Build a binary wheel and a source tarball
30
30
  run: hatch build
31
31
  - name: Store the distribution packages
32
- uses: actions/upload-artifact@v4
32
+ uses: actions/upload-artifact@v6
33
33
  with:
34
34
  name: python-package-distributions
35
35
  path: dist/
@@ -47,7 +47,7 @@ jobs:
47
47
  steps:
48
48
  # retrieve your distributions here
49
49
  - name: Download all the dists
50
- uses: actions/download-artifact@v5
50
+ uses: actions/download-artifact@v7
51
51
  with:
52
52
  name: python-package-distributions
53
53
  path: dist/
@@ -22,7 +22,7 @@ jobs:
22
22
  steps:
23
23
  # Step 1: Check out the repository's code
24
24
  - name: Checkout repository
25
- uses: actions/checkout@v5
25
+ uses: actions/checkout@v6
26
26
 
27
27
  # Step 2: Fetch the latest buildVersion from the API
28
28
  - name: Fetch latest API version
@@ -68,7 +68,7 @@ jobs:
68
68
  # Step 5: Setup Python
69
69
  - name: Set up Python
70
70
  if: steps.check_pr.outputs.pr_exists == 'false'
71
- uses: actions/setup-python@v5
71
+ uses: actions/setup-python@v6
72
72
  with:
73
73
  python-version: "3.x"
74
74
 
@@ -89,7 +89,7 @@ jobs:
89
89
  - name: Create Pull Request
90
90
  id: create_pr
91
91
  if: steps.check_pr.outputs.pr_exists == 'false'
92
- uses: peter-evans/create-pull-request@v7
92
+ uses: peter-evans/create-pull-request@v8
93
93
  with:
94
94
  token: ${{ secrets.GITHUB_TOKEN }}
95
95
  commit-message: "feat(sdk): Regenerate SDK for API version ${{ steps.fetch_version.outputs.version }}"
@@ -13,14 +13,14 @@ jobs:
13
13
  runs-on: ${{ matrix.os }}
14
14
  strategy:
15
15
  matrix:
16
- python-version: ["3.10", "3.12"]
16
+ python-version: ["3.10", "3.14"]
17
17
  os: [ ubuntu-latest, macos-latest, windows-latest ]
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v5
20
+ - uses: actions/checkout@v6
21
21
 
22
22
  - name: Install uv
23
- uses: astral-sh/setup-uv@v6
23
+ uses: astral-sh/setup-uv@v7
24
24
  with:
25
25
  enable-cache: true
26
26
  python-version: ${{ matrix.python-version }}
@@ -29,9 +29,9 @@ jobs:
29
29
  run: uv sync --extra tests
30
30
 
31
31
  - name: Run tests
32
- run: uv run pytest tests --cov=./ --cov-report=xml --durations=0 --reruns=3
33
32
  env:
34
33
  NUMIND_API_KEY_TESTS: ${{ secrets.NUMIND_API_KEY_TESTS }}
34
+ run: uv run pytest tests --cov=./ --cov-report=xml --durations=0 --reruns=3
35
35
 
36
36
  #- name: Codecov
37
37
  # uses: codecov/codecov-action@v5.4.0
numind-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,533 @@
1
+ Metadata-Version: 2.4
2
+ Name: numind
3
+ Version: 0.2.0
4
+ Summary: SDK to interact with the NuMind models API.
5
+ Project-URL: Homepage, https://github.com/numindai/nuextract-platform-sdk
6
+ Project-URL: Repository, https://github.com/numindai/nuextract-platform-sdk.git
7
+ Project-URL: Documentation, https://github.com/numindai/nuextract-platform-sdk#documentation
8
+ Project-URL: Issues, https://github.com/numindai/nuextract-platform-sdk/issues
9
+ Author-email: Nathan Fradet <nathan@numind.ai>
10
+ License: The MIT License (MIT)
11
+
12
+ Copyright (c) <year> Adam Veldhousen
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in
22
+ all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
+ THE SOFTWARE.
31
+ License-File: LICENSE
32
+ Keywords: artificial intelligence,deep learning,structured
33
+ Classifier: Intended Audience :: Developers
34
+ Classifier: Intended Audience :: Science/Research
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python
38
+ Classifier: Programming Language :: Python :: 3 :: Only
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
45
+ Requires-Python: >=3.9
46
+ Requires-Dist: aiohttp-retry>=2.8.3
47
+ Requires-Dist: aiohttp>=3.8.4
48
+ Requires-Dist: pydantic>=2
49
+ Requires-Dist: python-dateutil>=2.8.2
50
+ Requires-Dist: typing-extensions>=4.7.1
51
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
52
+ Provides-Extra: build
53
+ Requires-Dist: openapi-generator-cli; extra == 'build'
54
+ Requires-Dist: pyyaml; extra == 'build'
55
+ Requires-Dist: toml; extra == 'build'
56
+ Requires-Dist: uv; extra == 'build'
57
+ Provides-Extra: tests
58
+ Requires-Dist: pytest-asyncio; extra == 'tests'
59
+ Requires-Dist: pytest-cov; extra == 'tests'
60
+ Requires-Dist: pytest-dependency; extra == 'tests'
61
+ Requires-Dist: pytest-rerunfailures; extra == 'tests'
62
+ Description-Content-Type: text/markdown
63
+
64
+ # NuMind SDK
65
+
66
+ Python SDK to interact with NuMind's models API: [**NuExtract**](https://nuextract.ai) and [**NuMarkdown**](https://huggingface.co/numind/NuMarkdown-8B-Thinking).
67
+
68
+ ## Installation
69
+
70
+ ```sh
71
+ pip install numind
72
+ ```
73
+
74
+ ## Usage and code examples
75
+
76
+ ### Create a client
77
+
78
+ You must first get an API key on the [NuExtract platform](https://nuextract.ai/app/user?content=api).
79
+
80
+ ```python
81
+ import os
82
+
83
+ from numind import NuMind
84
+
85
+ # Create a client object to interact with the API
86
+ # Providing the `api_key` is not required if the `NUMIND_API_KEY` environment variable
87
+ # is already set.
88
+ client = NuMind(api_key=os.environ["NUMIND_API_KEY"])
89
+ ```
90
+
91
+ ### Create an async client
92
+
93
+ You can create an **async** client by using the `NuMindAsync` class:
94
+
95
+ ```python
96
+ import asyncio
97
+ from numind import NuMindAsync
98
+
99
+ client = NuMindAsync(api_key="API_KEY")
100
+ requests = [{}]
101
+
102
+ async def main():
103
+ return [
104
+ await client.extract_structured_data(project_id, **request_kwargs)
105
+ for request_kwargs in requests
106
+ ]
107
+
108
+
109
+ responses = asyncio.run(main())
110
+ ```
111
+
112
+ The methods and their usages are the same as for the sync `NuMind` client except that API methods are coroutines that must be awaited.
113
+
114
+ ### NuExtract: Extract structured information "on the fly"
115
+
116
+ If you want to extract structured information from data without projects but just by providing the input template, you can use the `extract` method which provides a more user-friendly way to interact with the API:
117
+
118
+ ```python
119
+ template = {
120
+ "destination": {
121
+ "name": "verbatim-string",
122
+ "zip_code": "string",
123
+ "country": "string"
124
+ },
125
+ "accommodation": "verbatim-string",
126
+ "activities": ["verbatim-string"],
127
+ "duration": {
128
+ "time_unit": ["day", "week", "month", "year"],
129
+ "time_quantity": "integer"
130
+ }
131
+ }
132
+ input_text = """My dream vacation would be a month-long escape to the stunning islands of Tahiti.
133
+ I’d stay in an overwater bungalow in Bora Bora, waking up to crystal-clear turquoise waters and breathtaking sunrises.
134
+ Days would be spent snorkeling with vibrant marine life, paddleboarding over coral gardens, and basking on pristine white-sand beaches.
135
+ I’d explore lush rainforests, hidden waterfalls, and the rich Polynesian culture through traditional dance, music, and cuisine.
136
+ Evenings would be filled with romantic beachside dinners under the stars, with the soothing sound of waves as the perfect backdrop."""
137
+
138
+ output = client.extract_structured_data(template=template, input_text=input_text)
139
+ print(output)
140
+
141
+ # Can also work with files, replace the path with your own
142
+ # from pathlib import Path
143
+ # output = client.extract(template=template, input_file="file.ppt")
144
+ ```
145
+
146
+ ```json
147
+ {
148
+ "destination": {
149
+ "name": "Tahiti",
150
+ "zip_code": "98730",
151
+ "country": "France"
152
+ },
153
+ "accommodation": "overwater bungalow in Bora Bora",
154
+ "activities": [
155
+ "snorkeling",
156
+ "paddleboarding",
157
+ "basking",
158
+ "explore lush rainforests, hidden waterfalls, and the rich Polynesian culture"
159
+ ],
160
+ "duration": {
161
+ "time_unit": null,
162
+ "time_quantity": null
163
+ }
164
+ }
165
+ ```
166
+
167
+ ### Create a good template
168
+
169
+ NuExtract uses JSON schemas as extraction templates which specify the information to retrieve and their types, which are:
170
+
171
+ * **string**: a text, whose value can be abstract, i.e. totally free and can be deduced from calculations, reasoning, external knowledge;
172
+ * **verbatim-string**: a purely extractive text whose value must be present in the document. Some flexibility might be allowed on the formatting, e.g. new lines and escaped characters (e.g. `\n`) in a documents might be represented with a space;
173
+ * **integer**: an integer number;
174
+ * **number**: any number, that may be a floating point number or an integer;
175
+ * **boolean**: a boolean whose value should be either true or false;
176
+ * **date-time**: a date or time whose value should follow the ISO 8601 standard (`YYYY-MM-DDThh:mm:ss`). It may feature "reduced" accuracy, i.e. omitting certain date or time components not useful in specific cases. For examples, if the extracted value is a date, `YYYY-MM-DD` is a valid value format. The same applies to times with the `hh:mm:ss` format (without omitting the leading `T` symbol). Additionally, the "least significant" component might be omitted if it is not required or specified. For example, a specific month and year can be specified as `YYYY-MM` while omitting the day component `DD`. A specific hour can be specified as `hh` while omitting the minutes and seconds components. When combining dates and time, only the least significant time components can be omitted, e.g. `YYYY-MM-DDThh:mm` which is omitting the seconds.
177
+
178
+ Additionally, the value of a field can be:
179
+
180
+ * a **nested dictionary**, i.e. another branch, describing elements associated to their parent node (key);
181
+ * an **array** of items of the form `["type"]`, whose values are elements of a given "type", which can also be a dictionary of unspecified depth;
182
+ * an **enum**, i.e. a list of elements to choose from of the form `["choice1", "choice2", ...]`. For values of this type, just set the value of the item to choose, e.g. "choice1", and do not set the value as an array containing the item such as `["choice1"]`;
183
+ * a **multi-enum**, i.e. a list from which multiple elements can be picked, of the form `[["choice1", "choice2", ...]]` (double square brackets).
184
+
185
+ #### Inferring a template
186
+
187
+ The "infer_template" method allows to quickly create a template that you can start to work with from a text description.
188
+
189
+ ```python
190
+ from numind.openapi_client import TemplateRequest
191
+ from pydantic import StrictStr
192
+
193
+ description = "Create a template that extracts key information from an order confirmation email. The template should be able to pull details like the order ID, customer ID, date and time of the order, status, total amount, currency, item details (product ID, quantity, and unit price), shipping address, any customer requests or delivery preferences, and the estimated delivery date."
194
+ input_schema = client.post_api_infer_template(
195
+ template_request=TemplateRequest(description=StrictStr(description))
196
+ )
197
+ ```
198
+
199
+ ### Create a project
200
+
201
+ A project allows to define an information extraction task from a template and examples.
202
+
203
+ ```python
204
+ from numind.openapi_client import CreateProjectRequest
205
+
206
+ project_id = client.post_api_structured_extraction(
207
+ CreateProjectRequest(
208
+ name="vacation",
209
+ description="Extraction of locations and activities",
210
+ template=template,
211
+ )
212
+ )
213
+ ```
214
+
215
+ The `project_id` can also be found in the "API" tab of a project on the NuExtract website.
216
+
217
+ ### Add examples to a project to teach NuExtract via ICL (In-Context Learning)
218
+
219
+ ```python
220
+ from pathlib import Path
221
+
222
+ # Prepare examples, here a text and a file
223
+ example_1_input = "This is a text example"
224
+ example_1_expected_output = {
225
+ "destination": {"name": None, "zip_code": None, "country": None}
226
+ }
227
+ with Path("example_2.odt").open("rb") as file: # read bytes
228
+ example_2_input = file.read()
229
+ example_2_expected_output = {
230
+ "destination": {"name": None, "zip_code": None, "country": None}
231
+ }
232
+ examples = [
233
+ (example_1_input, example_1_expected_output),
234
+ (example_2_input, example_2_expected_output),
235
+ ]
236
+
237
+ # Add the examples to the project
238
+ client.add_examples_to_structured_extraction_project(project_id, examples)
239
+ ```
240
+
241
+ ### Extract structured information from text
242
+
243
+ ```python
244
+ output_schema = client.extract_structured_data(project_id, input_text=input_text)
245
+ ```
246
+
247
+ ### Extract structured information from a file
248
+
249
+ ```python
250
+ from pathlib import Path
251
+
252
+ file_path = Path("document.odt")
253
+ with file_path.open("rb") as file:
254
+ input_file = file.read()
255
+ output_schema = client.extract(project_id, input_file=input_file)
256
+ ```
257
+
258
+ ### NuMarkdown: Convert a document to a RAG-ready Markdown
259
+
260
+ ```python
261
+ from pathlib import Path
262
+
263
+ file_path = Path("document.pdf")
264
+ with file_path.open("rb") as file:
265
+ input_file = file.read()
266
+ markdown = client.extract_content(input_file)
267
+ ```
268
+
269
+ # Documentation
270
+
271
+ ### Extracting Information from Documents
272
+
273
+ Once your project is ready, you can use it to extract information from documents in real time via this RESTful API.
274
+
275
+ Each project has its own extraction endpoint:
276
+
277
+ `https://nuextract.ai/api/projects/{projectId}/extract`
278
+
279
+ You provide it a document and it returns the extracted information according to the task defined in the project. To use it, you need:
280
+
281
+ - To create an API key in the [Account section](https://nuextract.ai/app/user?content=api)
282
+ - To replace `{projectId}` by the project ID found in the API tab of the project
283
+
284
+ You can test your extraction endpoint in your terminal using this command-line example with curl (make sure that you replace values of `PROJECT_ID` and `NUEXTRACT_API_KEY`):
285
+
286
+ ```bash
287
+ NUEXTRACT_API_KEY=\"_your_api_key_here_\"; \\
288
+ PROJECT_ID=\"a24fd84a-44ab-4fd4-95a9-bebd46e4768b\"; \\
289
+ curl \"https://nuextract.ai/api/projects/${PROJECT_ID}/extract\" \\
290
+ -X POST \\
291
+ -H \"Authorization: Bearer ${NUEXTRACT_API_KEY}\" \\
292
+ -H \"Content-Type: application/octet-stream\" \\
293
+ --data-binary @\"${FILE_NAME}\"
294
+ ```
295
+
296
+ You can also use the [Python SDK](https://github.com/numindai/nuextract-platform-sdk#documentation), by replacing the
297
+ `project_id`, `api_key` and `file_path` variables in the following code:
298
+
299
+ ```python
300
+ from numind import NuMind
301
+ from pathlib import Path
302
+
303
+ client = NuMind(api_key=api_key)
304
+ file_path = Path(\"path\", \"to\", \"document.odt\")
305
+ with file_path.open(\"rb\") as file:
306
+ input_file = file.read()
307
+ output_schema = client.post_api_projects_projectid_extract(project_id, input_file)
308
+ ```
309
+
310
+ ### Using the Platform via API
311
+
312
+ Everything you can do on the web platform can be done via API -
313
+ check the [user guide](https://www.notion.so/User-Guide-17c16b1df8c580d3a579ebfb24ddbea7?pvs=21) to learn about how the platform works.
314
+ This can be useful to create projects automatically, or to make your production more robust for example.
315
+
316
+ #### Main resources
317
+
318
+ - **Project** - user project, identified by `projectId`
319
+ - **File** - uploaded file, identified by `fileId`, stored up to two weeks if not tied to an **Example**
320
+ - **Document** - internal representation of a document, identified by `documentId`, created from a File or a text, stored up to two weeks if not tied to an Example
321
+ - **Example** - document-extraction pair given to teach NuExtract, identified by `exampleId`, created from a Document
322
+
323
+ #### Most common API operations
324
+
325
+ - Creating a **Project** via `POST /api/projects`
326
+ - Changing the template of a **Project** via `PATCH /api/projects/{projectId}`
327
+ - Uploading a file to a **File** via `POST /api/files` (up to 2 weeks storage)
328
+ - Creating a **Document** via `POST /api/documents/text` and `POST /api/files/{fileID}/convert-to-document` from a text or a **File**
329
+ - Adding an **Example** to a **Project** via `POST /api/projects/{projectId}/examples`
330
+ - Changing Project settings via `POST /api/projects/{projectId}/settings`
331
+ - Locking a **Project** via `POST /api/projects/{projectId}/lock`
332
+
333
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
334
+
335
+ - API version:
336
+ - Package version: 1.0.0
337
+ - Generator version: 7.17.0
338
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
339
+
340
+ ### Documentation for API Endpoints
341
+
342
+ All URIs are relative to *https://nuextract.ai*
343
+
344
+ Class | Method | HTTP request | Description
345
+ ------------ | ------------- | ------------- | -------------
346
+ *ContentExtractionApi* | [**get_api_content_extraction_jobs_contentextractionjobid**](docs/ContentExtractionApi.md#get_api_content_extraction_jobs_contentextractionjobid) | **GET** /api/content-extraction/jobs/{contentExtractionJobId} |
347
+ *ContentExtractionApi* | [**post_api_content_extraction_jobs**](docs/ContentExtractionApi.md#post_api_content_extraction_jobs) | **POST** /api/content-extraction/jobs |
348
+ *ContentExtractionPlaygroundApi* | [**delete_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid**](docs/ContentExtractionPlaygroundApi.md#delete_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid) | **DELETE** /api/content-extraction/{contentExtractionProjectId}/playground/{contentExtractionPlaygroundItemId} |
349
+ *ContentExtractionPlaygroundApi* | [**get_api_content_extraction_contentextractionprojectid_playground**](docs/ContentExtractionPlaygroundApi.md#get_api_content_extraction_contentextractionprojectid_playground) | **GET** /api/content-extraction/{contentExtractionProjectId}/playground |
350
+ *ContentExtractionPlaygroundApi* | [**get_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid**](docs/ContentExtractionPlaygroundApi.md#get_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid) | **GET** /api/content-extraction/{contentExtractionProjectId}/playground/{contentExtractionPlaygroundItemId} |
351
+ *ContentExtractionPlaygroundApi* | [**post_api_content_extraction_contentextractionprojectid_playground**](docs/ContentExtractionPlaygroundApi.md#post_api_content_extraction_contentextractionprojectid_playground) | **POST** /api/content-extraction/{contentExtractionProjectId}/playground |
352
+ *ContentExtractionPlaygroundApi* | [**put_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid**](docs/ContentExtractionPlaygroundApi.md#put_api_content_extraction_contentextractionprojectid_playground_contentextractionplaygrounditemid) | **PUT** /api/content-extraction/{contentExtractionProjectId}/playground/{contentExtractionPlaygroundItemId} |
353
+ *ContentExtractionProjectManagementApi* | [**get_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#get_api_content_extraction) | **GET** /api/content-extraction |
354
+ *ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentextractionprojectid**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentextractionprojectid) | **PATCH** /api/content-extraction/{contentExtractionProjectId} |
355
+ *ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentextractionprojectid_settings**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentextractionprojectid_settings) | **PATCH** /api/content-extraction/{contentExtractionProjectId}/settings |
356
+ *ContentExtractionProjectManagementApi* | [**post_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction) | **POST** /api/content-extraction |
357
+ *ContentExtractionProjectManagementApi* | [**post_api_content_extraction_contentextractionprojectid_reset_settings**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction_contentextractionprojectid_reset_settings) | **POST** /api/content-extraction/{contentExtractionProjectId}/reset-settings |
358
+ *DefaultApi* | [**get_api_debug_status_code**](docs/DefaultApi.md#get_api_debug_status_code) | **GET** /api/debug/status/{code} |
359
+ *DefaultApi* | [**get_api_health**](docs/DefaultApi.md#get_api_health) | **GET** /api/health |
360
+ *DefaultApi* | [**get_api_inference_status**](docs/DefaultApi.md#get_api_inference_status) | **GET** /api/inference-status |
361
+ *DefaultApi* | [**get_api_ping**](docs/DefaultApi.md#get_api_ping) | **GET** /api/ping |
362
+ *DefaultApi* | [**get_api_version**](docs/DefaultApi.md#get_api_version) | **GET** /api/version |
363
+ *DocumentsApi* | [**get_api_documents_documentid**](docs/DocumentsApi.md#get_api_documents_documentid) | **GET** /api/documents/{documentId} |
364
+ *DocumentsApi* | [**get_api_documents_documentid_content**](docs/DocumentsApi.md#get_api_documents_documentid_content) | **GET** /api/documents/{documentId}/content |
365
+ *DocumentsApi* | [**post_api_documents_text**](docs/DocumentsApi.md#post_api_documents_text) | **POST** /api/documents/text |
366
+ *ExamplesDeprecatedApi* | [**delete_api_projects_projectid_examples_exampleid**](docs/ExamplesDeprecatedApi.md#delete_api_projects_projectid_examples_exampleid) | **DELETE** /api/projects/{projectId}/examples/{exampleId} |
367
+ *ExamplesDeprecatedApi* | [**get_api_projects_projectid_examples**](docs/ExamplesDeprecatedApi.md#get_api_projects_projectid_examples) | **GET** /api/projects/{projectId}/examples |
368
+ *ExamplesDeprecatedApi* | [**get_api_projects_projectid_examples_exampleid**](docs/ExamplesDeprecatedApi.md#get_api_projects_projectid_examples_exampleid) | **GET** /api/projects/{projectId}/examples/{exampleId} |
369
+ *ExamplesDeprecatedApi* | [**post_api_projects_projectid_examples**](docs/ExamplesDeprecatedApi.md#post_api_projects_projectid_examples) | **POST** /api/projects/{projectId}/examples |
370
+ *ExamplesDeprecatedApi* | [**put_api_projects_projectid_examples_exampleid**](docs/ExamplesDeprecatedApi.md#put_api_projects_projectid_examples_exampleid) | **PUT** /api/projects/{projectId}/examples/{exampleId} |
371
+ *FilesApi* | [**get_api_files_fileid**](docs/FilesApi.md#get_api_files_fileid) | **GET** /api/files/{fileId} |
372
+ *FilesApi* | [**get_api_files_fileid_content**](docs/FilesApi.md#get_api_files_fileid_content) | **GET** /api/files/{fileId}/content |
373
+ *FilesApi* | [**post_api_files**](docs/FilesApi.md#post_api_files) | **POST** /api/files |
374
+ *FilesApi* | [**post_api_files_fileid_convert_to_document**](docs/FilesApi.md#post_api_files_fileid_convert_to_document) | **POST** /api/files/{fileId}/convert-to-document |
375
+ *InferenceApi* | [**post_api_content_extraction_contentextractionprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_content_extraction_contentextractionprojectid_jobs_document_documentid) | **POST** /api/content-extraction/{contentExtractionProjectId}/jobs/document/{documentId} |
376
+ *InferenceApi* | [**post_api_structured_extraction_structuredextractionprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_structured_extraction_structuredextractionprojectid_jobs_document_documentid) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/jobs/document/{documentId} |
377
+ *InferenceApi* | [**post_api_structured_extraction_structuredextractionprojectid_jobs_text**](docs/InferenceApi.md#post_api_structured_extraction_structuredextractionprojectid_jobs_text) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/jobs/text |
378
+ *InferenceApi* | [**post_api_template_generation_jobs_document_documentid**](docs/InferenceApi.md#post_api_template_generation_jobs_document_documentid) | **POST** /api/template-generation/jobs/document/{documentId} |
379
+ *InferenceApi* | [**post_api_template_generation_jobs_text**](docs/InferenceApi.md#post_api_template_generation_jobs_text) | **POST** /api/template-generation/jobs/text |
380
+ *InferenceDeprecatedApi* | [**post_api_infer_template**](docs/InferenceDeprecatedApi.md#post_api_infer_template) | **POST** /api/infer-template |
381
+ *InferenceDeprecatedApi* | [**post_api_infer_template_async**](docs/InferenceDeprecatedApi.md#post_api_infer_template_async) | **POST** /api/infer-template-async |
382
+ *InferenceDeprecatedApi* | [**post_api_infer_template_async_document_documentid**](docs/InferenceDeprecatedApi.md#post_api_infer_template_async_document_documentid) | **POST** /api/infer-template-async/document/{documentId} |
383
+ *InferenceDeprecatedApi* | [**post_api_infer_template_document_documentid**](docs/InferenceDeprecatedApi.md#post_api_infer_template_document_documentid) | **POST** /api/infer-template/document/{documentId} |
384
+ *InferenceDeprecatedApi* | [**post_api_infer_template_file**](docs/InferenceDeprecatedApi.md#post_api_infer_template_file) | **POST** /api/infer-template/file |
385
+ *InferenceDeprecatedApi* | [**post_api_projects_projectid_infer_document_async_documentid**](docs/InferenceDeprecatedApi.md#post_api_projects_projectid_infer_document_async_documentid) | **POST** /api/projects/{projectId}/infer-document-async/{documentId} |
386
+ *InferenceDeprecatedApi* | [**post_api_projects_projectid_infer_document_documentid**](docs/InferenceDeprecatedApi.md#post_api_projects_projectid_infer_document_documentid) | **POST** /api/projects/{projectId}/infer-document/{documentId} |
387
+ *InferenceDeprecatedApi* | [**post_api_projects_projectid_infer_text**](docs/InferenceDeprecatedApi.md#post_api_projects_projectid_infer_text) | **POST** /api/projects/{projectId}/infer-text |
388
+ *InferenceDeprecatedApi* | [**post_api_projects_projectid_infer_text_async**](docs/InferenceDeprecatedApi.md#post_api_projects_projectid_infer_text_async) | **POST** /api/projects/{projectId}/infer-text-async |
389
+ *JobsApi* | [**get_api_jobs**](docs/JobsApi.md#get_api_jobs) | **GET** /api/jobs |
390
+ *JobsApi* | [**get_api_jobs_jobid**](docs/JobsApi.md#get_api_jobs_jobid) | **GET** /api/jobs/{jobId} |
391
+ *JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
392
+ *JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
393
+ *OrganizationManagementApi* | [**delete_api_organizations_organizationid**](docs/OrganizationManagementApi.md#delete_api_organizations_organizationid) | **DELETE** /api/organizations/{organizationId} |
394
+ *OrganizationManagementApi* | [**delete_api_organizations_organizationid_members_invitations_invitationid**](docs/OrganizationManagementApi.md#delete_api_organizations_organizationid_members_invitations_invitationid) | **DELETE** /api/organizations/{organizationId}/members/invitations/{invitationId} |
395
+ *OrganizationManagementApi* | [**delete_api_organizations_organizationid_members_userid**](docs/OrganizationManagementApi.md#delete_api_organizations_organizationid_members_userid) | **DELETE** /api/organizations/{organizationId}/members/{userId} |
396
+ *OrganizationManagementApi* | [**get_api_organizations**](docs/OrganizationManagementApi.md#get_api_organizations) | **GET** /api/organizations |
397
+ *OrganizationManagementApi* | [**get_api_organizations_organizationid_members**](docs/OrganizationManagementApi.md#get_api_organizations_organizationid_members) | **GET** /api/organizations/{organizationId}/members |
398
+ *OrganizationManagementApi* | [**get_api_organizations_organizationid_members_invitations**](docs/OrganizationManagementApi.md#get_api_organizations_organizationid_members_invitations) | **GET** /api/organizations/{organizationId}/members/invitations |
399
+ *OrganizationManagementApi* | [**post_api_organizations**](docs/OrganizationManagementApi.md#post_api_organizations) | **POST** /api/organizations |
400
+ *OrganizationManagementApi* | [**post_api_organizations_organizationid_members**](docs/OrganizationManagementApi.md#post_api_organizations_organizationid_members) | **POST** /api/organizations/{organizationId}/members |
401
+ *OrganizationManagementApi* | [**put_api_organizations_organizationid**](docs/OrganizationManagementApi.md#put_api_organizations_organizationid) | **PUT** /api/organizations/{organizationId} |
402
+ *PlaygroundDeprecatedApi* | [**delete_api_projects_projectid_playground_playgrounditemid**](docs/PlaygroundDeprecatedApi.md#delete_api_projects_projectid_playground_playgrounditemid) | **DELETE** /api/projects/{projectId}/playground/{playgroundItemId} |
403
+ *PlaygroundDeprecatedApi* | [**get_api_projects_projectid_playground**](docs/PlaygroundDeprecatedApi.md#get_api_projects_projectid_playground) | **GET** /api/projects/{projectId}/playground |
404
+ *PlaygroundDeprecatedApi* | [**get_api_projects_projectid_playground_playgrounditemid**](docs/PlaygroundDeprecatedApi.md#get_api_projects_projectid_playground_playgrounditemid) | **GET** /api/projects/{projectId}/playground/{playgroundItemId} |
405
+ *PlaygroundDeprecatedApi* | [**post_api_projects_projectid_playground**](docs/PlaygroundDeprecatedApi.md#post_api_projects_projectid_playground) | **POST** /api/projects/{projectId}/playground |
406
+ *PlaygroundDeprecatedApi* | [**put_api_projects_projectid_playground_playgrounditemid**](docs/PlaygroundDeprecatedApi.md#put_api_projects_projectid_playground_playgrounditemid) | **PUT** /api/projects/{projectId}/playground/{playgroundItemId} |
407
+ *ProjectManagementDeprecatedApi* | [**delete_api_projects_projectid**](docs/ProjectManagementDeprecatedApi.md#delete_api_projects_projectid) | **DELETE** /api/projects/{projectId} |
408
+ *ProjectManagementDeprecatedApi* | [**get_api_projects**](docs/ProjectManagementDeprecatedApi.md#get_api_projects) | **GET** /api/projects |
409
+ *ProjectManagementDeprecatedApi* | [**get_api_projects_projectid**](docs/ProjectManagementDeprecatedApi.md#get_api_projects_projectid) | **GET** /api/projects/{projectId} |
410
+ *ProjectManagementDeprecatedApi* | [**patch_api_projects_projectid**](docs/ProjectManagementDeprecatedApi.md#patch_api_projects_projectid) | **PATCH** /api/projects/{projectId} |
411
+ *ProjectManagementDeprecatedApi* | [**patch_api_projects_projectid_settings**](docs/ProjectManagementDeprecatedApi.md#patch_api_projects_projectid_settings) | **PATCH** /api/projects/{projectId}/settings |
412
+ *ProjectManagementDeprecatedApi* | [**post_api_projects**](docs/ProjectManagementDeprecatedApi.md#post_api_projects) | **POST** /api/projects |
413
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_duplicate**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_duplicate) | **POST** /api/projects/{projectId}/duplicate |
414
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_lock**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_lock) | **POST** /api/projects/{projectId}/lock |
415
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_reset_settings**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_reset_settings) | **POST** /api/projects/{projectId}/reset-settings |
416
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_share**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_share) | **POST** /api/projects/{projectId}/share |
417
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_unlock**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_unlock) | **POST** /api/projects/{projectId}/unlock |
418
+ *ProjectManagementDeprecatedApi* | [**post_api_projects_projectid_unshare**](docs/ProjectManagementDeprecatedApi.md#post_api_projects_projectid_unshare) | **POST** /api/projects/{projectId}/unshare |
419
+ *ProjectManagementDeprecatedApi* | [**put_api_projects_projectid_template**](docs/ProjectManagementDeprecatedApi.md#put_api_projects_projectid_template) | **PUT** /api/projects/{projectId}/template |
420
+ *StructuredDataExtractionApi* | [**get_api_structured_extraction_jobs_structuredextractionjobid**](docs/StructuredDataExtractionApi.md#get_api_structured_extraction_jobs_structuredextractionjobid) | **GET** /api/structured-extraction/jobs/{structuredExtractionJobId} |
421
+ *StructuredDataExtractionApi* | [**post_api_projects_projectid_extract**](docs/StructuredDataExtractionApi.md#post_api_projects_projectid_extract) | **POST** /api/projects/{projectId}/extract |
422
+ *StructuredDataExtractionApi* | [**post_api_projects_projectid_extract_async**](docs/StructuredDataExtractionApi.md#post_api_projects_projectid_extract_async) | **POST** /api/projects/{projectId}/extract-async |
423
+ *StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredextractionprojectid_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredextractionprojectid_jobs) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/jobs |
424
+ *StructuredExtractionExamplesApi* | [**delete_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid**](docs/StructuredExtractionExamplesApi.md#delete_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid) | **DELETE** /api/structured-extraction/{structuredExtractionProjectId}/examples/{structuredExtractionExampleId} |
425
+ *StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredextractionprojectid_examples**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredextractionprojectid_examples) | **GET** /api/structured-extraction/{structuredExtractionProjectId}/examples |
426
+ *StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid) | **GET** /api/structured-extraction/{structuredExtractionProjectId}/examples/{structuredExtractionExampleId} |
427
+ *StructuredExtractionExamplesApi* | [**post_api_structured_extraction_structuredextractionprojectid_examples**](docs/StructuredExtractionExamplesApi.md#post_api_structured_extraction_structuredextractionprojectid_examples) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/examples |
428
+ *StructuredExtractionExamplesApi* | [**put_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid**](docs/StructuredExtractionExamplesApi.md#put_api_structured_extraction_structuredextractionprojectid_examples_structuredextractionexampleid) | **PUT** /api/structured-extraction/{structuredExtractionProjectId}/examples/{structuredExtractionExampleId} |
429
+ *StructuredExtractionPlaygroundApi* | [**delete_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid**](docs/StructuredExtractionPlaygroundApi.md#delete_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid) | **DELETE** /api/structured-extraction/{structuredExtractionProjectId}/playground/{structuredExtractionPlaygroundItemId} |
430
+ *StructuredExtractionPlaygroundApi* | [**get_api_structured_extraction_structuredextractionprojectid_playground**](docs/StructuredExtractionPlaygroundApi.md#get_api_structured_extraction_structuredextractionprojectid_playground) | **GET** /api/structured-extraction/{structuredExtractionProjectId}/playground |
431
+ *StructuredExtractionPlaygroundApi* | [**get_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid**](docs/StructuredExtractionPlaygroundApi.md#get_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid) | **GET** /api/structured-extraction/{structuredExtractionProjectId}/playground/{structuredExtractionPlaygroundItemId} |
432
+ *StructuredExtractionPlaygroundApi* | [**post_api_structured_extraction_structuredextractionprojectid_playground**](docs/StructuredExtractionPlaygroundApi.md#post_api_structured_extraction_structuredextractionprojectid_playground) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/playground |
433
+ *StructuredExtractionPlaygroundApi* | [**put_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid**](docs/StructuredExtractionPlaygroundApi.md#put_api_structured_extraction_structuredextractionprojectid_playground_structuredextractionplaygrounditemid) | **PUT** /api/structured-extraction/{structuredExtractionProjectId}/playground/{structuredExtractionPlaygroundItemId} |
434
+ *StructuredExtractionProjectManagementApi* | [**delete_api_structured_extraction_structuredextractionprojectid**](docs/StructuredExtractionProjectManagementApi.md#delete_api_structured_extraction_structuredextractionprojectid) | **DELETE** /api/structured-extraction/{structuredExtractionProjectId} |
435
+ *StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction) | **GET** /api/structured-extraction |
436
+ *StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredextractionprojectid**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredextractionprojectid) | **GET** /api/structured-extraction/{structuredExtractionProjectId} |
437
+ *StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredextractionprojectid**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredextractionprojectid) | **PATCH** /api/structured-extraction/{structuredExtractionProjectId} |
438
+ *StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredextractionprojectid_settings**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredextractionprojectid_settings) | **PATCH** /api/structured-extraction/{structuredExtractionProjectId}/settings |
439
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction) | **POST** /api/structured-extraction |
440
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_duplicate**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_duplicate) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/duplicate |
441
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_lock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_lock) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/lock |
442
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_reset_settings**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_reset_settings) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/reset-settings |
443
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_share**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_share) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/share |
444
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_unlock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_unlock) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/unlock |
445
+ *StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredextractionprojectid_unshare**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredextractionprojectid_unshare) | **POST** /api/structured-extraction/{structuredExtractionProjectId}/unshare |
446
+ *StructuredExtractionProjectManagementApi* | [**put_api_structured_extraction_structuredextractionprojectid_template**](docs/StructuredExtractionProjectManagementApi.md#put_api_structured_extraction_structuredextractionprojectid_template) | **PUT** /api/structured-extraction/{structuredExtractionProjectId}/template |
447
+ *TemplateGenerationApi* | [**get_api_template_generation_jobs_templatejobid**](docs/TemplateGenerationApi.md#get_api_template_generation_jobs_templatejobid) | **GET** /api/template-generation/jobs/{templateJobId} |
448
+ *TemplateGenerationApi* | [**post_api_template_generation_jobs**](docs/TemplateGenerationApi.md#post_api_template_generation_jobs) | **POST** /api/template-generation/jobs |
449
+
450
+
451
+ ### Documentation For Models
452
+
453
+ - [ApiKeyResponse](docs/ApiKeyResponse.md)
454
+ - [ConvertRequest](docs/ConvertRequest.md)
455
+ - [CreateApiKey](docs/CreateApiKey.md)
456
+ - [CreateMarkdownProjectRequest](docs/CreateMarkdownProjectRequest.md)
457
+ - [CreateOrUpdateExampleRequest](docs/CreateOrUpdateExampleRequest.md)
458
+ - [CreateOrUpdateMarkdownPlaygroundItemRequest](docs/CreateOrUpdateMarkdownPlaygroundItemRequest.md)
459
+ - [CreateOrUpdatePlaygroundItemRequest](docs/CreateOrUpdatePlaygroundItemRequest.md)
460
+ - [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
461
+ - [CreateProjectRequest](docs/CreateProjectRequest.md)
462
+ - [DocumentInfo](docs/DocumentInfo.md)
463
+ - [DocumentResponse](docs/DocumentResponse.md)
464
+ - [Error](docs/Error.md)
465
+ - [ExampleResponse](docs/ExampleResponse.md)
466
+ - [ExtractionResponse](docs/ExtractionResponse.md)
467
+ - [ExtractionResponseDeprecated](docs/ExtractionResponseDeprecated.md)
468
+ - [FileResponse](docs/FileResponse.md)
469
+ - [HealthResponse](docs/HealthResponse.md)
470
+ - [ImageInfo](docs/ImageInfo.md)
471
+ - [InferenceExample](docs/InferenceExample.md)
472
+ - [InferenceStatus](docs/InferenceStatus.md)
473
+ - [InferenceValidationError](docs/InferenceValidationError.md)
474
+ - [InformationResponse](docs/InformationResponse.md)
475
+ - [InvalidInformation](docs/InvalidInformation.md)
476
+ - [InvitationResponse](docs/InvitationResponse.md)
477
+ - [InviteMemberRequest](docs/InviteMemberRequest.md)
478
+ - [JobIdResponse](docs/JobIdResponse.md)
479
+ - [JobResponse](docs/JobResponse.md)
480
+ - [JobStatusResponse](docs/JobStatusResponse.md)
481
+ - [MarkdownPlaygroundItemResponse](docs/MarkdownPlaygroundItemResponse.md)
482
+ - [MarkdownProjectResponse](docs/MarkdownProjectResponse.md)
483
+ - [MarkdownProjectSettingsResponse](docs/MarkdownProjectSettingsResponse.md)
484
+ - [MarkdownResponse](docs/MarkdownResponse.md)
485
+ - [MemberResponse](docs/MemberResponse.md)
486
+ - [OrganizationResponse](docs/OrganizationResponse.md)
487
+ - [PaginatedResponseExampleResponse](docs/PaginatedResponseExampleResponse.md)
488
+ - [PaginatedResponseJobResponse](docs/PaginatedResponseJobResponse.md)
489
+ - [PaginatedResponseMarkdownPlaygroundItemResponse](docs/PaginatedResponseMarkdownPlaygroundItemResponse.md)
490
+ - [PaginatedResponsePlaygroundItemResponse](docs/PaginatedResponsePlaygroundItemResponse.md)
491
+ - [PlaygroundItemResponse](docs/PlaygroundItemResponse.md)
492
+ - [ProjectResponse](docs/ProjectResponse.md)
493
+ - [ProjectResponseDeprecated](docs/ProjectResponseDeprecated.md)
494
+ - [ProjectSettingsResponse](docs/ProjectSettingsResponse.md)
495
+ - [ProjectSettingsResponseDeprecated](docs/ProjectSettingsResponseDeprecated.md)
496
+ - [RawResult](docs/RawResult.md)
497
+ - [ServiceStatus](docs/ServiceStatus.md)
498
+ - [TemplateRequest](docs/TemplateRequest.md)
499
+ - [TemplateResponse](docs/TemplateResponse.md)
500
+ - [TextInfo](docs/TextInfo.md)
501
+ - [TextRequest](docs/TextRequest.md)
502
+ - [TokenCodeRequest](docs/TokenCodeRequest.md)
503
+ - [TokenRefreshRequest](docs/TokenRefreshRequest.md)
504
+ - [TokenRequest](docs/TokenRequest.md)
505
+ - [TokenResponse](docs/TokenResponse.md)
506
+ - [UpdateApiKey](docs/UpdateApiKey.md)
507
+ - [UpdateMarkdownProjectRequest](docs/UpdateMarkdownProjectRequest.md)
508
+ - [UpdateMarkdownProjectSettingsRequest](docs/UpdateMarkdownProjectSettingsRequest.md)
509
+ - [UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
510
+ - [UpdateProjectRequest](docs/UpdateProjectRequest.md)
511
+ - [UpdateProjectSettingsRequest](docs/UpdateProjectSettingsRequest.md)
512
+ - [UpdateProjectTemplateRequest](docs/UpdateProjectTemplateRequest.md)
513
+ - [User](docs/User.md)
514
+ - [ValidInformation](docs/ValidInformation.md)
515
+ - [VersionResponse](docs/VersionResponse.md)
516
+
517
+
518
+ <a id="documentation-for-authorization"></a>
519
+ ### Documentation For Authorization
520
+
521
+
522
+ Authentication schemes defined for the API:
523
+ <a id="oauth2Auth"></a>
524
+ #### oauth2Auth
525
+
526
+ - **Type**: OAuth
527
+ - **Flow**: accessCode
528
+ - **Authorization URL**: https://users.numind.ai/realms/extract-platform/protocol/openid-connect/auth
529
+ - **Scopes**:
530
+ - **openid**: OpenID connect
531
+ - **profile**: view profile
532
+ - **email**: view email
533
+