numind 0.4.0__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {numind-0.4.0 → numind-0.4.2}/PKG-INFO +14 -4
- {numind-0.4.0 → numind-0.4.2}/README.md +13 -3
- {numind-0.4.0 → numind-0.4.2}/docs/ContentExtractionApi.md +30 -17
- {numind-0.4.0 → numind-0.4.2}/docs/ContentExtractionProjectManagementApi.md +24 -18
- {numind-0.4.0 → numind-0.4.2}/docs/ContentExtractionResponse.md +1 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ContentProjectSettingsResponse.md +6 -3
- numind-0.4.2/docs/ContentProjectSettingsResponseImageWidth.md +39 -0
- numind-0.4.2/docs/ContentProjectSettingsResponseRasterizationDPI.md +39 -0
- numind-0.4.2/docs/ContentSettingsPatch.md +38 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ConvertRequest.md +3 -1
- {numind-0.4.0 → numind-0.4.2}/docs/DefaultApi.md +3 -3
- {numind-0.4.0 → numind-0.4.2}/docs/DocumentsApi.md +11 -4
- {numind-0.4.0 → numind-0.4.2}/docs/FilesApi.md +13 -1
- {numind-0.4.0 → numind-0.4.2}/docs/InferenceApi.md +58 -19
- numind-0.4.2/docs/InferenceStatusResponse.md +31 -0
- numind-0.4.2/docs/JobReportResponse.md +35 -0
- {numind-0.4.0 → numind-0.4.2}/docs/JobsApi.md +93 -0
- numind-0.4.2/docs/PostProcessingErrorResponse.md +36 -0
- numind-0.4.2/docs/PostProcessingRepairResponse.md +39 -0
- numind-0.4.2/docs/PostProcessingReportResponse.md +36 -0
- numind-0.4.2/docs/ReferenceProjectResponse.md +33 -0
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredDataExtractionApi.md +75 -43
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredExtractionExamplesApi.md +1 -4
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredExtractionProjectManagementApi.md +124 -43
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredExtractionResponse.md +1 -0
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredProjectSettingsResponse.md +9 -6
- numind-0.4.2/docs/StructuredSettingsPatch.md +41 -0
- {numind-0.4.0 → numind-0.4.2}/docs/TemplateGenerationApi.md +46 -7
- {numind-0.4.0 → numind-0.4.2}/pyproject.toml +1 -1
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/pyproject_base.toml +1 -1
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/__init__.py +14 -6
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/content_extraction_response.py +15 -1
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/content_project_settings_response.py +45 -8
- numind-0.4.2/src/numind/models/content_project_settings_response_image_width.py +162 -0
- numind-0.4.2/src/numind/models/content_project_settings_response_rasterization_dpi.py +164 -0
- numind-0.4.0/src/numind/models/update_structured_project_settings_request.py → numind-0.4.2/src/numind/models/content_settings_patch.py +52 -50
- numind-0.4.2/src/numind/models/convert_request.py +120 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/image_info.py +1 -1
- numind-0.4.2/src/numind/models/inference_status_response.py +93 -0
- numind-0.4.2/src/numind/models/job_report_response.py +125 -0
- numind-0.4.2/src/numind/models/post_processing_error_response.py +98 -0
- numind-0.4.2/src/numind/models/post_processing_repair_response.py +114 -0
- numind-0.4.2/src/numind/models/post_processing_report_response.py +115 -0
- numind-0.4.2/src/numind/models/reference_project_response.py +90 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured_extraction_response.py +15 -1
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured_project_settings_response.py +49 -12
- numind-0.4.0/src/numind/models/update_content_project_settings_request.py → numind-0.4.2/src/numind/models/structured_settings_patch.py +83 -18
- {numind-0.4.0 → numind-0.4.2}/src/numind/numind.py +24 -14
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/__init__.py +38 -8
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/content_extraction_api.py +129 -51
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/content_extraction_project_management_api.py +25 -27
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/default_api.py +6 -6
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/documents_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/files_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/inference_api.py +257 -67
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/jobs_api.py +276 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/structured_data_extraction_api.py +313 -157
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/structured_extraction_examples_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/structured_extraction_project_management_api.py +270 -69
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/template_generation_api.py +237 -18
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api_client.py +18 -4
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/rest.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/__init__.py +38 -8
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/content_extraction_api.py +129 -51
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +25 -27
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/default_api.py +6 -6
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/documents_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/files_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/inference_api.py +257 -67
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/jobs_api.py +276 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/structured_data_extraction_api.py +313 -157
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +3 -3
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +270 -69
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/template_generation_api.py +237 -18
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api_client.py +18 -4
- {numind-0.4.0 → numind-0.4.2}/tests/conftest.py +1 -1
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_content.py +12 -6
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_content_extraction_response.py +3 -1
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_content_project_response.py +12 -6
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_content_project_settings_response.py +11 -5
- numind-0.4.2/tests/openapi_client/test_content_project_settings_response_image_width.py +55 -0
- numind-0.4.2/tests/openapi_client/test_content_project_settings_response_rasterization_dpi.py +55 -0
- numind-0.4.0/tests/openapi_client/test_update_content_project_settings_request.py → numind-0.4.2/tests/openapi_client/test_content_settings_patch.py +17 -16
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_convert_request.py +6 -2
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_import_project_response.py +14 -8
- numind-0.4.2/tests/openapi_client/test_inference_status_response.py +57 -0
- numind-0.4.2/tests/openapi_client/test_job_report_response.py +98 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_jobs_api.py +3 -0
- numind-0.4.2/tests/openapi_client/test_post_processing_error_response.py +63 -0
- numind-0.4.2/tests/openapi_client/test_post_processing_repair_response.py +66 -0
- numind-0.4.2/tests/openapi_client/test_post_processing_report_response.py +69 -0
- numind-0.4.2/tests/openapi_client/test_reference_project_response.py +57 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured.py +14 -8
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured_extraction_project_management_api.py +3 -0
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_structured_extraction_response.py +3 -1
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_structured_project_response.py +14 -8
- {numind-0.4.0/tests/openapi_client_async → numind-0.4.2/tests/openapi_client}/test_structured_project_settings_response.py +13 -7
- numind-0.4.0/tests/openapi_client_async/test_update_structured_project_settings_request.py → numind-0.4.2/tests/openapi_client/test_structured_settings_patch.py +18 -18
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_content.py +12 -6
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_content_extraction_response.py +3 -1
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_content_project_response.py +12 -6
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_content_project_settings_response.py +11 -5
- numind-0.4.2/tests/openapi_client_async/test_content_project_settings_response_image_width.py +55 -0
- numind-0.4.2/tests/openapi_client_async/test_content_project_settings_response_rasterization_dpi.py +55 -0
- numind-0.4.0/tests/openapi_client_async/test_update_content_project_settings_request.py → numind-0.4.2/tests/openapi_client_async/test_content_settings_patch.py +17 -16
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_convert_request.py +6 -2
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_import_project_response.py +14 -8
- numind-0.4.2/tests/openapi_client_async/test_inference_status_response.py +57 -0
- numind-0.4.2/tests/openapi_client_async/test_job_report_response.py +98 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_jobs_api.py +3 -0
- numind-0.4.2/tests/openapi_client_async/test_post_processing_error_response.py +63 -0
- numind-0.4.2/tests/openapi_client_async/test_post_processing_repair_response.py +66 -0
- numind-0.4.2/tests/openapi_client_async/test_post_processing_report_response.py +69 -0
- numind-0.4.2/tests/openapi_client_async/test_reference_project_response.py +57 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured.py +14 -8
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured_extraction_project_management_api.py +3 -0
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_structured_extraction_response.py +3 -1
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_structured_project_response.py +14 -8
- {numind-0.4.0/tests/openapi_client → numind-0.4.2/tests/openapi_client_async}/test_structured_project_settings_response.py +13 -7
- numind-0.4.0/tests/openapi_client/test_update_structured_project_settings_request.py → numind-0.4.2/tests/openapi_client_async/test_structured_settings_patch.py +18 -18
- {numind-0.4.0 → numind-0.4.2}/tests/test_extract_structured_data.py +38 -11
- {numind-0.4.0 → numind-0.4.2}/tests/test_project.py +80 -5
- numind-0.4.0/docs/UpdateContentProjectSettingsRequest.md +0 -43
- numind-0.4.0/docs/UpdateStructuredProjectSettingsRequest.md +0 -47
- numind-0.4.0/src/numind/models/convert_request.py +0 -85
- {numind-0.4.0 → numind-0.4.2}/.github/codecov.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/dependabot.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/workflows/lint.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/workflows/publish-pypi.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/workflows/sdk-auto-update.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/workflows/tests.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
- {numind-0.4.0 → numind-0.4.2}/.gitignore +0 -0
- {numind-0.4.0 → numind-0.4.2}/LICENSE +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/Content.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ContentProjectResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/CreateContentProjectRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/CreateOrUpdateStructuredExampleRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/CreateStructuredProjectRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/DocumentInfo.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/DocumentResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/Error.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/FileResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/HealthResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ImageInfo.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ImportProjectResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/InferenceStatus.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/InferenceValidationError.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/InformationResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/InvalidInformation.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/JobIdResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/JobStatusResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/PaginatedResponseT.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ProjectImportExportApi.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ServiceStatus.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/Structured.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredExampleResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredInferenceExample.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/StructuredProjectResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/TemplateRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/TemplateResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/TextInfo.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/TextRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/UpdateContentProjectRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/UpdateStructuredProjectRequest.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/ValidInformation.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/docs/VersionResponse.md +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/.openapi-generator-ignore +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/adapt_openapi_client_init.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/adapt_pyproject.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/collate_documentation_readme.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/config.json +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/gen_sdk.sh +0 -0
- {numind-0.4.0 → numind-0.4.2}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/api_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/constants.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/exceptions.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/content.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/content_project_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/create_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/create_or_update_structured_example_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/create_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/document_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/document_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/file_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/health_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/import_project_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/inference_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/inference_validation_error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/information_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/invalid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/job_id_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/job_status_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/paginated_response_t.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/service_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured_example_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured_inference_example.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/structured_project_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/template_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/template_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/text_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/text_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/update_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/update_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/valid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/models/version_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/CLDR likelySubtags.xml +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/CLDR supplementalData.xml +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/IANA language subtag registry.txt +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/IANA tlds.txt +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ISO 15924.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ISO 3166-1.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ISO 3166-2.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-one.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ISO 4217 list-three.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/iso-639-3.tab +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/iso-639-3_Retirements.tab +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/_iso_data/ucum-essence.xml +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/constants.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/data_correction.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/data_validation.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/models.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/_utils.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/base.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/bic.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/country.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/currency.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/date_time.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/duration.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/email_address.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/geolocation.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/iban.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/integer.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/language.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/language_tag.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/number.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/phone_number.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/region.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/rfc3987.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/script.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/string_.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/unit_code.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/url.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/types/verbatim_string.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/data_validation/utils.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/template_conversion/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/template_conversion/constants.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/template_conversion/json_schema.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/template_conversion/pydantic.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/nuextract_utils/template_conversion/validation.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/api/project_import_export_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/configuration.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client/py.typed +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/api/project_import_export_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/configuration.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/py.typed +0 -0
- {numind-0.4.0 → numind-0.4.2}/src/numind/openapi_client_async/rest.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/json_schema_test_cases/1.json +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/nuextract_utils/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/nuextract_utils/test_error_detection.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/nuextract_utils/test_optional_dependencies.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_content_extraction_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_content_extraction_project_management_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_create_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_create_or_update_structured_example_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_create_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_default_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_document_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_document_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_documents_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_file_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_files_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_health_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_image_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_inference_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_inference_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_inference_validation_error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_information_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_invalid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_job_id_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_job_status_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_paginated_response_t.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_project_import_export_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_service_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured_data_extraction_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured_example_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured_extraction_examples_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_structured_inference_example.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_template_generation_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_template_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_template_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_text_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_text_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_update_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_update_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_valid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client/test_version_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/__init__.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_content_extraction_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_content_extraction_project_management_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_create_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_create_or_update_structured_example_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_create_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_default_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_document_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_document_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_documents_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_file_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_files_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_health_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_image_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_inference_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_inference_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_inference_validation_error.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_information_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_invalid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_job_id_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_job_status_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_paginated_response_t.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_project_import_export_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_service_status.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured_data_extraction_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured_example_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured_extraction_examples_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_structured_inference_example.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_template_generation_api.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_template_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_template_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_text_info.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_text_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_update_content_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_update_structured_project_request.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_valid_information.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/openapi_client_async/test_version_response.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_cases/vacation/examples.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_cases/vacation/files/tahiti.docx +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_cases/vacation/schema.json +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_cases/vacation/texts.csv +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_conversion_json_schema.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_conversion_pydantic.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_json_schema_descriptions.py +0 -0
- {numind-0.4.0 → numind-0.4.2}/tests/test_numarkdown.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: numind
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
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
|
|
@@ -367,7 +367,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
|
|
367
367
|
|
|
368
368
|
- API version:
|
|
369
369
|
- Package version: 1.0.0
|
|
370
|
-
- Generator version: 7.
|
|
370
|
+
- Generator version: 7.26.0
|
|
371
371
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
372
372
|
|
|
373
373
|
### Documentation for API Endpoints
|
|
@@ -401,6 +401,7 @@ Class | Method | HTTP request | Description
|
|
|
401
401
|
*InferenceApi* | [**post_api_structured_extraction_structuredprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_structured_extraction_structuredprojectid_jobs_document_documentid) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/document/{documentId} |
|
|
402
402
|
*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} |
|
|
403
403
|
*JobsApi* | [**get_api_jobs**](docs/JobsApi.md#get_api_jobs) | **GET** /api/jobs |
|
|
404
|
+
*JobsApi* | [**get_api_jobs_jobid_reports**](docs/JobsApi.md#get_api_jobs_jobid_reports) | **GET** /api/jobs/{jobId}/reports |
|
|
404
405
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
405
406
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
406
407
|
*JobsApi* | [**post_api_jobs_jobid_cancel**](docs/JobsApi.md#post_api_jobs_jobid_cancel) | **POST** /api/jobs/{jobId}/cancel |
|
|
@@ -417,6 +418,7 @@ Class | Method | HTTP request | Description
|
|
|
417
418
|
*StructuredExtractionExamplesApi* | [**put_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#put_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **PUT** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
418
419
|
*StructuredExtractionProjectManagementApi* | [**delete_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#delete_api_structured_extraction_structuredprojectid) | **DELETE** /api/structured-extraction/{structuredProjectId} |
|
|
419
420
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction) | **GET** /api/structured-extraction |
|
|
421
|
+
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_reference_projects**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_reference_projects) | **GET** /api/structured-extraction/reference-projects |
|
|
420
422
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid) | **GET** /api/structured-extraction/{structuredProjectId} |
|
|
421
423
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid_thumbnail**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid_thumbnail) | **GET** /api/structured-extraction/{structuredProjectId}/thumbnail |
|
|
422
424
|
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid) | **PATCH** /api/structured-extraction/{structuredProjectId} |
|
|
@@ -439,6 +441,9 @@ Class | Method | HTTP request | Description
|
|
|
439
441
|
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
440
442
|
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
441
443
|
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
444
|
+
- [ContentProjectSettingsResponseImageWidth](docs/ContentProjectSettingsResponseImageWidth.md)
|
|
445
|
+
- [ContentProjectSettingsResponseRasterizationDPI](docs/ContentProjectSettingsResponseRasterizationDPI.md)
|
|
446
|
+
- [ContentSettingsPatch](docs/ContentSettingsPatch.md)
|
|
442
447
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
443
448
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
444
449
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
@@ -451,12 +456,18 @@ Class | Method | HTTP request | Description
|
|
|
451
456
|
- [ImageInfo](docs/ImageInfo.md)
|
|
452
457
|
- [ImportProjectResponse](docs/ImportProjectResponse.md)
|
|
453
458
|
- [InferenceStatus](docs/InferenceStatus.md)
|
|
459
|
+
- [InferenceStatusResponse](docs/InferenceStatusResponse.md)
|
|
454
460
|
- [InferenceValidationError](docs/InferenceValidationError.md)
|
|
455
461
|
- [InformationResponse](docs/InformationResponse.md)
|
|
456
462
|
- [InvalidInformation](docs/InvalidInformation.md)
|
|
457
463
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
464
|
+
- [JobReportResponse](docs/JobReportResponse.md)
|
|
458
465
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
459
466
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
467
|
+
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
468
|
+
- [PostProcessingRepairResponse](docs/PostProcessingRepairResponse.md)
|
|
469
|
+
- [PostProcessingReportResponse](docs/PostProcessingReportResponse.md)
|
|
470
|
+
- [ReferenceProjectResponse](docs/ReferenceProjectResponse.md)
|
|
460
471
|
- [ServiceStatus](docs/ServiceStatus.md)
|
|
461
472
|
- [Structured](docs/Structured.md)
|
|
462
473
|
- [StructuredExampleResponse](docs/StructuredExampleResponse.md)
|
|
@@ -464,14 +475,13 @@ Class | Method | HTTP request | Description
|
|
|
464
475
|
- [StructuredInferenceExample](docs/StructuredInferenceExample.md)
|
|
465
476
|
- [StructuredProjectResponse](docs/StructuredProjectResponse.md)
|
|
466
477
|
- [StructuredProjectSettingsResponse](docs/StructuredProjectSettingsResponse.md)
|
|
478
|
+
- [StructuredSettingsPatch](docs/StructuredSettingsPatch.md)
|
|
467
479
|
- [TemplateRequest](docs/TemplateRequest.md)
|
|
468
480
|
- [TemplateResponse](docs/TemplateResponse.md)
|
|
469
481
|
- [TextInfo](docs/TextInfo.md)
|
|
470
482
|
- [TextRequest](docs/TextRequest.md)
|
|
471
483
|
- [UpdateContentProjectRequest](docs/UpdateContentProjectRequest.md)
|
|
472
|
-
- [UpdateContentProjectSettingsRequest](docs/UpdateContentProjectSettingsRequest.md)
|
|
473
484
|
- [UpdateStructuredProjectRequest](docs/UpdateStructuredProjectRequest.md)
|
|
474
|
-
- [UpdateStructuredProjectSettingsRequest](docs/UpdateStructuredProjectSettingsRequest.md)
|
|
475
485
|
- [ValidInformation](docs/ValidInformation.md)
|
|
476
486
|
- [VersionResponse](docs/VersionResponse.md)
|
|
477
487
|
|
|
@@ -291,7 +291,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
|
|
291
291
|
|
|
292
292
|
- API version:
|
|
293
293
|
- Package version: 1.0.0
|
|
294
|
-
- Generator version: 7.
|
|
294
|
+
- Generator version: 7.26.0
|
|
295
295
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
296
296
|
|
|
297
297
|
### Documentation for API Endpoints
|
|
@@ -325,6 +325,7 @@ Class | Method | HTTP request | Description
|
|
|
325
325
|
*InferenceApi* | [**post_api_structured_extraction_structuredprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_structured_extraction_structuredprojectid_jobs_document_documentid) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/document/{documentId} |
|
|
326
326
|
*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} |
|
|
327
327
|
*JobsApi* | [**get_api_jobs**](docs/JobsApi.md#get_api_jobs) | **GET** /api/jobs |
|
|
328
|
+
*JobsApi* | [**get_api_jobs_jobid_reports**](docs/JobsApi.md#get_api_jobs_jobid_reports) | **GET** /api/jobs/{jobId}/reports |
|
|
328
329
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
329
330
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
330
331
|
*JobsApi* | [**post_api_jobs_jobid_cancel**](docs/JobsApi.md#post_api_jobs_jobid_cancel) | **POST** /api/jobs/{jobId}/cancel |
|
|
@@ -341,6 +342,7 @@ Class | Method | HTTP request | Description
|
|
|
341
342
|
*StructuredExtractionExamplesApi* | [**put_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#put_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **PUT** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
342
343
|
*StructuredExtractionProjectManagementApi* | [**delete_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#delete_api_structured_extraction_structuredprojectid) | **DELETE** /api/structured-extraction/{structuredProjectId} |
|
|
343
344
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction) | **GET** /api/structured-extraction |
|
|
345
|
+
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_reference_projects**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_reference_projects) | **GET** /api/structured-extraction/reference-projects |
|
|
344
346
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid) | **GET** /api/structured-extraction/{structuredProjectId} |
|
|
345
347
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid_thumbnail**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid_thumbnail) | **GET** /api/structured-extraction/{structuredProjectId}/thumbnail |
|
|
346
348
|
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid) | **PATCH** /api/structured-extraction/{structuredProjectId} |
|
|
@@ -363,6 +365,9 @@ Class | Method | HTTP request | Description
|
|
|
363
365
|
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
364
366
|
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
365
367
|
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
368
|
+
- [ContentProjectSettingsResponseImageWidth](docs/ContentProjectSettingsResponseImageWidth.md)
|
|
369
|
+
- [ContentProjectSettingsResponseRasterizationDPI](docs/ContentProjectSettingsResponseRasterizationDPI.md)
|
|
370
|
+
- [ContentSettingsPatch](docs/ContentSettingsPatch.md)
|
|
366
371
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
367
372
|
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
368
373
|
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
@@ -375,12 +380,18 @@ Class | Method | HTTP request | Description
|
|
|
375
380
|
- [ImageInfo](docs/ImageInfo.md)
|
|
376
381
|
- [ImportProjectResponse](docs/ImportProjectResponse.md)
|
|
377
382
|
- [InferenceStatus](docs/InferenceStatus.md)
|
|
383
|
+
- [InferenceStatusResponse](docs/InferenceStatusResponse.md)
|
|
378
384
|
- [InferenceValidationError](docs/InferenceValidationError.md)
|
|
379
385
|
- [InformationResponse](docs/InformationResponse.md)
|
|
380
386
|
- [InvalidInformation](docs/InvalidInformation.md)
|
|
381
387
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
388
|
+
- [JobReportResponse](docs/JobReportResponse.md)
|
|
382
389
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
383
390
|
- [PaginatedResponseT](docs/PaginatedResponseT.md)
|
|
391
|
+
- [PostProcessingErrorResponse](docs/PostProcessingErrorResponse.md)
|
|
392
|
+
- [PostProcessingRepairResponse](docs/PostProcessingRepairResponse.md)
|
|
393
|
+
- [PostProcessingReportResponse](docs/PostProcessingReportResponse.md)
|
|
394
|
+
- [ReferenceProjectResponse](docs/ReferenceProjectResponse.md)
|
|
384
395
|
- [ServiceStatus](docs/ServiceStatus.md)
|
|
385
396
|
- [Structured](docs/Structured.md)
|
|
386
397
|
- [StructuredExampleResponse](docs/StructuredExampleResponse.md)
|
|
@@ -388,14 +399,13 @@ Class | Method | HTTP request | Description
|
|
|
388
399
|
- [StructuredInferenceExample](docs/StructuredInferenceExample.md)
|
|
389
400
|
- [StructuredProjectResponse](docs/StructuredProjectResponse.md)
|
|
390
401
|
- [StructuredProjectSettingsResponse](docs/StructuredProjectSettingsResponse.md)
|
|
402
|
+
- [StructuredSettingsPatch](docs/StructuredSettingsPatch.md)
|
|
391
403
|
- [TemplateRequest](docs/TemplateRequest.md)
|
|
392
404
|
- [TemplateResponse](docs/TemplateResponse.md)
|
|
393
405
|
- [TextInfo](docs/TextInfo.md)
|
|
394
406
|
- [TextRequest](docs/TextRequest.md)
|
|
395
407
|
- [UpdateContentProjectRequest](docs/UpdateContentProjectRequest.md)
|
|
396
|
-
- [UpdateContentProjectSettingsRequest](docs/UpdateContentProjectSettingsRequest.md)
|
|
397
408
|
- [UpdateStructuredProjectRequest](docs/UpdateStructuredProjectRequest.md)
|
|
398
|
-
- [UpdateStructuredProjectSettingsRequest](docs/UpdateStructuredProjectSettingsRequest.md)
|
|
399
409
|
- [ValidInformation](docs/ValidInformation.md)
|
|
400
410
|
- [VersionResponse](docs/VersionResponse.md)
|
|
401
411
|
|
|
@@ -16,6 +16,7 @@ Method | HTTP request | Description
|
|
|
16
16
|
|
|
17
17
|
#### Response:
|
|
18
18
|
Returns a markdown string representing the extracted content.
|
|
19
|
+
`isTruncated` is true when at least one document part stops at a token limit; the combined result may be incomplete.
|
|
19
20
|
|
|
20
21
|
#### Error Responses:
|
|
21
22
|
`404 Not Found` - If a content extraction job with the specified ID does not exist.
|
|
@@ -101,18 +102,13 @@ Name | Type | Description | Notes
|
|
|
101
102
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
102
103
|
|
|
103
104
|
# **post_api_content_extraction_jobs**
|
|
104
|
-
> JobIdResponse post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, project_id=project_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, enable_thinking=enable_thinking, random_seed=random_seed, timeout=timeout)
|
|
105
|
+
> JobIdResponse post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, project_id=project_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, enable_thinking=enable_thinking, thinking_token_budget=thinking_token_budget, loop_detection=loop_detection, random_seed=random_seed, image_width=image_width, timeout=timeout)
|
|
105
106
|
|
|
106
107
|
|
|
107
108
|
Extract content from the provided file in markdown format as an async job.
|
|
108
109
|
The response contains extracted markdown together with the reasoning trace.
|
|
109
110
|
The model only accepts images. Therefore, some files are converted to images -
|
|
110
111
|
the **rasterizationDPI** parameter controls their resolution.
|
|
111
|
-
Parameter resolution order:
|
|
112
|
-
- `temperature`: request value -> project setting (when `projectId` is provided) -> platform default
|
|
113
|
-
- `rasterizationDPI`: request value -> project setting (when `projectId` is provided) -> platform default
|
|
114
|
-
- `maxOutputTokens`: request value -> project setting (when `projectId` is provided) -> platform default
|
|
115
|
-
- `randomSeed`: request value (`random` or a fixed 64-bit integer string) -> project setting (when `projectId` is provided) -> default `2022`
|
|
116
112
|
|
|
117
113
|
|
|
118
114
|
#### Response:
|
|
@@ -123,6 +119,12 @@ Name | Type | Description | Notes
|
|
|
123
119
|
If one of the fields ***result*** or ***thinking*** is empty, the ***rawResponse*** field contains the raw model output.
|
|
124
120
|
and an HTTP code 206 is returned.
|
|
125
121
|
|
|
122
|
+
#### Settings:
|
|
123
|
+
Request settings override the project settings when `projectId` is provided; otherwise omitted settings use platform defaults.
|
|
124
|
+
Platform defaults: temperature 0.8, rasterization DPI `automatic`,
|
|
125
|
+
output token budget 20000, thinking enabled, thinking token budget 15000,
|
|
126
|
+
loop detection enabled, and random seed `2022`.
|
|
127
|
+
|
|
126
128
|
|
|
127
129
|
### Example
|
|
128
130
|
|
|
@@ -152,11 +154,16 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
152
154
|
file = None # bytes |
|
|
153
155
|
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)
|
|
154
156
|
project_id = "project_id_example" # str | Optional content project identifier. When provided, project settings are used as fallback for inference parameters; this identifier is also attached to usage and billing events. (optional)
|
|
155
|
-
temperature = 3.4 # float | Model temperature
|
|
156
|
-
rasterization_dpi =
|
|
157
|
-
max_output_tokens =
|
|
158
|
-
enable_thinking = True # bool | Enable thinking/reasoning
|
|
159
|
-
|
|
157
|
+
temperature = 3.4 # float | Model temperature. Controls output diversity. Ranges between 0 and 2. (optional)
|
|
158
|
+
rasterization_dpi = "rasterization_dpi_example" # str | Resolution used to convert formatted documents (PDFs, etc.) to images, in dots per inch. Use 'automatic' or an integer between 1 and 600. Numeric strings are also accepted. Ignored for files that are already images or text. (optional)
|
|
159
|
+
max_output_tokens = "max_output_tokens_example" # str | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. (optional)
|
|
160
|
+
enable_thinking = True # bool | Enable thinking/reasoning. (optional)
|
|
161
|
+
thinking_token_budget = "thinking_token_budget_example" # str | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. (optional)
|
|
162
|
+
loop_detection = (
|
|
163
|
+
True # bool | Stop the generation when the model repeats itself. (optional)
|
|
164
|
+
)
|
|
165
|
+
random_seed = "random_seed_example" # str | Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. (optional)
|
|
166
|
+
image_width = "image_width_example" # str | Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed. (optional)
|
|
160
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)
|
|
161
168
|
|
|
162
169
|
try:
|
|
@@ -168,7 +175,10 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
168
175
|
rasterization_dpi=rasterization_dpi,
|
|
169
176
|
max_output_tokens=max_output_tokens,
|
|
170
177
|
enable_thinking=enable_thinking,
|
|
178
|
+
thinking_token_budget=thinking_token_budget,
|
|
179
|
+
loop_detection=loop_detection,
|
|
171
180
|
random_seed=random_seed,
|
|
181
|
+
image_width=image_width,
|
|
172
182
|
timeout=timeout,
|
|
173
183
|
)
|
|
174
184
|
print(
|
|
@@ -192,11 +202,14 @@ Name | Type | Description | Notes
|
|
|
192
202
|
**file** | **bytes**| |
|
|
193
203
|
**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]
|
|
194
204
|
**project_id** | **str**| Optional content project identifier. When provided, project settings are used as fallback for inference parameters; this identifier is also attached to usage and billing events. | [optional]
|
|
195
|
-
**temperature** | **float**| Model temperature
|
|
196
|
-
**rasterization_dpi** | **
|
|
197
|
-
**max_output_tokens** | **
|
|
198
|
-
**enable_thinking** | **bool**| Enable thinking/reasoning
|
|
199
|
-
**
|
|
205
|
+
**temperature** | **float**| Model temperature. Controls output diversity. Ranges between 0 and 2. | [optional]
|
|
206
|
+
**rasterization_dpi** | **str**| Resolution used to convert formatted documents (PDFs, etc.) to images, in dots per inch. Use 'automatic' or an integer between 1 and 600. Numeric strings are also accepted. Ignored for files that are already images or text. | [optional]
|
|
207
|
+
**max_output_tokens** | **str**| Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
208
|
+
**enable_thinking** | **bool**| Enable thinking/reasoning. | [optional]
|
|
209
|
+
**thinking_token_budget** | **str**| Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
210
|
+
**loop_detection** | **bool**| Stop the generation when the model repeats itself. | [optional]
|
|
211
|
+
**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
|
+
**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]
|
|
200
213
|
**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]
|
|
201
214
|
|
|
202
215
|
### Return type
|
|
@@ -217,7 +230,7 @@ Name | Type | Description | Notes
|
|
|
217
230
|
| Status code | Description | Response headers |
|
|
218
231
|
|-------------|-------------|------------------|
|
|
219
232
|
**200** | | - |
|
|
220
|
-
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter
|
|
233
|
+
**400** | Invalid value for: query parameter temperature, Invalid value for: query parameter enableThinking, Invalid value for: query parameter loopDetection, Invalid value for: body | - |
|
|
221
234
|
**0** | | - |
|
|
222
235
|
|
|
223
236
|
[[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)
|
|
@@ -270,12 +270,12 @@ Name | Type | Description | Notes
|
|
|
270
270
|
[[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)
|
|
271
271
|
|
|
272
272
|
# **patch_api_content_extraction_contentprojectid_settings**
|
|
273
|
-
> ContentProjectResponse patch_api_content_extraction_contentprojectid_settings(content_project_id,
|
|
273
|
+
> ContentProjectResponse patch_api_content_extraction_contentprojectid_settings(content_project_id, content_settings_patch, x_organization_id=x_organization_id)
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
Update the settings of an existing **Content Extraction Project**.
|
|
277
277
|
|
|
278
|
-
Omitted fields keep their current value. Set `randomSeed` to a string containing a 64-bit integer for a fixed seed, or to `"random"` to generate a random seed for each inference.
|
|
278
|
+
Omitted fields keep their current value. Set `rasterizationDPI` to `"automatic"` for automatic resolution, or to an integer from 1 to 600 for a fixed DPI (numeric strings are also accepted). Fixed DPI values are returned as JSON numbers. Set `randomSeed` to a string containing a 64-bit integer for a fixed seed, or to `"random"` to generate a random seed for each inference.
|
|
279
279
|
|
|
280
280
|
#### Error Responses:
|
|
281
281
|
`404 Not Found` - If a **Content Extraction Project** with the specified `contentProjectId` does not exist.
|
|
@@ -290,9 +290,7 @@ Omitted fields keep their current value. Set `randomSeed` to a string containing
|
|
|
290
290
|
```python
|
|
291
291
|
import numind.openapi_client
|
|
292
292
|
from numind.models.content_project_response import ContentProjectResponse
|
|
293
|
-
from numind.models.
|
|
294
|
-
UpdateContentProjectSettingsRequest,
|
|
295
|
-
)
|
|
293
|
+
from numind.models.content_settings_patch import ContentSettingsPatch
|
|
296
294
|
from numind.openapi_client.rest import ApiException
|
|
297
295
|
from pprint import pprint
|
|
298
296
|
|
|
@@ -314,20 +312,23 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
314
312
|
api_client
|
|
315
313
|
)
|
|
316
314
|
content_project_id = "content_project_id_example" # str | Unique content extraction project identifier.
|
|
317
|
-
|
|
318
|
-
"temperature":
|
|
319
|
-
"rasterizationDPI":
|
|
320
|
-
"maxOutputTokens":
|
|
315
|
+
content_settings_patch = {
|
|
316
|
+
"temperature": 0.8,
|
|
317
|
+
"rasterizationDPI": "automatic",
|
|
318
|
+
"maxOutputTokens": "20000",
|
|
321
319
|
"enableThinking": true,
|
|
320
|
+
"thinkingTokenBudget": "15000",
|
|
321
|
+
"loopDetection": true,
|
|
322
322
|
"randomSeed": "2022",
|
|
323
|
-
|
|
323
|
+
"imageWidth": "automatic",
|
|
324
|
+
} # ContentSettingsPatch |
|
|
324
325
|
x_organization_id = "x_organization_id_example" # str | Optional organization to use for this request. No header means that the user personal account will be used. This token is *only* used by the _frontend_ application and *will be ignored if used with the API*. When using the api, the organization used will be the one of the api key. (optional)
|
|
325
326
|
|
|
326
327
|
try:
|
|
327
328
|
api_response = (
|
|
328
329
|
api_instance.patch_api_content_extraction_contentprojectid_settings(
|
|
329
330
|
content_project_id,
|
|
330
|
-
|
|
331
|
+
content_settings_patch,
|
|
331
332
|
x_organization_id=x_organization_id,
|
|
332
333
|
)
|
|
333
334
|
)
|
|
@@ -350,7 +351,7 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
350
351
|
Name | Type | Description | Notes
|
|
351
352
|
------------- | ------------- | ------------- | -------------
|
|
352
353
|
**content_project_id** | **str**| Unique content extraction project identifier. |
|
|
353
|
-
**
|
|
354
|
+
**content_settings_patch** | [**ContentSettingsPatch**](ContentSettingsPatch.md)| |
|
|
354
355
|
**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]
|
|
355
356
|
|
|
356
357
|
### Return type
|
|
@@ -394,10 +395,13 @@ A **Project** is created with default settings:
|
|
|
394
395
|
|
|
395
396
|
Setting | Default |
|
|
396
397
|
---------|---------|
|
|
397
|
-
`temperature` |
|
|
398
|
-
`rasterizationDPI` |
|
|
399
|
-
`
|
|
398
|
+
`temperature` | 0.8 |
|
|
399
|
+
`rasterizationDPI` | `automatic` |
|
|
400
|
+
`imageWidth` | `automatic` |
|
|
401
|
+
`maxOutputTokens` | 20000 |
|
|
400
402
|
`enableThinking` | true |
|
|
403
|
+
`thinkingTokenBudget` | 15000 (`Unlimited` for no limit) |
|
|
404
|
+
`loopDetection` | true |
|
|
401
405
|
`randomSeed` | 2022 (-9223372036854775808 to 9223372036854775807, or `random`) |
|
|
402
406
|
|
|
403
407
|
The **Project** is owned by the authenticated user and, when applicable, the authenticated organization.
|
|
@@ -499,10 +503,12 @@ Default values are:
|
|
|
499
503
|
|
|
500
504
|
Setting | Default |
|
|
501
505
|
-----------|--------|
|
|
502
|
-
`temperature` |
|
|
503
|
-
`rasterizationDPI` |
|
|
504
|
-
`maxOutputTokens` |
|
|
506
|
+
`temperature` | 0.8 |
|
|
507
|
+
`rasterizationDPI` | `automatic` |
|
|
508
|
+
`maxOutputTokens` | 20000 |
|
|
505
509
|
`enableThinking` | true |
|
|
510
|
+
`thinkingTokenBudget` | 15000 (`Unlimited` for no limit) |
|
|
511
|
+
`loopDetection` | true |
|
|
506
512
|
`randomSeed` | 2022 (-9223372036854775808 to 9223372036854775807, or `random`) |
|
|
507
513
|
|
|
508
514
|
#### Error Responses:
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**logprobs** | **float** | Logprob of the inference result (sum of logprobs of all tokens). |
|
|
15
15
|
**output_token_probability** | **float** | Geometric mean of the output token probabilities. |
|
|
16
16
|
**random_seed** | **int** | Random seed used for this inference. |
|
|
17
|
+
**is_truncated** | **bool** | True when at least one document part stopped at a token limit. The result may be incomplete. |
|
|
17
18
|
|
|
18
19
|
## Example
|
|
19
20
|
|
|
@@ -6,11 +6,14 @@ Project settings.
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**temperature** | **float** | Model temperature. |
|
|
10
|
-
**rasterization_dpi** | **
|
|
11
|
-
**max_output_tokens** | **
|
|
9
|
+
**temperature** | **float** | Model temperature. Controls output diversity. Ranges between 0 and 2. |
|
|
10
|
+
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | |
|
|
11
|
+
**max_output_tokens** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. |
|
|
12
12
|
**enable_thinking** | **bool** | Enable thinking/reasoning. |
|
|
13
|
+
**thinking_token_budget** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. |
|
|
14
|
+
**loop_detection** | **bool** | Stop the generation when the model repeats itself. |
|
|
13
15
|
**random_seed** | **str** | Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. |
|
|
16
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | |
|
|
14
17
|
|
|
15
18
|
## Example
|
|
16
19
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# ContentProjectSettingsResponseImageWidth
|
|
2
|
+
|
|
3
|
+
Original standalone images only (not PDF/TIFF or converted pages). Use automatic for a 1280 px short side, original to preserve the upload, or a positive integer for the upright image width in pixels. Aspect ratio is preserved; upscaling is allowed.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```python
|
|
13
|
+
from numind.models.content_project_settings_response_image_width import (
|
|
14
|
+
ContentProjectSettingsResponseImageWidth,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of ContentProjectSettingsResponseImageWidth from a JSON string
|
|
20
|
+
content_project_settings_response_image_width_instance = (
|
|
21
|
+
ContentProjectSettingsResponseImageWidth.from_json(json)
|
|
22
|
+
)
|
|
23
|
+
# print the JSON string representation of the object
|
|
24
|
+
print(ContentProjectSettingsResponseImageWidth.to_json())
|
|
25
|
+
|
|
26
|
+
# convert the object into a dict
|
|
27
|
+
content_project_settings_response_image_width_dict = (
|
|
28
|
+
content_project_settings_response_image_width_instance.to_dict()
|
|
29
|
+
)
|
|
30
|
+
# create an instance of ContentProjectSettingsResponseImageWidth from a dict
|
|
31
|
+
content_project_settings_response_image_width_from_dict = (
|
|
32
|
+
ContentProjectSettingsResponseImageWidth.from_dict(
|
|
33
|
+
content_project_settings_response_image_width_dict
|
|
34
|
+
)
|
|
35
|
+
)
|
|
36
|
+
```
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
38
|
+
|
|
39
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# ContentProjectSettingsResponseRasterizationDPI
|
|
2
|
+
|
|
3
|
+
Resolution used to convert formatted documents (PDFs, etc.) to images, in dots per inch. Use 'automatic' or an integer between 1 and 600. Numeric strings are also accepted. Ignored for files that are already images or text.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```python
|
|
13
|
+
from numind.models.content_project_settings_response_rasterization_dpi import (
|
|
14
|
+
ContentProjectSettingsResponseRasterizationDPI,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of ContentProjectSettingsResponseRasterizationDPI from a JSON string
|
|
20
|
+
content_project_settings_response_rasterization_dpi_instance = (
|
|
21
|
+
ContentProjectSettingsResponseRasterizationDPI.from_json(json)
|
|
22
|
+
)
|
|
23
|
+
# print the JSON string representation of the object
|
|
24
|
+
print(ContentProjectSettingsResponseRasterizationDPI.to_json())
|
|
25
|
+
|
|
26
|
+
# convert the object into a dict
|
|
27
|
+
content_project_settings_response_rasterization_dpi_dict = (
|
|
28
|
+
content_project_settings_response_rasterization_dpi_instance.to_dict()
|
|
29
|
+
)
|
|
30
|
+
# create an instance of ContentProjectSettingsResponseRasterizationDPI from a dict
|
|
31
|
+
content_project_settings_response_rasterization_dpi_from_dict = (
|
|
32
|
+
ContentProjectSettingsResponseRasterizationDPI.from_dict(
|
|
33
|
+
content_project_settings_response_rasterization_dpi_dict
|
|
34
|
+
)
|
|
35
|
+
)
|
|
36
|
+
```
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
38
|
+
|
|
39
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ContentSettingsPatch
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**temperature** | **float** | Model temperature. Controls output diversity. Ranges between 0 and 2. | [optional]
|
|
9
|
+
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | | [optional]
|
|
10
|
+
**max_output_tokens** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
11
|
+
**enable_thinking** | **bool** | Enable thinking/reasoning. | [optional]
|
|
12
|
+
**thinking_token_budget** | **str** | Maximum number of tokens for the corresponding budget (output or thinking). Given as a string: a strictly positive integer string, or Unlimited for no limit; zero is invalid. The thinking budget is only used when thinking is enabled. | [optional]
|
|
13
|
+
**loop_detection** | **bool** | Stop the generation when the model repeats itself. | [optional]
|
|
14
|
+
**random_seed** | **str** | Inference seed setting. Use a string containing a 64-bit integer for a fixed seed, or `random` to generate one for each inference. | [optional]
|
|
15
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | | [optional]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
from numind.models.content_settings_patch import ContentSettingsPatch
|
|
21
|
+
|
|
22
|
+
# TODO update the JSON string below
|
|
23
|
+
json = "{}"
|
|
24
|
+
# create an instance of ContentSettingsPatch from a JSON string
|
|
25
|
+
content_settings_patch_instance = ContentSettingsPatch.from_json(json)
|
|
26
|
+
# print the JSON string representation of the object
|
|
27
|
+
print(ContentSettingsPatch.to_json())
|
|
28
|
+
|
|
29
|
+
# convert the object into a dict
|
|
30
|
+
content_settings_patch_dict = content_settings_patch_instance.to_dict()
|
|
31
|
+
# create an instance of ContentSettingsPatch from a dict
|
|
32
|
+
content_settings_patch_from_dict = ContentSettingsPatch.from_dict(
|
|
33
|
+
content_settings_patch_dict
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**rasterization_dpi** | **
|
|
8
|
+
**rasterization_dpi** | [**ContentProjectSettingsResponseRasterizationDPI**](ContentProjectSettingsResponseRasterizationDPI.md) | |
|
|
9
|
+
**token_budget_type** | **str** | Token budget allocation used while converting the document: `per-page` applies a separate budget to each page, while `all-pages` shares one budget across the entire document. |
|
|
10
|
+
**image_width** | [**ContentProjectSettingsResponseImageWidth**](ContentProjectSettingsResponseImageWidth.md) | |
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
@@ -134,14 +134,14 @@ No authorization required
|
|
|
134
134
|
[[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)
|
|
135
135
|
|
|
136
136
|
# **get_api_inference_status**
|
|
137
|
-
>
|
|
137
|
+
> InferenceStatusResponse get_api_inference_status()
|
|
138
138
|
|
|
139
139
|
### Example
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
```python
|
|
143
143
|
import numind.openapi_client
|
|
144
|
-
from numind.models.
|
|
144
|
+
from numind.models.inference_status_response import InferenceStatusResponse
|
|
145
145
|
from numind.openapi_client.rest import ApiException
|
|
146
146
|
from pprint import pprint
|
|
147
147
|
|
|
@@ -171,7 +171,7 @@ This endpoint does not need any parameter.
|
|
|
171
171
|
|
|
172
172
|
### Return type
|
|
173
173
|
|
|
174
|
-
[**
|
|
174
|
+
[**InferenceStatusResponse**](InferenceStatusResponse.md)
|
|
175
175
|
|
|
176
176
|
### Authorization
|
|
177
177
|
|
|
@@ -184,14 +184,21 @@ Name | Type | Description | Notes
|
|
|
184
184
|
> DocumentResponse post_api_documents_documentid_new_owner(document_id, x_organization_id=x_organization_id, x_organization=x_organization)
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
Copy a **Document** into another ownership scope controlled by the authenticated user.
|
|
188
|
+
Without the `x-organization` header, the destination is the user's personal scope. With the header,
|
|
189
|
+
the destination is that organization. Since documents are immutable, the operation creates a new
|
|
190
|
+
**Document** with a new `documentId` and a new **File** with a new `fileId`.
|
|
191
|
+
|
|
192
|
+
The user must have direct access to the source **Document**. Access to a **Reference Project** that
|
|
193
|
+
references the **Document** is not sufficient. Copying all documents while duplicating a shared
|
|
194
|
+
**Reference Project** is handled by the project duplication endpoint.
|
|
195
|
+
|
|
196
|
+
If the **Document** already belongs to the destination ownership scope, the original **Document** is returned.
|
|
190
197
|
|
|
191
198
|
#### Error Responses:
|
|
192
199
|
`404 Not Found` - If a **Document** with the specified `documentId` does not exist.
|
|
193
200
|
|
|
194
|
-
`403 Forbidden` - If the user does not have
|
|
201
|
+
`403 Forbidden` - If the user does not have direct access to this **Document** or is not a member of the destination organization.
|
|
195
202
|
|
|
196
203
|
|
|
197
204
|
### Example
|
|
@@ -260,11 +260,23 @@ Name | Type | Description | Notes
|
|
|
260
260
|
|
|
261
261
|
Convert the **File** into a **Document**
|
|
262
262
|
|
|
263
|
-
- For ***text
|
|
263
|
+
- For ***text files***, the content is used as-is.
|
|
264
|
+
- For ***original standalone raster images***, optional `imageWidth` controls resizing:
|
|
265
|
+
`"automatic"` sets the short side to 1280 pixels, a positive integer sets horizontal width,
|
|
266
|
+
and `"original"` bypasses processing. Omission defaults to `"original"`.
|
|
267
|
+
Aspect ratio is preserved and upscaling is allowed. Original upload bytes are retained.
|
|
268
|
+
This setting never applies to images produced from PDF, TIFF, or other document conversions.
|
|
264
269
|
- For ***other supported file types*** (e.g., PDFs, WORD, PPTX, Excel),
|
|
265
270
|
the file is ***converted to an image*** in the background,
|
|
266
271
|
using the **conversion parameters** provided in the request body (e.g., `rasterizationDPI`).
|
|
267
272
|
|
|
273
|
+
Example request bodies: `{"rasterizationDPI":"automatic","tokenBudgetType":"all-pages"}` for automatic resolution,
|
|
274
|
+
`{"rasterizationDPI":155,"tokenBudgetType":"per-page"}` for fixed resolution, or `{"rasterizationDPI":"200","tokenBudgetType":"all-pages"}` for a numeric string.
|
|
275
|
+
The `automatic` keyword is case-insensitive. Fixed DPI must be a whole number from 1 to 600, inclusive;
|
|
276
|
+
responses encode fixed DPI as a number. Unlike a partial project settings update, this body requires
|
|
277
|
+
`rasterizationDPI` and `tokenBudgetType` (`all-pages` or `per-page`) are required; omitted or `null` values are rejected,
|
|
278
|
+
as are `0`, `601`, and `155.5` for `rasterizationDPI`.
|
|
279
|
+
|
|
268
280
|
The resulting image is then saved as a **Document** and can be used for inference or further processing.
|
|
269
281
|
|
|
270
282
|
Once saved, this **Document** can be used to perform inference,
|