Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,14 @@ Based on:
### Generated
- [python v0.9.1] .
### Releases
- [PyPI v0.9.1] https://pypi.org/project/unstructured-client/0.9.1 - .
- [PyPI v0.9.1] https://pypi.org/project/unstructured-client/0.9.1 - .

## 2023-10-18 00:18:19
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.10.0] .
### Releases
- [PyPI v0.10.0] https://pypi.org/project/unstructured-client/0.10.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ req = shared.PartitionParameters(
encoding='utf-8',
files=shared.PartitionParametersFiles(
content='+WmI5Q)|yy'.encode(),
files='um',
files='Washington',
),
gz_uncompressed_content_type='application/pdf',
hi_res_model_name='yolox',
Expand Down
2 changes: 1 addition & 1 deletion docs/models/errors/httpvalidationerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `detail` | list[*ValidationError*] | :heavy_minus_sign: | N/A |
| `detail` | List[*ValidationError*] | :heavy_minus_sign: | N/A |
2 changes: 1 addition & 1 deletion docs/models/errors/validationerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `loc` | list[[Union[str, int]](../../models/errors/validationerrorloc.md)] | :heavy_check_mark: | N/A |
| `loc` | List[[Union[str, int]](../../models/errors/validationerrorloc.md)] | :heavy_check_mark: | N/A |
| `msg` | *str* | :heavy_check_mark: | N/A |
| `type` | *str* | :heavy_check_mark: | N/A |
2 changes: 1 addition & 1 deletion docs/models/operations/partitionresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `elements` | list[*Any*] | :heavy_minus_sign: | Successful Response |
| `elements` | List[*Any*] | :heavy_minus_sign: | Successful Response |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
4 changes: 2 additions & 2 deletions docs/models/shared/partitionparameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
| `gz_uncompressed_content_type` | *Optional[str]* | :heavy_minus_sign: | If file is gzipped, use this content type after unzipping | application/pdf |
| `hi_res_model_name` | *Optional[str]* | :heavy_minus_sign: | The name of the inference model used when strategy is hi_res | yolox |
| `include_page_breaks` | *Optional[bool]* | :heavy_minus_sign: | If True, the output will include page breaks if the filetype supports it. Default: false | |
| `languages` | list[*str*] | :heavy_minus_sign: | The languages present in the document, for use in partitioning and/or OCR | [eng] |
| `languages` | List[*str*] | :heavy_minus_sign: | The languages present in the document, for use in partitioning and/or OCR | [eng] |
| `multipage_sections` | *Optional[bool]* | :heavy_minus_sign: | If chunking strategy is set, determines if sections can span multiple sections. Default: true | |
| `new_after_n_chars` | *Optional[int]* | :heavy_minus_sign: | If chunking strategy is set, cut off new sections after reaching a length of n chars. Default: 1500 | 1500 |
| `output_format` | *Optional[str]* | :heavy_minus_sign: | The format of the response. Supported formats are application/json and text/csv. Default: application/json. | application/json |
| `pdf_infer_table_structure` | *Optional[bool]* | :heavy_minus_sign: | If True and strategy=hi_res, any Table Elements extracted from a PDF will include an additional metadata field, 'text_as_html', where the value (string) is a just a transformation of the data into an HTML <table>. | |
| `skip_infer_table_types` | list[*str*] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: ['pdf', 'jpg', 'png'] | pdf |
| `skip_infer_table_types` | List[*str*] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: ['pdf', 'jpg', 'png'] | pdf |
| `strategy` | *Optional[str]* | :heavy_minus_sign: | The strategy to use for partitioning PDF/image. Options are fast, hi_res, auto. Default: auto | hi_res |
| `xml_keep_tags` | *Optional[bool]* | :heavy_minus_sign: | If True, will retain the XML tags in the output. Otherwise it will simply extract the text from within the tags. Only applies to partition_xml. | |
2 changes: 1 addition & 1 deletion docs/sdks/general/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ req = shared.PartitionParameters(
encoding='utf-8',
files=shared.PartitionParametersFiles(
content='+WmI5Q)|yy'.encode(),
files='um',
files='Washington',
),
gz_uncompressed_content_type='application/pdf',
hi_res_model_name='yolox',
Expand Down
Loading