mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-10-13 17:16:09 +00:00
docs: update image block extraction docs (#2578)
This PR removes `extract_image_block_to_payload` section from "API Parameters" page. The "unstructured" API does not support the `extract_image_block_to_payload` parameter, and it is always set to `True` internally on the API side when trying to extract image blocks via the API. Users only need to specify `extract_image_block_types` parameter when extracting image blocks via the API. **NOTE:** The `extract_image_block_to_payload` parameter is only used when calling `partition()`, `partition_pdf()`, and `partition_image()` functions directly. ### Testing CI should pass.
This commit is contained in:
parent
e8ec09c8b9
commit
5cb6504d5a
@ -106,9 +106,3 @@ extract_image_block_types
|
|||||||
- **Type**: array
|
- **Type**: array
|
||||||
- **Description**: The types of image blocks to extract from the document. Supports various Element types.
|
- **Description**: The types of image blocks to extract from the document. Supports various Element types.
|
||||||
- **Example**: ['Image', 'Table']
|
- **Example**: ['Image', 'Table']
|
||||||
|
|
||||||
extract_image_block_to_payload
|
|
||||||
------------------------------
|
|
||||||
- **Type**: boolean
|
|
||||||
- **Description**: This parameter facilitates the inclusion of element data directly within the payload, especially for web-based applications or APIs.
|
|
||||||
- **Example**: true
|
|
Loading…
x
Reference in New Issue
Block a user