numind 0.2.1__tar.gz → 0.2.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.2.1 → numind-0.2.2}/.github/workflows/publish-pypi.yml +2 -2
- {numind-0.2.1 → numind-0.2.2}/PKG-INFO +41 -38
- {numind-0.2.1 → numind-0.2.2}/README.md +39 -36
- {numind-0.2.1 → numind-0.2.2}/docs/ContentExtractionApi.md +14 -10
- {numind-0.2.1 → numind-0.2.2}/docs/ContentExtractionProjectManagementApi.md +67 -59
- numind-0.2.1/docs/MarkdownResponse.md → numind-0.2.2/docs/ContentExtractionResponse.md +10 -10
- numind-0.2.1/docs/MarkdownProjectResponse.md → numind-0.2.2/docs/ContentProjectResponse.md +9 -9
- numind-0.2.1/docs/MarkdownProjectSettingsResponse.md → numind-0.2.2/docs/ContentProjectSettingsResponse.md +8 -8
- numind-0.2.2/docs/CreateContentProjectRequest.md +30 -0
- numind-0.2.2/docs/CreateOrUpdateStructuredExampleRequest.md +30 -0
- numind-0.2.1/docs/CreateProjectRequest.md → numind-0.2.2/docs/CreateStructuredProjectRequest.md +8 -9
- {numind-0.2.1 → numind-0.2.2}/docs/DocumentsApi.md +17 -11
- {numind-0.2.1 → numind-0.2.2}/docs/FilesApi.md +19 -13
- {numind-0.2.1 → numind-0.2.2}/docs/InferenceApi.md +41 -31
- {numind-0.2.1 → numind-0.2.2}/docs/JobsApi.md +12 -6
- numind-0.2.2/docs/PaginatedResponseStructuredExampleResponse.md +32 -0
- {numind-0.2.1 → numind-0.2.2}/docs/StructuredDataExtractionApi.md +19 -15
- numind-0.2.1/docs/ExampleResponse.md → numind-0.2.2/docs/StructuredExampleResponse.md +8 -8
- {numind-0.2.1 → numind-0.2.2}/docs/StructuredExtractionExamplesApi.md +71 -61
- numind-0.2.2/docs/StructuredExtractionProjectManagementApi.md +1097 -0
- numind-0.2.1/docs/ExtractionResponse.md → numind-0.2.2/docs/StructuredExtractionResponse.md +9 -9
- numind-0.2.1/docs/InferenceExample.md → numind-0.2.2/docs/StructuredInferenceExample.md +8 -8
- numind-0.2.1/docs/ProjectResponse.md → numind-0.2.2/docs/StructuredProjectResponse.md +9 -9
- numind-0.2.1/docs/ProjectSettingsResponse.md → numind-0.2.2/docs/StructuredProjectSettingsResponse.md +8 -8
- {numind-0.2.1 → numind-0.2.2}/docs/TemplateGenerationApi.md +10 -6
- numind-0.2.2/docs/UpdateContentProjectRequest.md +30 -0
- numind-0.2.1/docs/UpdateMarkdownProjectSettingsRequest.md → numind-0.2.2/docs/UpdateContentProjectSettingsRequest.md +8 -8
- numind-0.2.1/docs/UpdateProjectRequest.md → numind-0.2.2/docs/UpdateStructuredProjectRequest.md +8 -8
- numind-0.2.1/docs/UpdateProjectSettingsRequest.md → numind-0.2.2/docs/UpdateStructuredProjectSettingsRequest.md +8 -8
- {numind-0.2.1 → numind-0.2.2}/pyproject.toml +2 -2
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/pyproject_base.toml +1 -1
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/__init__.py +31 -21
- numind-0.2.1/src/numind/models/markdown_response.py → numind-0.2.2/src/numind/models/content_extraction_response.py +12 -9
- numind-0.2.1/src/numind/models/markdown_project_response.py → numind-0.2.2/src/numind/models/content_project_response.py +12 -11
- numind-0.2.1/src/numind/models/markdown_project_settings_response.py → numind-0.2.2/src/numind/models/content_project_settings_response.py +8 -7
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/convert_request.py +5 -4
- numind-0.2.2/src/numind/models/create_content_project_request.py +87 -0
- numind-0.2.1/src/numind/models/create_or_update_example_request.py → numind-0.2.2/src/numind/models/create_or_update_structured_example_request.py +8 -7
- numind-0.2.1/src/numind/models/create_project_request.py → numind-0.2.2/src/numind/models/create_structured_project_request.py +8 -14
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/document_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/error.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/file_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/health_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/image_info.py +5 -4
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/inference_status.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/inference_validation_error.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/invalid_information.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/job_id_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/job_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/job_status_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/paginated_response_job_response.py +4 -3
- numind-0.2.1/src/numind/models/paginated_response_example_response.py → numind-0.2.2/src/numind/models/paginated_response_structured_example_response.py +13 -10
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/service_status.py +4 -3
- numind-0.2.1/src/numind/models/example_response.py → numind-0.2.2/src/numind/models/structured_example_response.py +8 -7
- numind-0.2.1/src/numind/models/extraction_response.py → numind-0.2.2/src/numind/models/structured_extraction_response.py +11 -10
- numind-0.2.1/src/numind/models/inference_example.py → numind-0.2.2/src/numind/models/structured_inference_example.py +8 -7
- numind-0.2.1/src/numind/models/project_response.py → numind-0.2.2/src/numind/models/structured_project_response.py +13 -10
- numind-0.2.1/src/numind/models/project_settings_response.py → numind-0.2.2/src/numind/models/structured_project_settings_response.py +8 -7
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/template_request.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/template_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/text_info.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/text_request.py +4 -3
- numind-0.2.1/src/numind/models/update_markdown_project_request.py → numind-0.2.2/src/numind/models/update_content_project_request.py +8 -7
- numind-0.2.1/src/numind/models/update_markdown_project_settings_request.py → numind-0.2.2/src/numind/models/update_content_project_settings_request.py +14 -11
- numind-0.2.1/src/numind/models/update_project_request.py → numind-0.2.2/src/numind/models/update_structured_project_request.py +8 -7
- numind-0.2.1/src/numind/models/update_project_settings_request.py → numind-0.2.2/src/numind/models/update_structured_project_settings_request.py +14 -11
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/valid_information.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/version_response.py +4 -3
- {numind-0.2.1 → numind-0.2.2}/src/numind/numind.py +36 -42
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/__init__.py +56 -46
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/content_extraction_api.py +75 -15
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/content_extraction_project_management_api.py +339 -220
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/documents_api.py +113 -23
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/files_api.py +116 -26
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/inference_api.py +237 -91
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/jobs_api.py +90 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/structured_data_extraction_api.py +143 -79
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/structured_extraction_examples_api.py +411 -269
- numind-0.2.2/src/numind/openapi_client/api/structured_extraction_project_management_api.py +3533 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/template_generation_api.py +66 -6
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api_client.py +7 -2
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/configuration.py +42 -18
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/__init__.py +56 -46
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/content_extraction_api.py +75 -15
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/content_extraction_project_management_api.py +339 -220
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/documents_api.py +113 -23
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/files_api.py +116 -26
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/inference_api.py +237 -91
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/jobs_api.py +90 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/structured_data_extraction_api.py +143 -79
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/structured_extraction_examples_api.py +411 -269
- numind-0.2.2/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +3533 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/template_generation_api.py +66 -6
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api_client.py +7 -2
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/configuration.py +40 -15
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/rest.py +13 -8
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_content_extraction_project_management_api.py +6 -10
- numind-0.2.1/tests/openapi_client_async/test_markdown_response.py → numind-0.2.2/tests/openapi_client/test_content_extraction_response.py +11 -11
- numind-0.2.1/tests/openapi_client_async/test_markdown_project_response.py → numind-0.2.2/tests/openapi_client/test_content_project_response.py +15 -15
- numind-0.2.1/tests/openapi_client/test_markdown_project_settings_response.py → numind-0.2.2/tests/openapi_client/test_content_project_settings_response.py +14 -14
- {numind-0.2.1/tests/openapi_client_async → numind-0.2.2/tests/openapi_client}/test_convert_request.py +2 -2
- numind-0.2.2/tests/openapi_client/test_create_content_project_request.py +55 -0
- numind-0.2.1/tests/openapi_client_async/test_create_or_update_example_request.py → numind-0.2.2/tests/openapi_client/test_create_or_update_structured_example_request.py +13 -11
- numind-0.2.1/tests/openapi_client/test_create_project_request.py → numind-0.2.2/tests/openapi_client/test_create_structured_project_request.py +14 -13
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_document_info.py +1 -1
- {numind-0.2.1/tests/openapi_client_async → numind-0.2.2/tests/openapi_client}/test_image_info.py +1 -1
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_inference_api.py +6 -8
- numind-0.2.1/tests/openapi_client_async/test_paginated_response_example_response.py → numind-0.2.2/tests/openapi_client/test_paginated_response_structured_example_response.py +15 -13
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_structured_data_extraction_api.py +2 -4
- numind-0.2.1/tests/openapi_client/test_example_response.py → numind-0.2.2/tests/openapi_client/test_structured_example_response.py +11 -11
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_structured_extraction_examples_api.py +10 -14
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_structured_extraction_project_management_api.py +23 -24
- numind-0.2.1/tests/openapi_client_async/test_extraction_response.py → numind-0.2.2/tests/openapi_client/test_structured_extraction_response.py +12 -12
- numind-0.2.1/tests/openapi_client/test_inference_example.py → numind-0.2.2/tests/openapi_client/test_structured_inference_example.py +11 -11
- numind-0.2.1/tests/openapi_client/test_project_response.py → numind-0.2.2/tests/openapi_client/test_structured_project_response.py +15 -15
- numind-0.2.1/tests/openapi_client_async/test_project_settings_response.py → numind-0.2.2/tests/openapi_client/test_structured_project_settings_response.py +15 -13
- numind-0.2.1/tests/openapi_client/test_update_markdown_project_request.py → numind-0.2.2/tests/openapi_client/test_update_content_project_request.py +11 -11
- numind-0.2.1/tests/openapi_client_async/test_update_markdown_project_settings_request.py → numind-0.2.2/tests/openapi_client/test_update_content_project_settings_request.py +13 -13
- numind-0.2.1/tests/openapi_client/test_update_project_request.py → numind-0.2.2/tests/openapi_client/test_update_structured_project_request.py +13 -11
- numind-0.2.1/tests/openapi_client_async/test_update_project_settings_request.py → numind-0.2.2/tests/openapi_client/test_update_structured_project_settings_request.py +14 -12
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_content_extraction_project_management_api.py +6 -10
- numind-0.2.1/tests/openapi_client/test_markdown_response.py → numind-0.2.2/tests/openapi_client_async/test_content_extraction_response.py +11 -11
- numind-0.2.1/tests/openapi_client/test_markdown_project_response.py → numind-0.2.2/tests/openapi_client_async/test_content_project_response.py +15 -15
- numind-0.2.1/tests/openapi_client_async/test_markdown_project_settings_response.py → numind-0.2.2/tests/openapi_client_async/test_content_project_settings_response.py +14 -14
- {numind-0.2.1/tests/openapi_client → numind-0.2.2/tests/openapi_client_async}/test_convert_request.py +2 -2
- numind-0.2.2/tests/openapi_client_async/test_create_content_project_request.py +55 -0
- numind-0.2.1/tests/openapi_client/test_create_or_update_example_request.py → numind-0.2.2/tests/openapi_client_async/test_create_or_update_structured_example_request.py +13 -11
- numind-0.2.1/tests/openapi_client_async/test_create_project_request.py → numind-0.2.2/tests/openapi_client_async/test_create_structured_project_request.py +14 -13
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_document_info.py +1 -1
- {numind-0.2.1/tests/openapi_client → numind-0.2.2/tests/openapi_client_async}/test_image_info.py +1 -1
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_inference_api.py +6 -6
- numind-0.2.1/tests/openapi_client/test_paginated_response_example_response.py → numind-0.2.2/tests/openapi_client_async/test_paginated_response_structured_example_response.py +15 -13
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_structured_data_extraction_api.py +2 -2
- numind-0.2.1/tests/openapi_client_async/test_example_response.py → numind-0.2.2/tests/openapi_client_async/test_structured_example_response.py +11 -11
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_structured_extraction_examples_api.py +10 -10
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_structured_extraction_project_management_api.py +27 -18
- numind-0.2.1/tests/openapi_client/test_extraction_response.py → numind-0.2.2/tests/openapi_client_async/test_structured_extraction_response.py +12 -12
- numind-0.2.1/tests/openapi_client_async/test_inference_example.py → numind-0.2.2/tests/openapi_client_async/test_structured_inference_example.py +11 -11
- numind-0.2.1/tests/openapi_client_async/test_project_response.py → numind-0.2.2/tests/openapi_client_async/test_structured_project_response.py +15 -15
- numind-0.2.1/tests/openapi_client/test_project_settings_response.py → numind-0.2.2/tests/openapi_client_async/test_structured_project_settings_response.py +15 -13
- numind-0.2.1/tests/openapi_client_async/test_update_markdown_project_request.py → numind-0.2.2/tests/openapi_client_async/test_update_content_project_request.py +11 -11
- numind-0.2.1/tests/openapi_client/test_update_markdown_project_settings_request.py → numind-0.2.2/tests/openapi_client_async/test_update_content_project_settings_request.py +13 -13
- numind-0.2.1/tests/openapi_client_async/test_update_project_request.py → numind-0.2.2/tests/openapi_client_async/test_update_structured_project_request.py +13 -11
- numind-0.2.1/tests/openapi_client/test_update_project_settings_request.py → numind-0.2.2/tests/openapi_client_async/test_update_structured_project_settings_request.py +14 -12
- {numind-0.2.1 → numind-0.2.2}/tests/test_project.py +5 -5
- numind-0.2.1/docs/CreateMarkdownProjectRequest.md +0 -31
- numind-0.2.1/docs/CreateOrUpdateExampleRequest.md +0 -30
- numind-0.2.1/docs/PaginatedResponseExampleResponse.md +0 -32
- numind-0.2.1/docs/StructuredExtractionProjectManagementApi.md +0 -801
- numind-0.2.1/docs/UpdateMarkdownProjectRequest.md +0 -30
- numind-0.2.1/src/numind/models/create_markdown_project_request.py +0 -95
- numind-0.2.1/src/numind/openapi_client/api/structured_extraction_project_management_api.py +0 -2410
- numind-0.2.1/src/numind/openapi_client_async/api/structured_extraction_project_management_api.py +0 -2410
- numind-0.2.1/tests/openapi_client/test_create_markdown_project_request.py +0 -56
- numind-0.2.1/tests/openapi_client_async/test_create_markdown_project_request.py +0 -56
- {numind-0.2.1 → numind-0.2.2}/.github/codecov.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.github/dependabot.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.github/workflows/lint.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.github/workflows/sdk-auto-update.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.github/workflows/tests.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
- {numind-0.2.1 → numind-0.2.2}/.gitignore +0 -0
- {numind-0.2.1 → numind-0.2.2}/LICENSE +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/ConvertRequest.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/DefaultApi.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/DocumentInfo.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/DocumentResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/Error.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/FileResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/HealthResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/ImageInfo.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/InferenceStatus.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/InferenceValidationError.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/InformationResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/InvalidInformation.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/JobIdResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/JobResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/JobStatusResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/PaginatedResponseJobResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/ServiceStatus.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/TemplateRequest.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/TemplateResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/TextInfo.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/TextRequest.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/ValidInformation.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/docs/VersionResponse.md +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/.openapi-generator-ignore +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/adapt_openapi_client_init.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/adapt_pyproject.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/collate_documentation_readme.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/config.json +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/gen_sdk.sh +0 -0
- {numind-0.2.1 → numind-0.2.2}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/api_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/constants.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/exceptions.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/document_info.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/models/information_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/api/default_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/py.typed +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client/rest.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/api/default_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/src/numind/openapi_client_async/py.typed +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/conftest.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_content_extraction_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_default_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_document_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_documents_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_error.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_file_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_files_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_health_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_inference_status.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_inference_validation_error.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_information_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_invalid_information.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_job_id_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_job_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_job_status_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_jobs_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_paginated_response_job_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_service_status.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_template_generation_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_template_request.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_template_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_text_info.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_text_request.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_valid_information.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client/test_version_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/__init__.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_content_extraction_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_default_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_document_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_documents_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_error.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_file_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_files_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_health_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_inference_status.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_inference_validation_error.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_information_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_invalid_information.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_job_id_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_job_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_job_status_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_jobs_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_paginated_response_job_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_service_status.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_template_generation_api.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_template_request.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_template_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_text_info.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_text_request.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_valid_information.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/openapi_client_async/test_version_response.py +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_cases/vacation/examples.csv +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_cases/vacation/files/tahiti.docx +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_cases/vacation/schema.json +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_cases/vacation/texts.csv +0 -0
- {numind-0.2.1 → numind-0.2.2}/tests/test_numarkdown.py +0 -0
|
@@ -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@
|
|
32
|
+
uses: actions/upload-artifact@v7
|
|
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@
|
|
50
|
+
uses: actions/download-artifact@v8
|
|
51
51
|
with:
|
|
52
52
|
name: python-package-distributions
|
|
53
53
|
path: dist/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numind
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.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
|
|
@@ -45,7 +45,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
45
45
|
Requires-Python: >=3.9
|
|
46
46
|
Requires-Dist: aiohttp-retry>=2.8.3
|
|
47
47
|
Requires-Dist: aiohttp>=3.8.4
|
|
48
|
-
Requires-Dist: pydantic>=2
|
|
48
|
+
Requires-Dist: pydantic>=2.11
|
|
49
49
|
Requires-Dist: python-dateutil>=2.8.2
|
|
50
50
|
Requires-Dist: typing-extensions>=4.7.1
|
|
51
51
|
Requires-Dist: urllib3
|
|
@@ -334,7 +334,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
|
|
334
334
|
|
|
335
335
|
- API version:
|
|
336
336
|
- Package version: 1.0.0
|
|
337
|
-
- Generator version: 7.
|
|
337
|
+
- Generator version: 7.21.0
|
|
338
338
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
339
339
|
|
|
340
340
|
### Documentation for API Endpoints
|
|
@@ -346,10 +346,10 @@ Class | Method | HTTP request | Description
|
|
|
346
346
|
*ContentExtractionApi* | [**get_api_content_extraction_jobs_contentextractionjobid**](docs/ContentExtractionApi.md#get_api_content_extraction_jobs_contentextractionjobid) | **GET** /api/content-extraction/jobs/{contentExtractionJobId} |
|
|
347
347
|
*ContentExtractionApi* | [**post_api_content_extraction_jobs**](docs/ContentExtractionApi.md#post_api_content_extraction_jobs) | **POST** /api/content-extraction/jobs |
|
|
348
348
|
*ContentExtractionProjectManagementApi* | [**get_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#get_api_content_extraction) | **GET** /api/content-extraction |
|
|
349
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
350
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
349
|
+
*ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentprojectid**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentprojectid) | **PATCH** /api/content-extraction/{contentProjectId} |
|
|
350
|
+
*ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentprojectid_settings**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentprojectid_settings) | **PATCH** /api/content-extraction/{contentProjectId}/settings |
|
|
351
351
|
*ContentExtractionProjectManagementApi* | [**post_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction) | **POST** /api/content-extraction |
|
|
352
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
352
|
+
*ContentExtractionProjectManagementApi* | [**post_api_content_extraction_contentprojectid_reset_settings**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction_contentprojectid_reset_settings) | **POST** /api/content-extraction/{contentProjectId}/reset-settings |
|
|
353
353
|
*DefaultApi* | [**get_api_debug_status_code**](docs/DefaultApi.md#get_api_debug_status_code) | **GET** /api/debug/status/{code} |
|
|
354
354
|
*DefaultApi* | [**get_api_health**](docs/DefaultApi.md#get_api_health) | **GET** /api/health |
|
|
355
355
|
*DefaultApi* | [**get_api_inference_status**](docs/DefaultApi.md#get_api_inference_status) | **GET** /api/inference-status |
|
|
@@ -363,49 +363,52 @@ Class | Method | HTTP request | Description
|
|
|
363
363
|
*FilesApi* | [**get_api_files_fileid_content**](docs/FilesApi.md#get_api_files_fileid_content) | **GET** /api/files/{fileId}/content |
|
|
364
364
|
*FilesApi* | [**post_api_files**](docs/FilesApi.md#post_api_files) | **POST** /api/files |
|
|
365
365
|
*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 |
|
|
366
|
-
*InferenceApi* | [**
|
|
367
|
-
*InferenceApi* | [**
|
|
368
|
-
*InferenceApi* | [**
|
|
366
|
+
*InferenceApi* | [**post_api_content_extraction_contentprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_content_extraction_contentprojectid_jobs_document_documentid) | **POST** /api/content-extraction/{contentProjectId}/jobs/document/{documentId} |
|
|
367
|
+
*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} |
|
|
368
|
+
*InferenceApi* | [**post_api_structured_extraction_structuredprojectid_jobs_text**](docs/InferenceApi.md#post_api_structured_extraction_structuredprojectid_jobs_text) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/text |
|
|
369
369
|
*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} |
|
|
370
370
|
*InferenceApi* | [**post_api_template_generation_jobs_text**](docs/InferenceApi.md#post_api_template_generation_jobs_text) | **POST** /api/template-generation/jobs/text |
|
|
371
371
|
*JobsApi* | [**get_api_jobs**](docs/JobsApi.md#get_api_jobs) | **GET** /api/jobs |
|
|
372
372
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
373
373
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
374
374
|
*StructuredDataExtractionApi* | [**get_api_structured_extraction_jobs_structuredextractionjobid**](docs/StructuredDataExtractionApi.md#get_api_structured_extraction_jobs_structuredextractionjobid) | **GET** /api/structured-extraction/jobs/{structuredExtractionJobId} |
|
|
375
|
-
*StructuredDataExtractionApi* | [**
|
|
376
|
-
*StructuredExtractionExamplesApi* | [**
|
|
377
|
-
*StructuredExtractionExamplesApi* | [**
|
|
378
|
-
*StructuredExtractionExamplesApi* | [**
|
|
379
|
-
*StructuredExtractionExamplesApi* | [**
|
|
380
|
-
*StructuredExtractionExamplesApi* | [**
|
|
381
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
375
|
+
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs) | **POST** /api/structured-extraction/{structuredProjectId}/jobs |
|
|
376
|
+
*StructuredExtractionExamplesApi* | [**delete_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#delete_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **DELETE** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
377
|
+
*StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredprojectid_examples**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredprojectid_examples) | **GET** /api/structured-extraction/{structuredProjectId}/examples |
|
|
378
|
+
*StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **GET** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
379
|
+
*StructuredExtractionExamplesApi* | [**post_api_structured_extraction_structuredprojectid_examples**](docs/StructuredExtractionExamplesApi.md#post_api_structured_extraction_structuredprojectid_examples) | **POST** /api/structured-extraction/{structuredProjectId}/examples |
|
|
380
|
+
*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} |
|
|
381
|
+
*StructuredExtractionProjectManagementApi* | [**delete_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#delete_api_structured_extraction_structuredprojectid) | **DELETE** /api/structured-extraction/{structuredProjectId} |
|
|
382
382
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction) | **GET** /api/structured-extraction |
|
|
383
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
384
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
385
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
383
|
+
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid) | **GET** /api/structured-extraction/{structuredProjectId} |
|
|
384
|
+
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid) | **PATCH** /api/structured-extraction/{structuredProjectId} |
|
|
385
|
+
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid_settings**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid_settings) | **PATCH** /api/structured-extraction/{structuredProjectId}/settings |
|
|
386
386
|
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction) | **POST** /api/structured-extraction |
|
|
387
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
388
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
389
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
387
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_duplicate**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_duplicate) | **POST** /api/structured-extraction/{structuredProjectId}/duplicate |
|
|
388
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_lock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_lock) | **POST** /api/structured-extraction/{structuredProjectId}/lock |
|
|
389
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_reset_settings**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_reset_settings) | **POST** /api/structured-extraction/{structuredProjectId}/reset-settings |
|
|
390
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_share**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_share) | **POST** /api/structured-extraction/{structuredProjectId}/share |
|
|
391
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_unlock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_unlock) | **POST** /api/structured-extraction/{structuredProjectId}/unlock |
|
|
392
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_unshare**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_unshare) | **POST** /api/structured-extraction/{structuredProjectId}/unshare |
|
|
390
393
|
*TemplateGenerationApi* | [**get_api_template_generation_jobs_templatejobid**](docs/TemplateGenerationApi.md#get_api_template_generation_jobs_templatejobid) | **GET** /api/template-generation/jobs/{templateJobId} |
|
|
391
394
|
*TemplateGenerationApi* | [**post_api_template_generation_jobs**](docs/TemplateGenerationApi.md#post_api_template_generation_jobs) | **POST** /api/template-generation/jobs |
|
|
392
395
|
|
|
393
396
|
|
|
394
397
|
### Documentation For Models
|
|
395
398
|
|
|
399
|
+
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
400
|
+
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
401
|
+
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
396
402
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
397
|
-
- [
|
|
398
|
-
- [
|
|
399
|
-
- [
|
|
403
|
+
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
404
|
+
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
405
|
+
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
400
406
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
401
407
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
402
408
|
- [Error](docs/Error.md)
|
|
403
|
-
- [ExampleResponse](docs/ExampleResponse.md)
|
|
404
|
-
- [ExtractionResponse](docs/ExtractionResponse.md)
|
|
405
409
|
- [FileResponse](docs/FileResponse.md)
|
|
406
410
|
- [HealthResponse](docs/HealthResponse.md)
|
|
407
411
|
- [ImageInfo](docs/ImageInfo.md)
|
|
408
|
-
- [InferenceExample](docs/InferenceExample.md)
|
|
409
412
|
- [InferenceStatus](docs/InferenceStatus.md)
|
|
410
413
|
- [InferenceValidationError](docs/InferenceValidationError.md)
|
|
411
414
|
- [InformationResponse](docs/InformationResponse.md)
|
|
@@ -413,22 +416,22 @@ Class | Method | HTTP request | Description
|
|
|
413
416
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
414
417
|
- [JobResponse](docs/JobResponse.md)
|
|
415
418
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
416
|
-
- [MarkdownProjectResponse](docs/MarkdownProjectResponse.md)
|
|
417
|
-
- [MarkdownProjectSettingsResponse](docs/MarkdownProjectSettingsResponse.md)
|
|
418
|
-
- [MarkdownResponse](docs/MarkdownResponse.md)
|
|
419
|
-
- [PaginatedResponseExampleResponse](docs/PaginatedResponseExampleResponse.md)
|
|
420
419
|
- [PaginatedResponseJobResponse](docs/PaginatedResponseJobResponse.md)
|
|
421
|
-
- [
|
|
422
|
-
- [ProjectSettingsResponse](docs/ProjectSettingsResponse.md)
|
|
420
|
+
- [PaginatedResponseStructuredExampleResponse](docs/PaginatedResponseStructuredExampleResponse.md)
|
|
423
421
|
- [ServiceStatus](docs/ServiceStatus.md)
|
|
422
|
+
- [StructuredExampleResponse](docs/StructuredExampleResponse.md)
|
|
423
|
+
- [StructuredExtractionResponse](docs/StructuredExtractionResponse.md)
|
|
424
|
+
- [StructuredInferenceExample](docs/StructuredInferenceExample.md)
|
|
425
|
+
- [StructuredProjectResponse](docs/StructuredProjectResponse.md)
|
|
426
|
+
- [StructuredProjectSettingsResponse](docs/StructuredProjectSettingsResponse.md)
|
|
424
427
|
- [TemplateRequest](docs/TemplateRequest.md)
|
|
425
428
|
- [TemplateResponse](docs/TemplateResponse.md)
|
|
426
429
|
- [TextInfo](docs/TextInfo.md)
|
|
427
430
|
- [TextRequest](docs/TextRequest.md)
|
|
428
|
-
- [
|
|
429
|
-
- [
|
|
430
|
-
- [
|
|
431
|
-
- [
|
|
431
|
+
- [UpdateContentProjectRequest](docs/UpdateContentProjectRequest.md)
|
|
432
|
+
- [UpdateContentProjectSettingsRequest](docs/UpdateContentProjectSettingsRequest.md)
|
|
433
|
+
- [UpdateStructuredProjectRequest](docs/UpdateStructuredProjectRequest.md)
|
|
434
|
+
- [UpdateStructuredProjectSettingsRequest](docs/UpdateStructuredProjectSettingsRequest.md)
|
|
432
435
|
- [ValidInformation](docs/ValidInformation.md)
|
|
433
436
|
- [VersionResponse](docs/VersionResponse.md)
|
|
434
437
|
|
|
@@ -271,7 +271,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
|
|
271
271
|
|
|
272
272
|
- API version:
|
|
273
273
|
- Package version: 1.0.0
|
|
274
|
-
- Generator version: 7.
|
|
274
|
+
- Generator version: 7.21.0
|
|
275
275
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
276
276
|
|
|
277
277
|
### Documentation for API Endpoints
|
|
@@ -283,10 +283,10 @@ Class | Method | HTTP request | Description
|
|
|
283
283
|
*ContentExtractionApi* | [**get_api_content_extraction_jobs_contentextractionjobid**](docs/ContentExtractionApi.md#get_api_content_extraction_jobs_contentextractionjobid) | **GET** /api/content-extraction/jobs/{contentExtractionJobId} |
|
|
284
284
|
*ContentExtractionApi* | [**post_api_content_extraction_jobs**](docs/ContentExtractionApi.md#post_api_content_extraction_jobs) | **POST** /api/content-extraction/jobs |
|
|
285
285
|
*ContentExtractionProjectManagementApi* | [**get_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#get_api_content_extraction) | **GET** /api/content-extraction |
|
|
286
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
287
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
286
|
+
*ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentprojectid**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentprojectid) | **PATCH** /api/content-extraction/{contentProjectId} |
|
|
287
|
+
*ContentExtractionProjectManagementApi* | [**patch_api_content_extraction_contentprojectid_settings**](docs/ContentExtractionProjectManagementApi.md#patch_api_content_extraction_contentprojectid_settings) | **PATCH** /api/content-extraction/{contentProjectId}/settings |
|
|
288
288
|
*ContentExtractionProjectManagementApi* | [**post_api_content_extraction**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction) | **POST** /api/content-extraction |
|
|
289
|
-
*ContentExtractionProjectManagementApi* | [**
|
|
289
|
+
*ContentExtractionProjectManagementApi* | [**post_api_content_extraction_contentprojectid_reset_settings**](docs/ContentExtractionProjectManagementApi.md#post_api_content_extraction_contentprojectid_reset_settings) | **POST** /api/content-extraction/{contentProjectId}/reset-settings |
|
|
290
290
|
*DefaultApi* | [**get_api_debug_status_code**](docs/DefaultApi.md#get_api_debug_status_code) | **GET** /api/debug/status/{code} |
|
|
291
291
|
*DefaultApi* | [**get_api_health**](docs/DefaultApi.md#get_api_health) | **GET** /api/health |
|
|
292
292
|
*DefaultApi* | [**get_api_inference_status**](docs/DefaultApi.md#get_api_inference_status) | **GET** /api/inference-status |
|
|
@@ -300,49 +300,52 @@ Class | Method | HTTP request | Description
|
|
|
300
300
|
*FilesApi* | [**get_api_files_fileid_content**](docs/FilesApi.md#get_api_files_fileid_content) | **GET** /api/files/{fileId}/content |
|
|
301
301
|
*FilesApi* | [**post_api_files**](docs/FilesApi.md#post_api_files) | **POST** /api/files |
|
|
302
302
|
*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 |
|
|
303
|
-
*InferenceApi* | [**
|
|
304
|
-
*InferenceApi* | [**
|
|
305
|
-
*InferenceApi* | [**
|
|
303
|
+
*InferenceApi* | [**post_api_content_extraction_contentprojectid_jobs_document_documentid**](docs/InferenceApi.md#post_api_content_extraction_contentprojectid_jobs_document_documentid) | **POST** /api/content-extraction/{contentProjectId}/jobs/document/{documentId} |
|
|
304
|
+
*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} |
|
|
305
|
+
*InferenceApi* | [**post_api_structured_extraction_structuredprojectid_jobs_text**](docs/InferenceApi.md#post_api_structured_extraction_structuredprojectid_jobs_text) | **POST** /api/structured-extraction/{structuredProjectId}/jobs/text |
|
|
306
306
|
*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} |
|
|
307
307
|
*InferenceApi* | [**post_api_template_generation_jobs_text**](docs/InferenceApi.md#post_api_template_generation_jobs_text) | **POST** /api/template-generation/jobs/text |
|
|
308
308
|
*JobsApi* | [**get_api_jobs**](docs/JobsApi.md#get_api_jobs) | **GET** /api/jobs |
|
|
309
309
|
*JobsApi* | [**get_api_jobs_jobid_status**](docs/JobsApi.md#get_api_jobs_jobid_status) | **GET** /api/jobs/{jobId}/status |
|
|
310
310
|
*JobsApi* | [**get_api_jobs_jobid_stream**](docs/JobsApi.md#get_api_jobs_jobid_stream) | **GET** /api/jobs/{jobId}/stream |
|
|
311
311
|
*StructuredDataExtractionApi* | [**get_api_structured_extraction_jobs_structuredextractionjobid**](docs/StructuredDataExtractionApi.md#get_api_structured_extraction_jobs_structuredextractionjobid) | **GET** /api/structured-extraction/jobs/{structuredExtractionJobId} |
|
|
312
|
-
*StructuredDataExtractionApi* | [**
|
|
313
|
-
*StructuredExtractionExamplesApi* | [**
|
|
314
|
-
*StructuredExtractionExamplesApi* | [**
|
|
315
|
-
*StructuredExtractionExamplesApi* | [**
|
|
316
|
-
*StructuredExtractionExamplesApi* | [**
|
|
317
|
-
*StructuredExtractionExamplesApi* | [**
|
|
318
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
312
|
+
*StructuredDataExtractionApi* | [**post_api_structured_extraction_structuredprojectid_jobs**](docs/StructuredDataExtractionApi.md#post_api_structured_extraction_structuredprojectid_jobs) | **POST** /api/structured-extraction/{structuredProjectId}/jobs |
|
|
313
|
+
*StructuredExtractionExamplesApi* | [**delete_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#delete_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **DELETE** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
314
|
+
*StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredprojectid_examples**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredprojectid_examples) | **GET** /api/structured-extraction/{structuredProjectId}/examples |
|
|
315
|
+
*StructuredExtractionExamplesApi* | [**get_api_structured_extraction_structuredprojectid_examples_structuredexampleid**](docs/StructuredExtractionExamplesApi.md#get_api_structured_extraction_structuredprojectid_examples_structuredexampleid) | **GET** /api/structured-extraction/{structuredProjectId}/examples/{structuredExampleId} |
|
|
316
|
+
*StructuredExtractionExamplesApi* | [**post_api_structured_extraction_structuredprojectid_examples**](docs/StructuredExtractionExamplesApi.md#post_api_structured_extraction_structuredprojectid_examples) | **POST** /api/structured-extraction/{structuredProjectId}/examples |
|
|
317
|
+
*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} |
|
|
318
|
+
*StructuredExtractionProjectManagementApi* | [**delete_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#delete_api_structured_extraction_structuredprojectid) | **DELETE** /api/structured-extraction/{structuredProjectId} |
|
|
319
319
|
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction) | **GET** /api/structured-extraction |
|
|
320
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
321
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
322
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
320
|
+
*StructuredExtractionProjectManagementApi* | [**get_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#get_api_structured_extraction_structuredprojectid) | **GET** /api/structured-extraction/{structuredProjectId} |
|
|
321
|
+
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid) | **PATCH** /api/structured-extraction/{structuredProjectId} |
|
|
322
|
+
*StructuredExtractionProjectManagementApi* | [**patch_api_structured_extraction_structuredprojectid_settings**](docs/StructuredExtractionProjectManagementApi.md#patch_api_structured_extraction_structuredprojectid_settings) | **PATCH** /api/structured-extraction/{structuredProjectId}/settings |
|
|
323
323
|
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction) | **POST** /api/structured-extraction |
|
|
324
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
325
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
326
|
-
*StructuredExtractionProjectManagementApi* | [**
|
|
324
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_duplicate**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_duplicate) | **POST** /api/structured-extraction/{structuredProjectId}/duplicate |
|
|
325
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_lock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_lock) | **POST** /api/structured-extraction/{structuredProjectId}/lock |
|
|
326
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_reset_settings**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_reset_settings) | **POST** /api/structured-extraction/{structuredProjectId}/reset-settings |
|
|
327
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_share**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_share) | **POST** /api/structured-extraction/{structuredProjectId}/share |
|
|
328
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_unlock**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_unlock) | **POST** /api/structured-extraction/{structuredProjectId}/unlock |
|
|
329
|
+
*StructuredExtractionProjectManagementApi* | [**post_api_structured_extraction_structuredprojectid_unshare**](docs/StructuredExtractionProjectManagementApi.md#post_api_structured_extraction_structuredprojectid_unshare) | **POST** /api/structured-extraction/{structuredProjectId}/unshare |
|
|
327
330
|
*TemplateGenerationApi* | [**get_api_template_generation_jobs_templatejobid**](docs/TemplateGenerationApi.md#get_api_template_generation_jobs_templatejobid) | **GET** /api/template-generation/jobs/{templateJobId} |
|
|
328
331
|
*TemplateGenerationApi* | [**post_api_template_generation_jobs**](docs/TemplateGenerationApi.md#post_api_template_generation_jobs) | **POST** /api/template-generation/jobs |
|
|
329
332
|
|
|
330
333
|
|
|
331
334
|
### Documentation For Models
|
|
332
335
|
|
|
336
|
+
- [ContentExtractionResponse](docs/ContentExtractionResponse.md)
|
|
337
|
+
- [ContentProjectResponse](docs/ContentProjectResponse.md)
|
|
338
|
+
- [ContentProjectSettingsResponse](docs/ContentProjectSettingsResponse.md)
|
|
333
339
|
- [ConvertRequest](docs/ConvertRequest.md)
|
|
334
|
-
- [
|
|
335
|
-
- [
|
|
336
|
-
- [
|
|
340
|
+
- [CreateContentProjectRequest](docs/CreateContentProjectRequest.md)
|
|
341
|
+
- [CreateOrUpdateStructuredExampleRequest](docs/CreateOrUpdateStructuredExampleRequest.md)
|
|
342
|
+
- [CreateStructuredProjectRequest](docs/CreateStructuredProjectRequest.md)
|
|
337
343
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
338
344
|
- [DocumentResponse](docs/DocumentResponse.md)
|
|
339
345
|
- [Error](docs/Error.md)
|
|
340
|
-
- [ExampleResponse](docs/ExampleResponse.md)
|
|
341
|
-
- [ExtractionResponse](docs/ExtractionResponse.md)
|
|
342
346
|
- [FileResponse](docs/FileResponse.md)
|
|
343
347
|
- [HealthResponse](docs/HealthResponse.md)
|
|
344
348
|
- [ImageInfo](docs/ImageInfo.md)
|
|
345
|
-
- [InferenceExample](docs/InferenceExample.md)
|
|
346
349
|
- [InferenceStatus](docs/InferenceStatus.md)
|
|
347
350
|
- [InferenceValidationError](docs/InferenceValidationError.md)
|
|
348
351
|
- [InformationResponse](docs/InformationResponse.md)
|
|
@@ -350,22 +353,22 @@ Class | Method | HTTP request | Description
|
|
|
350
353
|
- [JobIdResponse](docs/JobIdResponse.md)
|
|
351
354
|
- [JobResponse](docs/JobResponse.md)
|
|
352
355
|
- [JobStatusResponse](docs/JobStatusResponse.md)
|
|
353
|
-
- [MarkdownProjectResponse](docs/MarkdownProjectResponse.md)
|
|
354
|
-
- [MarkdownProjectSettingsResponse](docs/MarkdownProjectSettingsResponse.md)
|
|
355
|
-
- [MarkdownResponse](docs/MarkdownResponse.md)
|
|
356
|
-
- [PaginatedResponseExampleResponse](docs/PaginatedResponseExampleResponse.md)
|
|
357
356
|
- [PaginatedResponseJobResponse](docs/PaginatedResponseJobResponse.md)
|
|
358
|
-
- [
|
|
359
|
-
- [ProjectSettingsResponse](docs/ProjectSettingsResponse.md)
|
|
357
|
+
- [PaginatedResponseStructuredExampleResponse](docs/PaginatedResponseStructuredExampleResponse.md)
|
|
360
358
|
- [ServiceStatus](docs/ServiceStatus.md)
|
|
359
|
+
- [StructuredExampleResponse](docs/StructuredExampleResponse.md)
|
|
360
|
+
- [StructuredExtractionResponse](docs/StructuredExtractionResponse.md)
|
|
361
|
+
- [StructuredInferenceExample](docs/StructuredInferenceExample.md)
|
|
362
|
+
- [StructuredProjectResponse](docs/StructuredProjectResponse.md)
|
|
363
|
+
- [StructuredProjectSettingsResponse](docs/StructuredProjectSettingsResponse.md)
|
|
361
364
|
- [TemplateRequest](docs/TemplateRequest.md)
|
|
362
365
|
- [TemplateResponse](docs/TemplateResponse.md)
|
|
363
366
|
- [TextInfo](docs/TextInfo.md)
|
|
364
367
|
- [TextRequest](docs/TextRequest.md)
|
|
365
|
-
- [
|
|
366
|
-
- [
|
|
367
|
-
- [
|
|
368
|
-
- [
|
|
368
|
+
- [UpdateContentProjectRequest](docs/UpdateContentProjectRequest.md)
|
|
369
|
+
- [UpdateContentProjectSettingsRequest](docs/UpdateContentProjectSettingsRequest.md)
|
|
370
|
+
- [UpdateStructuredProjectRequest](docs/UpdateStructuredProjectRequest.md)
|
|
371
|
+
- [UpdateStructuredProjectSettingsRequest](docs/UpdateStructuredProjectSettingsRequest.md)
|
|
369
372
|
- [ValidInformation](docs/ValidInformation.md)
|
|
370
373
|
- [VersionResponse](docs/VersionResponse.md)
|
|
371
374
|
|
|
@@ -9,7 +9,7 @@ Method | HTTP request | Description
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
# **get_api_content_extraction_jobs_contentextractionjobid**
|
|
12
|
-
>
|
|
12
|
+
> ContentExtractionResponse get_api_content_extraction_jobs_contentextractionjobid(content_extraction_job_id, x_organization_id=x_organization_id)
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Get content extraction result of a specific job by its unique identifier.
|
|
@@ -29,7 +29,7 @@ Method | HTTP request | Description
|
|
|
29
29
|
|
|
30
30
|
```python
|
|
31
31
|
import numind.openapi_client
|
|
32
|
-
from numind.models.
|
|
32
|
+
from numind.models.content_extraction_response import ContentExtractionResponse
|
|
33
33
|
from numind.openapi_client.rest import ApiException
|
|
34
34
|
from pprint import pprint
|
|
35
35
|
|
|
@@ -51,9 +51,10 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
51
51
|
# Create an instance of the API class
|
|
52
52
|
api_instance = numind.openapi_client.ContentExtractionApi(api_client)
|
|
53
53
|
content_extraction_job_id = 'content_extraction_job_id_example' # str | Unique content extraction job identifier.
|
|
54
|
+
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)
|
|
54
55
|
|
|
55
56
|
try:
|
|
56
|
-
api_response = api_instance.get_api_content_extraction_jobs_contentextractionjobid(content_extraction_job_id)
|
|
57
|
+
api_response = api_instance.get_api_content_extraction_jobs_contentextractionjobid(content_extraction_job_id, x_organization_id=x_organization_id)
|
|
57
58
|
print("The response of ContentExtractionApi->get_api_content_extraction_jobs_contentextractionjobid:\n")
|
|
58
59
|
pprint(api_response)
|
|
59
60
|
except Exception as e:
|
|
@@ -68,10 +69,11 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
68
69
|
Name | Type | Description | Notes
|
|
69
70
|
------------- | ------------- | ------------- | -------------
|
|
70
71
|
**content_extraction_job_id** | **str**| Unique content extraction job identifier. |
|
|
72
|
+
**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]
|
|
71
73
|
|
|
72
74
|
### Return type
|
|
73
75
|
|
|
74
|
-
[**
|
|
76
|
+
[**ContentExtractionResponse**](ContentExtractionResponse.md)
|
|
75
77
|
|
|
76
78
|
### Authorization
|
|
77
79
|
|
|
@@ -92,11 +94,11 @@ Name | Type | Description | Notes
|
|
|
92
94
|
[[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)
|
|
93
95
|
|
|
94
96
|
# **post_api_content_extraction_jobs**
|
|
95
|
-
> JobIdResponse post_api_content_extraction_jobs(file, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, timeout=timeout)
|
|
97
|
+
> JobIdResponse post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, timeout=timeout)
|
|
96
98
|
|
|
97
99
|
|
|
98
|
-
Extract
|
|
99
|
-
The response contains
|
|
100
|
+
Extract content from the provided file in markdown format as an async job.
|
|
101
|
+
The response contains extracted markdown together with the reasoning trace.
|
|
100
102
|
The model only accepts images. Therefore, some files are converted to images -
|
|
101
103
|
the **rasterizationDPI** parameter controls their resolution.
|
|
102
104
|
|
|
@@ -137,14 +139,15 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
137
139
|
with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
138
140
|
# Create an instance of the API class
|
|
139
141
|
api_instance = numind.openapi_client.ContentExtractionApi(api_client)
|
|
140
|
-
file = None #
|
|
142
|
+
file = None # bytes |
|
|
143
|
+
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)
|
|
141
144
|
temperature = 3.4 # float | Model temperature (optional). Controls output diversity. Ranges between 0 and 1. If not specified, the default value 0.0 is used. (optional)
|
|
142
145
|
rasterization_dpi = 56 # int | Resolution used to convert formatted documents (PDFs, etc.) to images, in dot per inch (optional). Ranges between 1 and 300. If not specified, the default value 170 dpi is used. (optional)
|
|
143
146
|
max_output_tokens = 56 # int | Maximum number of output tokens (optional). Must be positive. Set to 0 for no limit by default. (optional)
|
|
144
147
|
timeout = 'timeout_example' # str | Max time to wait for the processing completion. Format examples: 1000ms, 10s, 1m, 1h (optional)
|
|
145
148
|
|
|
146
149
|
try:
|
|
147
|
-
api_response = api_instance.post_api_content_extraction_jobs(file, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, timeout=timeout)
|
|
150
|
+
api_response = api_instance.post_api_content_extraction_jobs(file, x_organization_id=x_organization_id, temperature=temperature, rasterization_dpi=rasterization_dpi, max_output_tokens=max_output_tokens, timeout=timeout)
|
|
148
151
|
print("The response of ContentExtractionApi->post_api_content_extraction_jobs:\n")
|
|
149
152
|
pprint(api_response)
|
|
150
153
|
except Exception as e:
|
|
@@ -158,7 +161,8 @@ with numind.openapi_client.ApiClient(configuration) as api_client:
|
|
|
158
161
|
|
|
159
162
|
Name | Type | Description | Notes
|
|
160
163
|
------------- | ------------- | ------------- | -------------
|
|
161
|
-
**file** | **
|
|
164
|
+
**file** | **bytes**| |
|
|
165
|
+
**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]
|
|
162
166
|
**temperature** | **float**| Model temperature (optional). Controls output diversity. Ranges between 0 and 1. If not specified, the default value 0.0 is used. | [optional]
|
|
163
167
|
**rasterization_dpi** | **int**| Resolution used to convert formatted documents (PDFs, etc.) to images, in dot per inch (optional). Ranges between 1 and 300. If not specified, the default value 170 dpi is used. | [optional]
|
|
164
168
|
**max_output_tokens** | **int**| Maximum number of output tokens (optional). Must be positive. Set to 0 for no limit by default. | [optional]
|