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:
Christine Straub 2024-02-23 20:36:58 -08:00 committed by GitHub
parent e8ec09c8b9
commit 5cb6504d5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,9 +106,3 @@ extract_image_block_types
- **Type**: array
- **Description**: The types of image blocks to extract from the document. Supports various Element types.
- **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