Closed christinestraub closed 9 months ago
Closes #306.
extract_image_block_types
extract_image_block_to_payload
unstructured
$ pip uninstall unstructured $ git clone https://github.com/Unstructured-IO/unstructured.git & cd unstructured $ pip install -e . $ make run-web-app
curl -X 'POST' \ 'http://localhost:8000/general/v0/general' \ -H 'accept: application/json' \ -H 'Content-Type: multipart/form-data' \ -F 'files=@sample-docs/embedded-images-tables.pdf' \ -F 'strategy=hi_res' \ -F 'extract_image_block_types=["Image", "Table"]' \ | jq -C . | less -R
curl -X 'POST' \ 'http://localhost:8000/general/v0/general' \ -H 'accept: application/json' \ -H 'Content-Type: multipart/form-data' \ -F 'files=@sample-docs/embedded-images-tables.jpg' \ -F 'strategy=hi_res' \ -F 'extract_image_block_types=["Image", "Table"]' \ | jq -C . | less -R
Oh, actually, can you add the param to openapi.json as well? That will add it to the sdks when it gets merged.
Closes #306.
Summary
extract_image_block_types
param through apiextract_image_block_to_payload
param tounstructured
libraryTesting